-----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             [EMAIL PROTECTED]
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-----


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to