argument parsing...

Hi all,

Iam a beginer in shell scripting.

i need a script that can parse the arguments and store them in variables.

ex: ./myScript -v v1 -h v2 -c v3......

can someone suggest me...?

tnx in adv.

You will want to use "getopts".