This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin setup on XP/Vista (UNIX/DOS compatibilty question)
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com, srichman69 at hotmail dot com
- Date: Fri, 21 Sep 2007 18:23:21 -0600
- Subject: Re: Cygwin setup on XP/Vista (UNIX/DOS compatibilty question)
- References: <BAY107-W10CF8DAFB3960A14C0012AC1BB0@phx.gbl>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Steve Richmond on 9/21/2007 5:40 PM:
> On PC2 and PC3, I have an up-to-date version of Cygwin and bash
> (3.2.5(7) i686-pc-cygwin).
That's not up-to-date. The latest is 3.2.25(16).
>
> However it behaves differently. After I install it using UNIX, bash scripts
> fail with '\r' errors, meaning it can't find the CR. So after I re-installed
> to be DOS compatible for CR/LF, the bash scripts execute successfully, but
> the resulting .CSV file has a '^M' added to each line. Subsequent
> manipulation with paste (as an example) fail because of the extra '^M'.
In your case, I'd recommend using a binary mount, and bash's igncr option.
Oh, and reread the announcements:
http://cygwin.com/ml/cygwin-announce/2007-08/msg00014.html
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG9GB484KuGfSFAYARAipaAKCaVZXwdUC6FRvQ2aDvPg012HqxZACfaCmU
w3/BpJJJkAFU1Rm5PnHXBp8=
=+40Z
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/