>it has a subtle scoping gotcha that drove me nuts the
>first time I tripped over it - anybody know what I'm
>referring to?

No?  Then how about this?

   result=badness    # init with failure default
   spewSomeKindOfOutput | while read input
   do
       result=goodness
   done
   echo $result

What is the output?


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to