I have a script myscript.sh
#!/bin/sh
echo $1 $2
which is used something like ...
./myscript.sh foo bar
which gives me an output of ...
foo bar
but how can i make this script include custom command options? for example ...
./myscript.sh -a foo and corespond to $1
and
./myscript.sh -b bar and corespond to $2