On Feb 6, 2004, at 2:50 PM, r.o.s.s wrote:
This is a true case where a custom implementation is called for. Unlike 99.?% of the arg-parsing programs, this one does special non-posix stuff that isn't fully specified even in our getopt. Rather than asking the library to work anyway, in this case I would argue that the proper and standard-conforming approach is to custom-code this one exceptional case.
I agree with Ross, here. Note that our make(1) isn't the only program that needs to parse the arguments specially... check out GCC's argument parsing code sometime.
-- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>
Attachment:
PGP.sig
Description: This is a digitally signed message part