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/

Reply via email to