> under sh and ksh the following code echos 1
>
> fred() { A=1; } ; unset A ; echo hello | fred ; echo $A
>
> this does not work in bash.
Read the Bash FAQ, question E4.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/