On Mon, Apr 22, 2002 at 05:15:00PM -0400, Mansur, Warren <[EMAIL PROTECTED]>
wrote:
> > 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
Hrm.... "badness" in bash, pdksh, and Tru64's "SVR4" /bin/sh.
"goodness" in Tru64's "POSIX.2/XCU5.0" /bin/posix/sh, Tru64's ksh, and
zsh.
...that can't be good...
--
Bob Bell Compaq Computer Corporation
Software Engineer 110 Spit Brook Rd - ZKO3-3/U14
TruCluster Group Nashua, NH 03062-2698
[EMAIL PROTECTED] 603-884-0595
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************