-----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 should probably first be discussed on cygwin<at>cygwin<dot>com. Furthermore, it works just fine for me (I don't think there is a bug, either in the cygwin distribution or upstream in this list), it is probably a question of whether your files live on a text mount, and whether they already had ^M's to begin with. emacs has the nice habit of suppressing ^M if EVERY line of the file has it (DOS mode), but when only some lines have it (those lines from file2 and file3, but not the lines from file1), you are in mixed mode and emacs reversts to unix display. Also, commands such as d2u are your friend when working with mixed line ending machines. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCjIeM84KuGfSFAYARAqx2AJ4inZePYVIpSBu73KoM9URk/P3T4ACggogQ 6LD9dh+uA8+4jv3mXzWKyA8= =VI57 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils