Thread View: comp.std.unix
5 messages
5 total messages
Started by Julian F. Reschke
Mon, 27 May 1991 18:37
long options
Author: Julian F. Reschke
Date: Mon, 27 May 1991 18:37
Date: Mon, 27 May 1991 18:37
17 lines
1343 bytes
1343 bytes
Submitted-by: ONM07%DMSWWU1A.BITNET@VM1.gatech.edu (Julian F. Reschke) I recently heard that future POSIX standards will document `long options' similar to those used in the GNU file utilities. (1) Is this true? (2) Will there be a standard for getting a short help (like `+help')? (3) What about tools that do not use getopt (like pg, chmod, tar and so on)? (4) Is there a list of proposed long options for the standard tools? ___________________________ cut here _____________________________________ Julian F. Reschke, Hensenstr. 142, D-4400 Muenster, Phone: ++49 251 861241 fast eMail: ONM07@DMSWWU1A.BITNET, slow: jr@ms.maus.de (++49 251 77216) ____________________ correct me if I'm wrong _____________________________ Volume-Number: Volume 23, Number 76
Re: "long" options for POSIX utilities
Author: Randall Atkinson
Date: Tue, 28 May 1991 02:09
Date: Tue, 28 May 1991 02:09
22 lines
1570 bytes
1570 bytes
Submitted-by: randall@Virginia.EDU (Randall Atkinson) In article <1991May28.010441.13817@uunet.uu.net> ONM07%DMSWWU1A.BITNET@VM1.gatech.edu (Julian F. Reschke) writes: >I recently heard that future POSIX standards will document `long options' >similar to those used in the GNU file utilities. The above is the first I've heard of such a thing. The most recently reviewed drafts of POSIX.2 and POSIX.2a, which cover the Shell & Utilities area, don't seem to mention any such things. I think that you can purchase these drafts, which are still in balloting last I heard, from the IEEE Standards Office in New Jersey. I miss the snitch reports on what is going on and would welcome any informative (as differentiated from speculative) commentary on the future plans for the Shell & Utilities effort (or other related TCOS efforts for that matter :-). Randall Atkinson randall@Virginia.EDU Volume-Number: Volume 23, Number 77
Re: long options
Author: Peter da Silva
Date: Tue, 28 May 1991 14:54
Date: Tue, 28 May 1991 14:54
18 lines
1426 bytes
1426 bytes
Submitted-by: peter@ficc.ferranti.com (Peter da Silva) > I recently heard that future POSIX standards will document `long options' > similar to those used in the GNU file utilities. > (3) What about tools that do not use getopt (like pg, chmod, tar and so on)? How does getopt support long options? I would think that standardising on long options would pretty much require a more sophisticated parser, such as Eric Allman's "parseargs". -- Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180; Sugar Land, TX 77487-5012; `-_-' "Have you hugged your wolf, today?" [ The GNU getopt supports long options, via +long_option_name, I believe. It qualifies as existing practice, I suppose. --mod ] Volume-Number: Volume 23, Number 78
Re: long options
Author: Michael I Bushnell
Date: Tue, 28 May 1991 18:33
Date: Tue, 28 May 1991 18:33
17 lines
1230 bytes
1230 bytes
Submitted-by: mib@geech.gnu.ai.mit.edu (Michael I Bushnell) In article <1991May28.010441.13817@uunet.uu.net> ONM07%DMSWWU1A.BITNET@VM1.gatech.edu (Julian F. Reschke) writes: I recently heard that future POSIX standards will document `long options' similar to those used in the GNU file utilities. (3) What about tools that do not use getopt (like pg, chmod, tar and so on)? Note that GNU tar now uses getoldopt, which is called just like getopt, but understands both the old tar option format and the new format. -mib Volume-Number: Volume 23, Number 79
Re: "long" options for POSIX utilities
Author: Arnold Robbins
Date: Wed, 29 May 1991 20:28
Date: Wed, 29 May 1991 20:28
24 lines
1995 bytes
1995 bytes
Submitted-by: arnold%audiofax.com@mathcs.emory.edu (Arnold Robbins) >In article <1991May28.010441.13817@uunet.uu.net> ONM07%DMSWWU1A.BITNET@VM1.gatech.edu (Julian F. Reschke) writes: >>I recently heard that future POSIX standards will document `long options' >>similar to those used in the GNU file utilities. In article <1991May28.072936.26439@uunet.uu.net> randall@Virginia.EDU (Randall Atkinson) writes: > The above is the first I've heard of such a thing. The most >recently reviewed drafts of POSIX.2 and POSIX.2a, which cover the >Shell & Utilities area, don't seem to mention any such things. I can pretty safely say that .2 isn't doing anything like adding gnu-like long options. I doubt .2a is either. The whole thrust of the POSIX effort is (supposed to be) to standardize existing practice. So far .1 and .2 have done OK at it. E.g., dd retains its current, er, *unusual* command line syntax. :-) -- Arnold Robbins AudioFAX, Inc. | Threads are the 2000 Powers Ferry Road, Suite 200 / Marietta, GA. 30067 | lack of an idea. INTERNET: arnold@audiofax.com Phone: +1 404 618 4281 | -- Rob Pike UUCP: emory!audfax!arnold Fax-box: +1 404 618 4581 | Volume-Number: Volume 23, Number 80
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