use of getopt command

Hi All,

Could anyone tell me how to use getopt command.....?

Thanks,
Pintu

man getopt?

getopt() can be used to set some parameter option for our shell script, like we having many options for the unix commands. once you set it will be handled by unix shell itself. apart from that if any options given will be rejected. better to go thru the man getopt.