This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bug bash-3.1.17(9) : CR problems when using cat to generate cmd line arguments


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.

I've attached a test script illustrating the problem.

Comments:

-	The problem does not seem to appear in older version of bash (ver 3.1.17(6))

-	I tried using different settings for the shell option igncr, but it didn't seem to help

Thanks in advance for any help.

- Howard

Attachment: cr_test.sh
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]