Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

simple question on conditional expression



Hi,

When I try

ANS='ABC'
if ( echo $ANS | grep B ); then echo OK;fi

it echoes $ANS.
How can I disable this?

Many thanks for a hint,
Helmt




Messages sorted by: Reverse Date, Date, Thread, Author