That idiom (just mentioned here) where you do something like
spewSomeKindOfOutput | while read input
do
somethingWith $input
done
...does indeed work and I use it all the time, but
it has a subtle scoping gotcha that drove me nuts the
first time I tripped over it - anybody know what I'm
referring to?
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************
- Re: Another (simpler) bash scripting question... Bob Bell
- Re: Another (simpler) bash scripting question..... pll
- Re: Another (simpler) bash scripting questi... Bob Bell
- Re: Another (simpler) bash scripting questi... Benjamin Scott
- Re: Another (simpler) bash scripting qu... Jerry Feldman
- Re: Another (simpler) bash scripting qu... Derek D. Martin
- Re: Another (simpler) bash scripting qu... pll
- RE: Another (simpler) bash scripting question... Mansur, Warren
- Re: Another (simpler) bash scripting question... John Abreau
- RE: Another (simpler) bash scripting question... Jerry Feldman
- Re: Another (simpler) bash scripting question... Michael O'Donnell
- Re: Another (simpler) bash scripting question..... Michael O'Donnell
- Re: Another (simpler) bash scripting questi... Kevin D. Clark
- Re: Another (simpler) bash scripting qu... Derek D. Martin
- Re: Another (simpler) bash scripti... Steven W. Orr
- Re: Another (simpler) bash scr... Michael O'Donnell
- Re: Another (simpler) bash scr... Benjamin Scott
- Re: Another (simpler) bash scr... Michael O'Donnell
- Re: Another (simpler) bash scr... Benjamin Scott
- Re: Another (simpler) bash scr... Michael O'Donnell
- Re: Another (simpler) bash scr... Benjamin Scott
