Possible Duplicate:
How do I handle switches in a shell script?
I know how to deal with simple arguments $1-$9 but I don't know how to code it with such as -la
, for example ls -la
. Could you show me example?
Possible Duplicate:
How do I handle switches in a shell script?
I know how to deal with simple arguments $1-$9 but I don't know how to code it with such as -la
, for example ls -la
. Could you show me example?