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

Howard Mak hmak@vaultus.com
Mon Oct 23 17:01:00 GMT 2006


Apparently, the attachment in my previous email got dropped.  Here it is again.

- Howard

On Mon, 23 Oct 2006 12:29:31 -0400, Howard Mak wrote:

> 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cr_test.sh.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061023/619d814a/attachment.txt>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list