Varibles not working in do loop...

Larry Hall (Cygwin)
Mon Apr 2 20:05:00 GMT 2007

Kevin Markle wrote:
> Hello,
> I'm running this script and line 19 works when I create the variablea 
> and type the command at a shell prompt. But when I try to run it from 
> within the for loop it does not return a value and hangs?

A doctored up version (to fill in things you left out and make it consistent
with my system) works fine.  I found the "hang" too but only if "$LOG" ==
"".  In these cases, the "hang" is 'cat' waiting for input from the command

Larry Hall                    
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:
Problem reports:

More information about the Cygwin mailing list