2
getopts: usage: getopts optstring name [arg]
2
-./getopts.tests: getopts: illegal option: -a
+./getopts.tests: line 10: getopts: -a: invalid option
getopts: usage: getopts optstring name [arg]
-a specified
-b bval specified
-a specified
remaining args:
0
-./getopts7.sub: getopts: `opt-var': not a valid identifier
+./getopts7.sub: line 4: getopts: `opt-var': not a valid identifier
remaining args: