Subject: Re: bin/704: getopt and getopts are confusingly documented
To: None <jhawk@panix.com>
From: J.T. Conklin <jtc@NetBSD.ORG>
List: netbsd-bugs
Date: 01/06/1995 00:29:52
	`J.T. Conklin' changed the state to `analyzed'.


State-Changed-From-To: open-analyzed
State-Changed-By: jtc
State-Changed-When: Fri Jan  6 00:22:37 1995
State-Changed-Why:
The patch to the shell manpage, or something like it, is needed.
Since it is possible that we'll be switching to another shell, a
standalone getopts manpage may be preferable.

It looks like the added text was taken from POSIX.2 with little
modification.  It will have to be changed or we'll have to get
permission from IEEE to use it.

The patch to getopt.c is incorrect.  Getopt is documented to insert a
"--" between the flags and rest of the arguments.  When neither are
present, getopt will still output the "--" delimiter.