> it is only:     michelle1:/# myscript -parameter /path/filename
> A small example will be nice. 

#!/bin/bash

if [ $# -eq 0 ]
then
    echo You gave me no parameters
elif [ $# -eq 1 ]
then
    echo You gave me one parameter, which is \"$1\"
else
    echo You gave me $# parameters which are \"$*\"
fi

                                Jeff




_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to