> 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?
badness Lemme guess. The pipe to the while actually creates a child process, and a child process can't affect the parent's environ array. Am I close? :D ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************