d

getopts required argument

getopts required argument

Pocket

Hi, Does the order of argument and non-argument command line parameters matter to getopts? That's the standard convention — some GNU utilities accept options after arguments, but the normal thing is that in somecommand foo -bar qux , -bar is not parsed as an option. with a getopts line in my script of getopts p:cs opt a command line of