parsopt.The parsopt utility is used to quickly and easily accept and validate options and arguments in shell procedures. It's much more powerful and intuitive compared to getopt[s] as it handles short and long options, arguments, automatic help generation. etc.