August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/lib/getoptcvt [-b] filename
/usr/lib/getoptcvt Use /usr/lib/getoptcvt to convert getopt output to use getopts instead. getoptcvt reads the shell script in filename , converts it to use getopts instead of getopt, and writes the results on the standard output.
getopts is a built-in Bourne shell command that parses positional parameters and checks for valid options. See sh(1). getopts supports all applicable rules of the command syntax standard (see Rules 3-10, intro(1)). You should use getopts instead of the getopt command. The syntax for the shell's built-in getopts command is
getopts optstring name [argument...]
Read now
Unlock full access