This is the mail archive of the
mailing list for the Cygwin project.
Re: bug with built-in commands in bash when redirecting output
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 28 Jan 2007 14:53:58 -0700
- Subject: Re: bug with built-in commands in bash when redirecting output
- References: <45BD02B4.firstname.lastname@example.org>
-----BEGIN PGP SIGNED MESSAGE-----
According to Norton Allen on 1/28/2007 1:08 PM:
> I'm wondering if the problem I am seeing is from the same source. I find
> that 'apachectl stop' no longer works since a recent cygwin update. I
> can see that the PIDFILE is being written with a \r\n line ending.
> 'apachectl stop' then reads the file with
> PID=`cat $PIDFILE`
cat is not a bash builtin, so no this is not the same problem. Are you
running a script with CRLF line endings on a binary mount? If so, read
the announcment, and use d2u on your script.
Don't work too hard, make some time for fun as well!
Eric Blake email@example.com
-----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
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html