On Thu, Mar 11, 2004 at 05:57:18PM +0200, Birzan George Cristian wrote:
> 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
if 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)

iD8DBQFAUI6JaqNK6cml/6cRAtMGAJ0ciBQQr38h7elG7Rw13k/BjHvlqwCgiIEV
SGhRyo0DVMiNS+R46+6k7f0=
=NbvC
-----END PGP SIGNATURE-----



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


Raspunde prin e-mail lui