bug in cat 5.3.0 (cygwin) on XP SP2

2005-05-19 Thread Tristan Savatier
when 'cat' is passed several text files as parameters, it will add the invisible control character '^M' at the end of each lines of each file except the first file. e.g.: $ cat file1.txt file2.txt file3.txt fileout.txt in fileout.txt, all the lines from file2.txt and file3.txt now have a

Re: bug in cat 5.3.0 (cygwin) on XP SP2

2005-05-19 Thread Tristan Savatier
- From: Tristan Savatier [EMAIL PROTECTED] To: bug-textutils@gnu.org Sent: Wednesday, May 18, 2005 3:39 PM Subject: bug in cat 5.3.0 (cygwin) on XP SP2 when 'cat' is passed several text files as parameters, it will add the invisible control character '^M' at the end of each lines of each

Re: bug in cat 5.3.0 (cygwin) on XP SP2

2005-05-19 Thread James Youngman
On Wed, May 18, 2005 at 04:05:54PM -0700, Tristan Savatier wrote: apparently this bug is triggered as soon as one of the text files contains a spurious ^M character at its end, after the last \n. emacs does not show the ^M in this case, but it seems to change the behavior of cat on windows.

Re: bug in cat 5.3.0 (cygwin) on XP SP2

2005-05-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tristan Savatier on 5/18/2005 4:39 PM: when 'cat' is passed several text files as parameters, it will add the invisible control character '^M' at the end of each lines of each file except the first file. Cygwin line-ending problems

Re: bug in cat 5.3.0 (cygwin) on XP SP2

2005-05-19 Thread Tristan Savatier
] Cc: bug-coreutils@gnu.org Sent: Thursday, May 19, 2005 5:33 AM Subject: Re: bug in cat 5.3.0 (cygwin) on XP SP2 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tristan Savatier on 5/18/2005 4:39 PM: when 'cat' is passed several text files as parameters, it will add the invisible control