source: buchla-68k/orig/DOC/GETOPTDS.TXT@ 0170798

Last change on this file since 0170798 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 1.4 KB
Line 
1Newsgroups: mod.std.unix
2Subject: public domain AT&T getopt source
3Date: 3 Nov 85 19:34:15 GMT
4
5Here's something you've all been waiting for: the AT&T public domain
6source for getopt(3). It is the code which was given out at the 1985
7UNIFORUM conference in Dallas. I obtained it by electronic mail
8directly from AT&T. The people there assure me that it is indeed
9in the public domain.
10
11There is no manual page. That is because the one they gave out at
12UNIFORUM was slightly different from the current System V Release 2
13manual page. The difference apparently involved a note about the
14famous rules 5 and 6, recommending using white space between an option
15and its first argument, and not grouping options that have arguments.
16Getopt itself is currently lenient about both of these things. White
17space is allowed, but not mandatory, and the last option in a group can
18have an argument. That particular version of the man page evidently
19has no official existence, and my source at AT&T did not send a copy.
20The current SVR2 man page reflects the actual behavor of this getopt.
21However, I am not about to post a copy of anything licensed by AT&T.
22
23I will submit this source to Berkeley as a bug fix.
24
25I, personally, make no claims or guarantees of any kind about the
26following source. I did compile it to get some confidence that
27it arrived whole, but beyond that you're on your own.
Note: See TracBrowser for help on using the repository browser.