Quote:
Originally Posted by madhunk
But Microsoft services for UNIX is for integrating Windows into their existing UNIX-based environments..right?
|
Not sure what you mean, but it's a relatively complete environment built on top of NT's
POSIX subsystem. I use ver 3.5 on both XP and 2K.
Code:
getopt(1) getopt(1)
getopt
NAME
getopt - parse utility options
SYNOPSIS
set -- 'getopt optstring $*'
DESCRIPTION
The getopt(1) utility (not to be confused with the getopts(1) command)
separates options in command lines so they can be parsed and validated by
shell procedures. The opstring argument is a string of recognized option
letters. If a letter is followed by a colon, the option is expected to
have an argument which may or may not be separated from the option by
blank space. The special option "--" delimits the end of the options. The
getopt(1) utility places "--" in the arguments at the end of the options,
or it will recognize "--" if it is explicitly used. The shell arguments
$1, $2, and so on, are reset so that each option is preceded by a "-" and
in its own shell argument; each option argument is also in its own shell
argument.
DIAGNOSTICS
The getopt(1) utility prints an error message on standard error if it
encounters an option letter not specified in the opstring argument.
SEE ALSO
getopts(1)
getopt(3)