[KLUG Members] Huh
Peter Buxton
members@kalamazoolinux.org
Sun, 4 Aug 2002 16:08:17 -0400
--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
How long did I sit there scratching my head wondering how to make
if $COMMAND | logger
then
this
else
that
fi
use the return status of the first command before I realized that=20
if $COMMAND
then
this
else
that
fi | logger
Was all I needed to do?? Sheesh.
--=20
http://killdevil.ath.cx/~peter (/gpg.html)
[The Basement Tapes were] like the Watergate tapes... Bob
would say, 'We should destroy this.' -- Robbie Robertson
--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9TYmxaAK8ZwqLoskRAtjlAJ9VFTYmsXavviUk9wERhwTg/rqzoACgjTcr
uSDBf/fTh12lNxbHPaJP21E=
=mBgx
-----END PGP SIGNATURE-----
--+QahgC5+KEYLbs62--