delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/28/16:54:18

X-Spam-Check-By: sourceware.org
Message-ID: <45BD1B76.4000908@byu.net>
Date: Sun, 28 Jan 2007 14:53:58 -0700
From: Eric Blake <ebb9 AT byu DOT net>
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
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bug with built-in commands in bash when redirecting output
References: <45BD02B4 DOT 6090907 AT huarp DOT harvard DOT edu>
In-Reply-To: <45BD02B4.6090907@huarp.harvard.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019