🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Michael Tiemann Tue, 13 Feb 1990 09:49
InterViews and GetOpt
#504
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads