Date: Thu, 1 Jan 1998 22:54:47 -0500 (EST) From: "David E. Cross" <dec@phoenix.its.rpi.edu> To: Niall Smart <rotel@indigo.ie> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: getopt(3) and numeric arguments Message-ID: <Pine.BSF.3.96.980101225257.21879A-100000@phoenix.its.rpi.edu> In-Reply-To: <19980101231313.1118.qmail@ginseng.indigo.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Jan 1998, Niall Smart wrote: > Hi, > > The getopt(3) man page says: > > It is also possible to handle digits as option letters. This allows > getopt() to be used with programs that expect a number (``-3'') as an op- > tion. This practice is wrong, and should not be used in any current de- > velopment. It is provided for backward compatibility only. > > Is this correct? Whats so bad about it? Mostly for sake of clarity... is -3 'negative 3' or 'option 3'. I still get confused with nice... is 'nice -20' going oto run at nice level 20, or nice level -20? -- David Cross ACS Consultant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980101225257.21879A-100000>