bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quotes problem ?


From: Eric Blake
Subject: Re: Quotes problem ?
Date: Wed, 10 Jan 2007 05:58:07 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Markos on 1/10/2007 5:49 AM:
> Hello , 
> I'm having problems with the script I send below.
> 
> ...
> + sed -n '$line_number"p"' /tmp/results
> /tmp/logo_changer.sh: : No such file or directory
> + cd
> + pwd
> + ls -go logo_1.gif
> logo_1.gif: No such file or directory

You failed to mention your platform.  However, my guess would be that you
are on cygwin, and that your script has CRLF line endings even though you
told cygwin to respect CR as a literal character rather than ignoring it
(because you used a binary instead of a text mount).  The output messages
resemble a rash of similar messages reported to the cygwin list for the
same root cause.  If my ESP is strong enough to have correctly diagnosed
your problem, then the fix is simple - remove the CR from your script by
running d2u on it.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
volunteer bash port maintainer for cygwin
-----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

iD8DBQFFpOLe84KuGfSFAYARAnRoAKCL9G2+OB3f0WTUTsclijk3nq8QHgCgtGsb
wREx7tNwrcT5t7eQAXxNY6k=
=4/zK
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]