bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diff3 under windows does not work for files which contain brackets


From: Alexander Sokolov
Subject: diff3 under windows does not work for files which contain brackets
Date: Mon, 07 Dec 2009 21:50:04 +0300
User-agent: Thunderbird 2.0.0.23 (X11/20091009)

Hello,

diff3.exe utility fails comparing files which names contain bracket,
like "1(test).txt"

Example:

files to be compared directory
=========================================================

 Directory of C:\usr\1

07.12.2009  21:42    <DIR>          .
07.12.2009  21:42    <DIR>          ..
07.12.2009  21:06                26 1(s).txt
07.12.2009  21:05                19 2.txt
07.12.2009  21:05                27 3.txt
               3 File(s)             72 bytes


diff utils bin directory
=========================================================

 Directory of c:\usr\2\bin

07.12.2009  21:23    <DIR>          .
07.12.2009  21:23    <DIR>          ..
24.05.2004  15:46            57344 cmp.exe
24.05.2004  15:46           150528 diff.exe
24.05.2004  15:46            59392 diff3.exe
16.03.2004  23:37           898048 libiconv2.dll
24.02.2004  23:51            92672 libintl3.dll
24.05.2004  15:46            61952 sdiff.exe

=========================================================

C:\usr\1>c:\usr\2\bin\diff3.exe --version
diff3 (GNU diffutils) 2.8.7
Written by Randy Smith.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

=========================================================

C:\usr\1>c:\usr\2\bin\diff3.exe 2.txt 3.txt "1(s).txt"
c:\usr\2/bin/diff.exe: '1(s).txt': No such file or directory
c:\usr\2\bin\diff3.exe: subsidiary program `c:\usr\2/bin/diff.exe'
failed (exit
status 2)

=========================================================

Notes:
        diff.exe works with such files.
        Linux version works with such files.
        Old 2.7 (from unxutils) diff3.exe works with such files.


Thanks,
Alexander






reply via email to

[Prev in Thread] Current Thread [Next in Thread]