Moin,

* Philipp Meier wrote (2004-10-06 10:41):
>echo "$1" | grep -qe'^[0-9]+' || (
>       echo "Invalid parameter: $1" 1>2
>       exit 1
>)

Da fehlt noch:
    cat 2


Thorsten
-- 
Getting a thrill out of some stupid quote is a sign of idiocy.
    - turmeric

Attachment: pgp62Qr1HTrfg.pgp
Description: PGP signature

Antwort per Email an