This is the mail archive of the
mailing list for the Cygwin project.
Re: bug bash-3.1.17(9) : CR problems when using cat to generate cmd line arguments
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Oct 2006 20:42:19 -0600
- Subject: Re: bug bash-3.1.17(9) : CR problems when using cat to generate cmd line arguments
- References: <op.thvurhc7lokn5a@slate> <op.thvu13cslokn5a@slate>
-----BEGIN PGP SIGNED MESSAGE-----
According to Howard Mak on 10/23/2006 10:35 AM:
>> I can't seem to get the latest version of bash to work with the command
>> PROGRAM `cat file_containing_arguments.txt`
>> when the file is created on a textmode mount. Seems like carriage returns are not processed correctly.
Actually, they are being processed exactly as they would be on Linux.
>> - I tried using different settings for the shell option igncr, but it didn't seem to help
igncr only ignores \r in the input file, not in `` or $() command
substitution. But IFS will cover that. Hmm, maybe I should take a closer
look at command substitution to see if I can make igncr affect that as
well. I'll try and get that in bash-3.2-4.
Life is short - so eat dessert first!
Eric Blake email@example.com
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v22.214.171.124 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html