Can't set variables in a while loop that is passed to the rest of the script.
Eric Blake
ebb9@byu.net
Fri Jan 15 06:54:00 GMT 2010
According to Damo, David on 1/14/2010 3:39 PM:
> Hi,
>
> I had a script that worked on UNIX, but on Cygwin it does not work. When I set a variable in a while loop I can't use it after the loop. However, this worked in UNIX. Any ideas why?
Yes. ksh vs. bash. http://tiswww.case.edu/php/chet/bash/FAQ, E4. Not
cygwin-specific.
--
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 320 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100115/f2da074a/attachment.sig>
More information about the Cygwin
mailing list