Date: Sat, 12 Aug 1995 19:15:40 -0500 From: Peter da Silva <peter@bonkers.taronga.com> To: rgrimes@gndrsh.aac.dev.com Cc: hackers@freebsd.org Subject: Re: Kernel configuration/compilation tool Message-ID: <199508130015.TAA09678@bonkers.taronga.com> In-Reply-To: <199508010417.VAA04479@gndrsh.aac.dev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199508010417.VAA04479@gndrsh.aac.dev.com>, Rodney W. Grimes <rgrimes@gndrsh.aac.dev.com> wrote: >getopts helped, but it is just too primative, offers no data type checking, >causes _tons_ of duplicated code, etc. "Parseargs" by Eric Allman, and modified by myself and Brad Appleton of Harris, does an excellent job. It also lets you write commands that use unix-style options for UNIX systems, dos style options for DOS systems, amiga style options (which are like DD's) for Amiga systems, and VMS style options for VMS systems, depending on which version of the library you link with. It also generates usage messages at three levels of verbosity. Anyone want to see the code?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508130015.TAA09678>