1.5.25-6: Win32 programs don't get correct >> redirection

2007-12-13 Thread Jack Brennen
Running Cygwin version 1.5.25-6 with version 3.2.25-17 of bash with Win XP Pro... Start up bash. Enter these commands in order: sh-3.2$ echo ABCDEFGHIJKLMNOPQRST > foo.txt sh-3.2$ echo UVWXYZ >> foo.txt sh-3.2$ cat foo.txt ABCDEFGHIJKLMNOPQRST UVWXYZ sh-3.2$ echo ABCDEFGHIJKLMNOPQRST > foo.t

Re: 1.5.25-6: Win32 programs don't get correct >> redirection

2007-12-13 Thread René Berber
Jack Brennen wrote: > Running Cygwin version 1.5.25-6 with version 3.2.25-17 of bash with Win > XP Pro... > > Start up bash. > > Enter these commands in order: > > sh-3.2$ echo ABCDEFGHIJKLMNOPQRST > foo.txt > sh-3.2$ echo UVWXYZ >> foo.txt > sh-3.2$ cat foo.txt > ABCDEFGHIJKLMNOPQRST > UVWXYZ

Re: 1.5.25-6: Win32 programs don't get correct >> redirection

2007-12-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jack Brennen on 12/13/2007 6:34 PM: > sh-3.2$ echo ABCDEFGHIJKLMNOPQRST > foo.txt > sh-3.2$ cmd /c echo UVWXYZ >> foo.txt > sh-3.2$ cat foo.txt > UVWXYZ > IJKLMNOPQRST This issue was discussed on the lists in May: http://thread.gmane.org

Re: 1.5.25-6: Win32 programs don't get correct >> redirection

2007-12-13 Thread Erich Dollansky
Hi, René Berber wrote: Jack Brennen wrote: What you don't see is that Windows' echo added a CR so you get to see the second line followed by CR-LF and the rest of the (overwritten) first line. the CR will be added after the appended characters and so not interfere with the example's data.

Re: 1.5.25-6: Win32 programs don't get correct >> redirection

2007-12-14 Thread Corinna Vinschen
On Dec 13 19:36, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Jack Brennen on 12/13/2007 6:34 PM: > > sh-3.2$ echo ABCDEFGHIJKLMNOPQRST > foo.txt > > sh-3.2$ cmd /c echo UVWXYZ >> foo.txt > > sh-3.2$ cat foo.txt > > UVWXYZ > > IJKLMNOPQRST > > This issue wa

Re: 1.5.25-6: Win32 programs don't get correct >> redirection

2007-12-14 Thread Corinna Vinschen
On Dec 14 11:50, Corinna Vinschen wrote: > On Dec 13 19:36, Eric Blake wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > According to Jack Brennen on 12/13/2007 6:34 PM: > > > sh-3.2$ echo ABCDEFGHIJKLMNOPQRST > foo.txt > > > sh-3.2$ cmd /c echo UVWXYZ >> foo.txt > > > sh-3.2$ c