begin  quoting John Oliver as of Thu, Jun 08, 2006 at 08:49:29AM -0700:
> I want to grep for a given value, and if that value is found do X, and
> if it isn't found, do Y.  How do I do that?

Test $status if in csh-land, and $? if in bourne-shell land.

-- 
_ |\_
 \|


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to