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]

Re: bug with built-in commands in bash when redirecting output


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

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.
http://cygwin.com/ml/cygwin-announce/2007-01/msg00015.html

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

Eric Blake             ebb9@byu.net
-----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

iD8DBQFFvRt284KuGfSFAYARAvz6AJ937snLxprZ/UcUgeZGaXCD/qCyKQCfZMSc
5BhzBQ09TQuG073nlC011yg=
=wV0S
-----END PGP SIGNATURE-----

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