delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <45BEC1C2.8050107@byu.net> |
Date: | Mon, 29 Jan 2007 20:55:46 -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: | Norton Allen <allen AT huarp DOT harvard DOT edu> |
CC: | cygwin list <cygwin AT cygwin DOT com> |
Subject: | Re: bug with cat and backticks? (was: bug with built-in ...) |
References: | <45BEB4C5 DOT 8030508 AT huarp DOT harvard DOT edu> |
In-Reply-To: | <45BEB4C5.8030508@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/29/2007 8:00 PM: >>> >>> PID=`cat $PIDFILE` >> >> No, this is a text mount: That's the answer. You are creating PIDFILE with \r\n line endings, but cat always reads in binary mode. Try PID=`cat $PIDFILE | d2u` instead. Or try using the igncr shell option. - -- 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 iD8DBQFFvsHC84KuGfSFAYARAthSAJ4ueC7VGD3iZR33FVoVcb7YqYr05QCgrIGA 5nGWqQDb23jeRsrPO/12mT8= =cund -----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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |