Varibles not working in do loop...
Larry Hall (Cygwin)
Mon Apr 2 20:05:00 GMT 2007
Kevin Markle wrote:
> 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 http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
> 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
More information about the Cygwin