On Thu, Sep 13, 2018 at 10:13 AM Igor Forca <[email protected]> wrote:
>
> 1. QUESTION
> copy c:\aaa\a.txt C:\Users\igor\AppData\Local\Temp\file1.txt
> copy c:\aaa\b.txt C:\Users\igor\AppData\Local\Temp\file2.txt
>
>
> C:\cygwin\bin>diff -a --binary C:\Users\igor\AppData\Local\Temp\file1.txt 
> diff -a --binary C:\Users\igor\AppData\Local\Temp\file2.txt 2>&1
> diff: extra operand `C:\Users\igor\AppData\Local\Temp\file2.txt'
> diff: Try `diff --help' for more information.
>
> C:\Programs\Vim\vim81>diff -a --binary 
> C:\Users\igor\AppData\Local\Temp\file1.txt diff -a --binary 
> C:\Users\igor\AppData\Local\Temp\file2.txt 2>&1
> diff: extra operand
> diff: Try `diff --help' for more information.
>
> C:\Programs\Vim\vim81>diff -a --binary 
> C:\Users\igor\AppData\Local\Temp\file1.txt
> diff: missing operand
> diff: Try `diff --help' for more information.
>
>
> Should this be one or two commands? I tired both and getting error.
[...]

Try

diff -a --binary C:\Users\igor\AppData\Local\Temp\file1.txt
C:\Users\igor\AppData\Local\Temp\file2.txt >..\difftest.log 2>&1

then look at the contents of both difftest.log files (one in
c:\cygwin\ and one in C:\Programs\Vim\)

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui