Article View: gnu.misc.discuss
Article #72972Re: Who wants long options anyway? (Re: Poll: syntax of long options)
From: Andrew Fitzgibbon
Date: Mon, 11 Nov 1991 12:43
Date: Mon, 11 Nov 1991 12:43
26 lines
1907 bytes
1907 bytes
In article <1991Nov6.163614.942@nntp.uoregon.edu> haertel@euclid.uoregon.edu writes: I don't think long options are of any use themselves, but I occasionally find it helpful that getopt has long names compiled in with the short names, Brian Fox would probably tell you that the long options will be useful someday for shell completion of program options. I doubt whether I'll ever type a long option name though... If you mean `type a long option name to an interactive shell', I would agree. It would make me feel silly. However, the one place where I adore long options is in shell scripts -- It's a way of self commenting a script, where one often uses unfamiliar commands. Long options give all the same programming advantages as meaningful function names (you know, all that 1st year CS stuff :) Just my 1.5p. -- -- Andrew Fitzgibbon, Department of Artificial Intelligence, Edinburgh University. andrewfg@uk.ac.ed.aisb
Technical Details
Message-ID:
<ANDREWFG.91Nov11124344@coral.dai.ed.ac.uk>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!wupost!uunet!mcsun!uknet!edcastle!aifh!helium!andrewfgReferences:
<1991Oct29.142256.5232@ux1.cso.uiuc.edu> <ABRAHAM.91Oct29173322@freja.iesd.auc.dk> <DAMIAN.CUGLEY.91Nov4142743@pierrot.prg.ox.ac.uk> <1991Nov6.163614.942@nntp.uoregon.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,5071a1d1ccc07109 X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-11-11 09:32:43 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!wupost!uunet!mcsun!uknet!edcastle!aifh!helium!andrewfg From: andrewfg@coral.dai.ed.ac.uk (Andrew Fitzgibbon) Newsgroups: gnu.misc.discuss Subject: Re: Who wants long options anyway? (Re: Poll: syntax of long options) Message-ID: <ANDREWFG.91Nov11124344@coral.dai.ed.ac.uk> Date: 11 Nov 91 12:43:44 GMT References: <1991Oct29.142256.5232@ux1.cso.uiuc.edu> <ABRAHAM.91Oct29173322@freja.iesd.auc.dk> <DAMIAN.CUGLEY.91Nov4142743@pierrot.prg.ox.ac.uk> <1991Nov6.163614.942@nntp.uoregon.edu> Sender: news@aifh.ed.ac.uk (Network News Administrator) Organization: Edinburgh University Robotics/Vision Group Lines: 26 In-Reply-To: haertel@euclid.uoregon.edu's message of 6 Nov 91 16:36:14 GMT