Tuesday, December 22, 2009

Re: Is there a tool that can compute how many keystrokes are need to modify a file to another?

On 12/23/2009 12:23 AM, Peng Yu wrote:
> I'm wondering if there is a tool that can roughly estimate how many
> keystrokes (in vim) are needed to modify a file to another.
>
>

Well, with diff and wc, depending on what you call "roughly" and
depending on the text editor, you may obtain a satisfying result...

What about

diff <file1> <file2> | wc --chars

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: