Re: non-POSIX getopt() (Re: Updating FreeBSD port)

2006-09-21 Thread Paul Eggert
Mikhail Teterin <[EMAIL PROTECTED]> writes: > I wonder, how GNU's getopt implementation, where flags' arguments can be > optional, deals with the cases of such an option followed by something, that > begins with a dash itself: > > m4 -d -X It's the same way that (for example) 'pr -e' work

Re: non-POSIX getopt() (Re: Updating FreeBSD port)

2006-09-21 Thread Eric Blake-1
> = > Finally, does m4 actually use/document the short-options usage, that's > = > affected by the POSIX vs. GNU differences in getopt()? > = > = Yes, the info documentation for m4's -d discusses the ramifications of > its > = argument being optional (and if that text is not clear enough for you,

non-POSIX getopt() (Re: Updating FreeBSD port)

2006-09-21 Thread Mikhail Teterin
On Thursday 21 September 2006 09:36, Eric Blake wrote: = > Finally, does m4 actually use/document the short-options usage, that's = > affected by the POSIX vs. GNU differences in getopt()? = = Yes, the info documentation for m4's -d discusses the ramifications of its = argument being optional (and