delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46116C70.8030508@cygwin.com> |
Date: | Mon, 02 Apr 2007 16:49:52 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Varibles not working in do loop... |
References: | <mn DOT 13aa7d74a3db2d48 DOT 51129 AT pbs DOT org> <46116207 DOT 8060009 AT cygwin DOT com> <mn DOT 13cd7d74d8141649 DOT 51129 AT pbs DOT org> <5abc24640704021326p2bfbcc0che61f4aec02964ec1 AT mail DOT gmail DOT com> |
In-Reply-To: | <5abc24640704021326p2bfbcc0che61f4aec02964ec1@mail.gmail.com> |
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 |
Andrew Louie wrote: > On 4/2/07, Kevin Markle wrote: >> Larry Hall (Cygwin) expressed precisely : >> > Kevin Markle wrote: > >> What does this mean please and or would you send me your copy that >> works fine? >> "$LOG" == > "". In these cases, the "hang" is 'cat' waiting for input >> from the command >> > line. > > I think he means that in the line: > >> UPDATES_NEEDED=`cat $LOG | grep "updates detected" | tail -1` > > cat $LOG... will hang if $LOG == "" because "cat" is waiting for input. > Precisely. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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 |