Article View: gnu.misc.discuss
Article #73043Re: Who wants long options anyway? (Re: Poll: syntax of long options)
From: goon
Date: Fri, 08 Nov 1991 15:39
Date: Fri, 08 Nov 1991 15:39
28 lines
2127 bytes
2127 bytes
In article <1991Nov7.193122.23496@nuchat.sccsi.com> orion@nuchat.sccsi.com (Roland Dunkerley) writes: mike haertel writes > >Brian Fox would probably tell you that the long options will be useful >someday for shell completion of program options. This would be nice from a use standpoint, but would be inelegant if it --------- were built in to the shell at compile time. Maybe this is in fact the wrong newsgroup for this point in particular, but I've just had an idea in this area. Maybe programs could either come with an auxilliary file or have a string compiled in (kind of like the SCCS strings for what) that would specify option syntax for the shell to use in doing completion. Which would be better? I can think of points in favor of either approach. Having a seperate file would be more efficient in some cases, or maybe even have the option syntax be 'compiled' in to a gdbm file at installation time. That would win for efficiency, one would think... that's the main characterist of BASH. -- quanstro@stolaf.edu (goon@uni-paderborn.de) Erik Quanstrom St. Olaf College Northfield MN, 55057.5 USA
Technical Details
Message-ID:
<QUANSTRO.91Nov8073933@newton.acc.stolaf.edu>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!mips!pacbell.com!iggy.GW.Vitalink.COM!widener!msi.umn.edu!cs.umn.edu!uc.msc.edu!noc.MR.NET!news.stolaf.edu!news.stolaf.edu!quanstroReferences:
<ABRAHAM.91Oct29173322@freja.iesd.auc.dk> <DAMIAN.CUGLEY.91Nov4142743@pierrot.prg.ox.ac.uk> <1991Nov6.163614.942@nntp.uoregon.edu> <1991Nov7.193122.23496@nuchat.sccsi.com>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-08 08:51:28 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!mips!pacbell.com!iggy.GW.Vitalink.COM!widener!msi.umn.edu!cs.umn.edu!uc.msc.edu!noc.MR.NET!news.stolaf.edu!news.stolaf.edu!quanstro From: quanstro@newton.acc.stolaf.edu (goon) Newsgroups: gnu.misc.discuss Subject: Re: Who wants long options anyway? (Re: Poll: syntax of long options) Message-ID: <QUANSTRO.91Nov8073933@newton.acc.stolaf.edu> Date: 8 Nov 91 15:39:33 GMT References: <ABRAHAM.91Oct29173322@freja.iesd.auc.dk> <DAMIAN.CUGLEY.91Nov4142743@pierrot.prg.ox.ac.uk> <1991Nov6.163614.942@nntp.uoregon.edu> <1991Nov7.193122.23496@nuchat.sccsi.com> Sender: news@news.stolaf.edu Organization: St. Olaf College Lines: 28 In-Reply-To: orion@nuchat.sccsi.com's message of 7 Nov 91 19:31:22 GMT