🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #504

InterViews and GetOpt

#504
From: Michael Tiemann
Date: Tue, 13 Feb 1990 09:49
15 lines
1259 bytes
The GetOpt facility in libg++ is a nice way to treat command-line
arguments in a uniform way.  Has anybody thought about doing this:
write a program which reads GetOpt code (i.e., parses argument
strings, copies C code), and generates a file which can then be run
via a graphical user interface, such as interviews?  For example, I
can imagine an interface for the Unix tar facility which would have
buttons for the various options (toggle button for -h (follow symbolic
links), radio-button for -c/-x (create/extract), interactive file
chooser for -f (filename), etc).

If such a code processor existed (maybe an awk script?), would it be a
good reason for people to use GetOpt more regularly and more
consistantly?

Michael
Technical Details
Message-ID: <9002130949.AA04305@teacake.sun.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!bu-cs!spdcc!snorkelwacker!apple!brutus.cs.uiuc.edu!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!teacake.ebay.sun.com!tiemann

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!bu-cs!spdcc!snorkelwacker!apple!brutus.cs.uiuc.edu!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!teacake.ebay.sun.com!tiemann
From: tiemann@teacake.ebay.sun.com (Michael Tiemann)
Newsgroups: gnu.g++
Subject: InterViews and GetOpt
Message-ID: <9002130949.AA04305@teacake.sun.com>
Date: 13 Feb 90 09:49:55 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: tiemann@sun.com
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 15