[WBEL-users] script bash and options
jean.lee at free.fr
Wed May 25 10:14:05 CDT 2005
I would like to had an option when I launch my script in bash (like :
backup.sh -c -h -j --usersdenied="kl")
I know that an argument can be passed to a command line ($1, $2,....)
but I don't know how to write the script properly to :
- write the options in a different order (for example : backup.sh -j -h
- write the options like this : -jhc
- options may not be wrotten too.
Or perhaps that I made a mistake and options are not arguments (like
with : ls -l)
Does anybody knows ?
Thank you for your answer,
More information about the Whitebox-users