On Thu, Mar 11, 2004 at 05:42:39PM +0200, Alex 'CAVE' Cernat wrote:
> ---------------------
> a=`lsraid bla bla bla 2>&1 | fgrep missing | wc -l`
> if [ $a -lt 0 ]; then
>       echo -e '\a' # sau mpg123 bla bla bla
> fi
> ---------------------
if test lsraid bla bla bla 2>&1 | grep -q missing; then
    beep
else
    lynx http://ftp.lug.ro/LDP/LDP/abs/html/index.html
fi

-- 
Birzan George Cristian, always on call self-righteous bastard.

-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAUIxeaqNK6cml/6cRAmgHAKCOguMk9rB+ffbUVR6clWot77GkMwCfV6zg
A8CtTyE+9a6HVVwqGj1Wuj0=
=o2Gy
-----END PGP SIGNATURE-----



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui