home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / mod.std.unix.v3 < prev    next >
Mailbox/MIME Entity  |  1987-06-30  |  102.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
66% dexvert SoundTracker Module (music/soundTracker) ext Supported
1% dexvert Black Viper packed music (music/blackViperPackedMusic) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From jsq Sun Nov 3 13:13:26 1985" default
99% file C source, ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 6a 73 71 | 20 20 53 75 6e 20 4e 6f |From jsq| Sun No|
|00000010| 76 20 20 33 20 31 33 3a | 31 33 3a 32 36 20 31 39 |v 3 13:|13:26 19|
|00000020| 38 35 0a 50 61 74 68 3a | 20 75 74 2d 73 61 6c 6c |85.Path:| ut-sall|
|00000030| 79 21 73 74 64 2d 75 6e | 69 78 0a 46 72 6f 6d 3a |y!std-un|ix.From:|
|00000040| 20 73 74 64 2d 75 6e 69 | 78 40 75 74 2d 73 61 6c | std-uni|x@ut-sal|
|00000050| 6c 79 2e 55 55 43 50 20 | 28 4d 6f 64 65 72 61 74 |ly.UUCP |(Moderat|
|00000060| 6f 72 2c 20 4a 6f 68 6e | 20 51 75 61 72 74 65 72 |or, John| Quarter|
|00000070| 6d 61 6e 29 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |man).New|sgroups:|
|00000080| 20 6d 6f 64 2e 73 74 64 | 2e 75 6e 69 78 0a 53 75 | mod.std|.unix.Su|
|00000090| 62 6a 65 63 74 3a 20 6d | 6f 64 2e 73 74 64 2e 75 |bject: m|od.std.u|
|000000a0| 6e 69 78 20 56 6f 6c 75 | 6d 65 20 33 0a 4d 65 73 |nix Volu|me 3.Mes|
|000000b0| 73 61 67 65 2d 49 64 3a | 20 3c 33 33 35 31 40 75 |sage-Id:| <3351@u|
|000000c0| 74 2d 73 61 6c 6c 79 2e | 55 55 43 50 3e 0a 44 61 |t-sally.|UUCP>.Da|
|000000d0| 74 65 3a 20 33 20 4e 6f | 76 20 38 35 20 31 39 3a |te: 3 No|v 85 19:|
|000000e0| 31 33 3a 32 30 20 47 4d | 54 0a 4f 72 67 61 6e 69 |13:20 GM|T.Organi|
|000000f0| 7a 61 74 69 6f 6e 3a 20 | 49 45 45 45 2f 50 31 30 |zation: |IEEE/P10|
|00000100| 30 33 20 50 6f 72 74 61 | 62 6c 65 20 4f 70 65 72 |03 Porta|ble Oper|
|00000110| 61 74 69 6e 67 20 53 79 | 73 74 65 6d 20 45 6e 76 |ating Sy|stem Env|
|00000120| 69 72 6f 6e 6d 65 6e 74 | 20 43 6f 6d 6d 69 74 74 |ironment| Committ|
|00000130| 65 65 0a 4c 69 6e 65 73 | 3a 20 33 35 0a 41 70 70 |ee.Lines|: 35.App|
|00000140| 72 6f 76 65 64 3a 20 6a | 73 71 40 75 74 2d 73 61 |roved: j|sq@ut-sa|
|00000150| 6c 6c 79 2e 55 55 43 50 | 0a 44 72 61 66 74 2d 39 |lly.UUCP|.Draft-9|
|00000160| 3a 20 6d 6f 64 2e 73 74 | 64 2e 75 6e 69 78 0a 0a |: mod.st|d.unix..|
|00000170| 41 73 20 49 20 67 61 76 | 65 20 61 20 70 61 70 65 |As I gav|e a pape|
|00000180| 72 20 63 6f 70 79 20 6f | 66 20 76 6f 6c 75 6d 65 |r copy o|f volume|
|00000190| 73 20 6f 6e 65 20 61 6e | 64 20 74 77 6f 20 6f 66 |s one an|d two of|
|000001a0| 20 6d 6f 64 2e 73 74 64 | 2e 75 6e 69 78 20 74 6f | mod.std|.unix to|
|000001b0| 20 74 68 65 0a 50 31 30 | 30 33 20 63 68 61 69 72 | the.P10|03 chair|
|000001c0| 20 61 74 20 74 68 65 20 | 53 74 65 65 72 69 6e 67 | at the |Steering|
|000001d0| 20 47 72 6f 75 70 20 6d | 65 65 74 69 6e 67 20 69 | Group m|eeting i|
|000001e0| 6e 20 44 61 6c 6c 61 73 | 2c 20 69 74 20 69 73 20 |n Dallas|, it is |
|000001f0| 63 6f 6e 76 65 6e 69 65 | 6e 74 0a 74 6f 20 73 74 |convenie|nt.to st|
|00000200| 61 72 74 20 56 6f 6c 75 | 6d 65 20 33 2c 20 6f 66 |art Volu|me 3, of|
|00000210| 20 77 68 69 63 68 20 74 | 68 69 73 20 69 73 20 4e | which t|his is N|
|00000220| 75 6d 62 65 72 20 31 2e | 20 20 46 72 69 64 61 79 |umber 1.| Friday|
|00000230| 20 77 61 73 20 6e 6f 74 | 20 74 68 65 20 66 69 72 | was not| the fir|
|00000240| 73 74 0a 74 69 6d 65 20 | 74 68 65 20 63 6f 6d 6d |st.time |the comm|
|00000250| 69 74 74 65 65 20 68 61 | 64 20 73 65 65 6e 20 61 |ittee ha|d seen a|
|00000260| 72 74 69 63 6c 65 73 20 | 66 72 6f 6d 20 74 68 65 |rticles |from the|
|00000270| 20 6e 65 77 73 67 72 6f | 75 70 2c 20 62 79 20 74 | newsgro|up, by t|
|00000280| 68 65 20 77 61 79 2c 0a | 73 69 6e 63 65 20 73 65 |he way,.|since se|
|00000290| 76 65 72 61 6c 20 6d 65 | 6d 62 65 72 73 20 66 6f |veral me|mbers fo|
|000002a0| 6c 6c 6f 77 20 69 74 20 | 63 6c 6f 73 65 6c 79 20 |llow it |closely |
|000002b0| 61 6e 64 20 49 20 74 65 | 6e 64 20 74 6f 20 64 69 |and I te|nd to di|
|000002c0| 72 65 63 74 6c 79 20 66 | 6f 72 77 61 72 64 0a 73 |rectly f|orward.s|
|000002d0| 70 65 63 69 66 69 63 20 | 61 72 74 69 63 6c 65 73 |pecific |articles|
|000002e0| 20 6f 66 20 69 6e 74 65 | 72 65 73 74 20 74 6f 20 | of inte|rest to |
|000002f0| 74 68 65 20 63 68 61 69 | 72 2e 20 20 59 6f 75 72 |the chai|r. Your|
|00000300| 20 69 6e 70 75 74 20 69 | 73 20 73 65 65 6e 20 61 | input i|s seen a|
|00000310| 6e 64 0a 74 61 6b 65 6e | 20 69 6e 74 6f 20 61 63 |nd.taken| into ac|
|00000320| 63 6f 75 6e 74 2e 0a 0a | 0a 54 68 65 20 55 53 45 |count...|.The USE|
|00000330| 4e 45 54 20 6e 65 77 73 | 67 72 6f 75 70 20 6d 6f |NET news|group mo|
|00000340| 64 2e 73 74 64 2e 75 6e | 69 78 20 69 73 20 66 6f |d.std.un|ix is fo|
|00000350| 72 20 64 69 73 63 75 73 | 73 69 6f 6e 73 20 6f 66 |r discus|sions of|
|00000360| 20 55 4e 49 58 20 73 74 | 61 6e 64 61 72 64 73 2c | UNIX st|andards,|
|00000370| 0a 70 61 72 74 69 63 75 | 6c 61 72 6c 79 20 74 68 |.particu|larly th|
|00000380| 65 20 49 45 45 45 20 50 | 31 30 30 33 20 64 72 61 |e IEEE P|1003 dra|
|00000390| 66 74 20 73 74 61 6e 64 | 61 72 64 2e 20 20 49 74 |ft stand|ard. It|
|000003a0| 20 69 73 20 61 6c 73 6f | 20 64 69 73 74 72 69 62 | is also| distrib|
|000003b0| 75 74 65 64 0a 69 6e 20 | 61 6e 20 41 52 50 41 20 |uted.in |an ARPA |
|000003c0| 49 6e 74 65 72 6e 65 74 | 20 6d 61 69 6c 69 6e 67 |Internet| mailing|
|000003d0| 20 6c 69 73 74 2e 20 20 | 49 27 6d 20 74 68 65 20 | list. |I'm the |
|000003e0| 6d 6f 64 65 72 61 74 6f | 72 2c 20 77 68 69 63 68 |moderato|r, which|
|000003f0| 20 6d 6f 73 74 6c 79 0a | 6d 65 61 6e 73 20 49 20 | mostly.|means I |
|00000400| 70 6f 73 74 20 77 68 61 | 74 20 79 6f 75 20 73 65 |post wha|t you se|
|00000410| 6e 64 20 6d 65 2e 0a 0a | 53 75 62 6d 69 73 73 69 |nd me...|Submissi|
|00000420| 6f 6e 73 2d 54 6f 3a 09 | 75 74 2d 73 61 6c 6c 79 |ons-To:.|ut-sally|
|00000430| 21 73 74 64 2d 75 6e 69 | 78 09 6f 72 20 73 74 64 |!std-uni|x.or std|
|00000440| 2d 75 6e 69 78 40 73 61 | 6c 6c 79 2e 55 54 45 58 |-unix@sa|lly.UTEX|
|00000450| 41 53 2e 45 44 55 0a 43 | 6f 6d 6d 65 6e 74 73 2d |AS.EDU.C|omments-|
|00000460| 54 6f 3a 20 75 74 2d 73 | 61 6c 6c 79 21 73 74 64 |To: ut-s|ally!std|
|00000470| 2d 75 6e 69 78 2d 72 65 | 71 75 65 73 74 09 6f 72 |-unix-re|quest.or|
|00000480| 20 73 74 64 2d 75 6e 69 | 78 2d 72 65 71 75 65 73 | std-uni|x-reques|
|00000490| 74 40 73 61 6c 6c 79 2e | 55 54 45 58 41 53 2e 45 |t@sally.|UTEXAS.E|
|000004a0| 44 55 0a 55 55 43 50 2d | 52 6f 75 74 65 73 3a 20 |DU.UUCP-|Routes: |
|000004b0| 7b 69 68 6e 70 34 2c 73 | 65 69 73 6d 6f 2c 68 61 |{ihnp4,s|eismo,ha|
|000004c0| 72 76 61 72 64 2c 67 61 | 74 65 63 68 7d 21 75 74 |rvard,ga|tech}!ut|
|000004d0| 2d 73 61 6c 6c 79 21 73 | 74 64 2d 75 6e 69 78 0a |-sally!s|td-unix.|
|000004e0| 0a 50 65 72 6d 69 73 73 | 69 6f 6e 20 74 6f 20 70 |.Permiss|ion to p|
|000004f0| 6f 73 74 20 74 6f 20 74 | 68 65 20 6e 65 77 73 67 |ost to t|he newsg|
|00000500| 72 6f 75 70 20 69 73 20 | 61 73 73 75 6d 65 64 20 |roup is |assumed |
|00000510| 66 6f 72 20 6d 61 69 6c | 20 74 6f 20 73 74 64 2d |for mail| to std-|
|00000520| 75 6e 69 78 2e 0a 50 65 | 72 6d 69 73 73 69 6f 6e |unix..Pe|rmission|
|00000530| 20 74 6f 20 70 6f 73 74 | 20 69 73 20 6e 6f 74 20 | to post| is not |
|00000540| 61 73 73 75 6d 65 64 20 | 66 6f 72 20 6d 61 69 6c |assumed |for mail|
|00000550| 20 74 6f 20 73 74 64 2d | 75 6e 69 78 2d 72 65 71 | to std-|unix-req|
|00000560| 75 65 73 74 2c 0a 75 6e | 6c 65 73 73 20 65 78 70 |uest,.un|less exp|
|00000570| 6c 69 63 69 74 6c 79 20 | 67 72 61 6e 74 65 64 20 |licitly |granted |
|00000580| 69 6e 20 74 68 65 20 6d | 61 69 6c 2e 20 20 4d 61 |in the m|ail. Ma|
|00000590| 69 6c 20 74 6f 20 6d 79 | 20 70 65 72 73 6f 6e 61 |il to my| persona|
|000005a0| 6c 20 61 64 64 72 65 73 | 73 65 73 0a 77 69 6c 6c |l addres|ses.will|
|000005b0| 20 62 65 20 74 72 65 61 | 74 65 64 20 6c 69 6b 65 | be trea|ted like|
|000005c0| 20 6d 61 69 6c 20 74 6f | 20 73 74 64 2d 75 6e 69 | mail to| std-uni|
|000005d0| 78 2d 72 65 71 75 65 73 | 74 20 69 66 20 69 74 20 |x-reques|t if it |
|000005e0| 6f 62 76 69 6f 75 73 6c | 79 20 72 65 66 65 72 73 |obviousl|y refers|
|000005f0| 0a 74 6f 20 74 68 65 20 | 6e 65 77 73 67 72 6f 75 |.to the |newsgrou|
|00000600| 70 2e 0a 0a 41 72 63 68 | 69 76 65 73 20 6d 61 79 |p...Arch|ives may|
|00000610| 20 62 65 20 66 6f 75 6e | 64 20 6f 6e 20 73 61 6c | be foun|d on sal|
|00000620| 6c 79 2e 55 54 45 58 41 | 53 2e 45 44 55 2e 20 20 |ly.UTEXA|S.EDU. |
|00000630| 54 68 65 20 63 75 72 72 | 65 6e 74 20 76 6f 6c 75 |The curr|ent volu|
|00000640| 6d 65 20 6d 61 79 0a 62 | 65 20 72 65 74 72 65 69 |me may.b|e retrei|
|00000650| 76 65 64 20 62 79 20 61 | 6e 6f 6e 79 6d 6f 75 73 |ved by a|nonymous|
|00000660| 20 66 74 70 20 28 6c 6f | 67 69 6e 20 61 6e 6f 6e | ftp (lo|gin anon|
|00000670| 79 6d 6f 75 73 2c 20 70 | 61 73 73 77 6f 72 64 20 |ymous, p|assword |
|00000680| 67 75 65 73 74 29 0a 61 | 73 20 7e 66 74 70 2f 70 |guest).a|s ~ftp/p|
|00000690| 75 62 2f 6d 6f 64 2e 73 | 74 64 2e 75 6e 69 78 2c |ub/mod.s|td.unix,|
|000006a0| 20 77 68 69 6c 65 20 74 | 68 65 20 70 72 65 76 69 | while t|he previ|
|000006b0| 6f 75 73 20 76 6f 6c 75 | 6d 65 73 20 6d 61 79 20 |ous volu|mes may |
|000006c0| 62 65 20 72 65 74 72 69 | 65 76 65 64 0a 61 73 20 |be retri|eved.as |
|000006d0| 7e 66 74 70 2f 70 75 62 | 2f 6d 6f 64 2e 73 74 64 |~ftp/pub|/mod.std|
|000006e0| 2e 75 6e 69 78 2e 76 31 | 20 61 6e 64 20 7e 66 74 |.unix.v1| and ~ft|
|000006f0| 70 2f 70 75 62 2f 6d 6f | 64 2e 73 74 64 2e 75 6e |p/pub/mo|d.std.un|
|00000700| 69 78 2e 76 32 2e 0a 0a | 46 69 6e 61 6c 6c 79 2c |ix.v2...|Finally,|
|00000710| 20 72 65 6d 65 6d 62 65 | 72 20 74 68 61 74 20 61 | remembe|r that a|
|00000720| 6e 79 20 72 65 6d 61 72 | 6b 73 20 62 79 20 61 6e |ny remar|ks by an|
|00000730| 79 20 63 6f 6d 6d 69 74 | 74 65 65 20 6d 65 6d 62 |y commit|tee memb|
|00000740| 65 72 20 28 65 73 70 65 | 63 69 61 6c 6c 79 0a 69 |er (espe|cially.i|
|00000750| 6e 63 6c 75 64 69 6e 67 | 20 6d 65 29 20 69 6e 20 |ncluding| me) in |
|00000760| 74 68 69 73 20 6e 65 77 | 73 67 72 6f 75 70 20 64 |this new|sgroup d|
|00000770| 6f 20 6e 6f 74 20 72 65 | 70 72 65 73 65 6e 74 20 |o not re|present |
|00000780| 61 6e 79 20 70 6f 73 69 | 74 69 6f 6e 20 28 69 6e |any posi|tion (in|
|00000790| 63 6c 75 64 69 6e 67 0a | 61 6e 79 20 64 72 61 66 |cluding.|any draf|
|000007a0| 74 2c 20 70 72 6f 70 6f | 73 65 64 20 6f 72 20 61 |t, propo|sed or a|
|000007b0| 63 74 75 61 6c 2c 20 6f | 66 20 74 68 65 20 73 74 |ctual, o|f the st|
|000007c0| 61 6e 64 61 72 64 29 20 | 6f 66 20 74 68 65 20 63 |andard) |of the c|
|000007d0| 6f 6d 6d 69 74 74 65 65 | 20 61 73 20 61 0a 77 68 |ommittee| as a.wh|
|000007e0| 6f 6c 65 2c 20 75 6e 6c | 65 73 73 20 65 78 70 6c |ole, unl|ess expl|
|000007f0| 69 63 69 74 6c 79 20 73 | 74 61 74 65 64 20 6f 74 |icitly s|tated ot|
|00000800| 68 65 72 77 69 73 65 20 | 69 6e 20 73 75 63 68 20 |herwise |in such |
|00000810| 72 65 6d 61 72 6b 73 2e | 0a 0a 56 6f 6c 75 6d 65 |remarks.|..Volume|
|00000820| 2d 4e 75 6d 62 65 72 3a | 20 56 6f 6c 75 6d 65 20 |-Number:| Volume |
|00000830| 33 2c 20 4e 75 6d 62 65 | 72 20 31 0a 0a 46 72 6f |3, Numbe|r 1..Fro|
|00000840| 6d 20 6a 73 71 20 20 53 | 75 6e 20 4e 6f 76 20 20 |m jsq S|un Nov |
|00000850| 33 20 31 33 3a 33 34 3a | 32 31 20 31 39 38 35 0a |3 13:34:|21 1985.|
|00000860| 50 61 74 68 3a 20 75 74 | 2d 73 61 6c 6c 79 21 73 |Path: ut|-sally!s|
|00000870| 74 64 2d 75 6e 69 78 0a | 46 72 6f 6d 3a 20 73 74 |td-unix.|From: st|
|00000880| 64 2d 75 6e 69 78 40 75 | 74 2d 73 61 6c 6c 79 2e |d-unix@u|t-sally.|
|00000890| 55 55 43 50 20 28 4d 6f | 64 65 72 61 74 6f 72 2c |UUCP (Mo|derator,|
|000008a0| 20 4a 6f 68 6e 20 51 75 | 61 72 74 65 72 6d 61 6e | John Qu|arterman|
|000008b0| 29 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 6d 6f |).Newsgr|oups: mo|
|000008c0| 64 2e 73 74 64 2e 75 6e | 69 78 0a 53 75 62 6a 65 |d.std.un|ix.Subje|
|000008d0| 63 74 3a 20 70 75 62 6c | 69 63 20 64 6f 6d 61 69 |ct: publ|ic domai|
|000008e0| 6e 20 41 54 26 54 20 67 | 65 74 6f 70 74 20 73 6f |n AT&T g|etopt so|
|000008f0| 75 72 63 65 0a 4d 65 73 | 73 61 67 65 2d 49 64 3a |urce.Mes|sage-Id:|
|00000900| 20 3c 33 33 35 32 40 75 | 74 2d 73 61 6c 6c 79 2e | <3352@u|t-sally.|
|00000910| 55 55 43 50 3e 0a 44 61 | 74 65 3a 20 33 20 4e 6f |UUCP>.Da|te: 3 No|
|00000920| 76 20 38 35 20 31 39 3a | 33 34 3a 31 35 20 47 4d |v 85 19:|34:15 GM|
|00000930| 54 0a 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|00000940| 49 45 45 45 2f 50 31 30 | 30 33 20 50 6f 72 74 61 |IEEE/P10|03 Porta|
|00000950| 62 6c 65 20 4f 70 65 72 | 61 74 69 6e 67 20 53 79 |ble Oper|ating Sy|
|00000960| 73 74 65 6d 20 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 |stem Env|ironment|
|00000970| 20 43 6f 6d 6d 69 74 74 | 65 65 0a 4c 69 6e 65 73 | Committ|ee.Lines|
|00000980| 3a 20 39 31 0a 41 70 70 | 72 6f 76 65 64 3a 20 6a |: 91.App|roved: j|
|00000990| 73 71 40 75 74 2d 73 61 | 6c 6c 79 2e 55 55 43 50 |sq@ut-sa|lly.UUCP|
|000009a0| 0a 44 72 61 66 74 2d 39 | 3a 20 31 30 30 33 2e 32 |.Draft-9|: 1003.2|
|000009b0| 2e 67 65 74 6f 70 74 0a | 0a 48 65 72 65 27 73 20 |.getopt.|.Here's |
|000009c0| 73 6f 6d 65 74 68 69 6e | 67 20 79 6f 75 27 76 65 |somethin|g you've|
|000009d0| 20 61 6c 6c 20 62 65 65 | 6e 20 77 61 69 74 69 6e | all bee|n waitin|
|000009e0| 67 20 66 6f 72 3a 20 20 | 74 68 65 20 41 54 26 54 |g for: |the AT&T|
|000009f0| 20 70 75 62 6c 69 63 20 | 64 6f 6d 61 69 6e 0a 73 | public |domain.s|
|00000a00| 6f 75 72 63 65 20 66 6f | 72 20 67 65 74 6f 70 74 |ource fo|r getopt|
|00000a10| 28 33 29 2e 20 20 49 74 | 20 69 73 20 74 68 65 20 |(3). It| is the |
|00000a20| 63 6f 64 65 20 77 68 69 | 63 68 20 77 61 73 20 67 |code whi|ch was g|
|00000a30| 69 76 65 6e 20 6f 75 74 | 20 61 74 20 74 68 65 20 |iven out| at the |
|00000a40| 31 39 38 35 0a 55 4e 49 | 46 4f 52 55 4d 20 63 6f |1985.UNI|FORUM co|
|00000a50| 6e 66 65 72 65 6e 63 65 | 20 69 6e 20 44 61 6c 6c |nference| in Dall|
|00000a60| 61 73 2e 20 20 49 20 6f | 62 74 61 69 6e 65 64 20 |as. I o|btained |
|00000a70| 69 74 20 62 79 20 65 6c | 65 63 74 72 6f 6e 69 63 |it by el|ectronic|
|00000a80| 20 6d 61 69 6c 0a 64 69 | 72 65 63 74 6c 79 20 66 | mail.di|rectly f|
|00000a90| 72 6f 6d 20 41 54 26 54 | 2e 20 20 54 68 65 20 70 |rom AT&T|. The p|
|00000aa0| 65 6f 70 6c 65 20 74 68 | 65 72 65 20 61 73 73 75 |eople th|ere assu|
|00000ab0| 72 65 20 6d 65 20 74 68 | 61 74 20 69 74 20 69 73 |re me th|at it is|
|00000ac0| 20 69 6e 64 65 65 64 0a | 69 6e 20 74 68 65 20 70 | indeed.|in the p|
|00000ad0| 75 62 6c 69 63 20 64 6f | 6d 61 69 6e 2e 0a 0a 54 |ublic do|main...T|
|00000ae0| 68 65 72 65 20 69 73 20 | 6e 6f 20 6d 61 6e 75 61 |here is |no manua|
|00000af0| 6c 20 70 61 67 65 2e 20 | 20 54 68 61 74 20 69 73 |l page. | That is|
|00000b00| 20 62 65 63 61 75 73 65 | 20 74 68 65 20 6f 6e 65 | because| the one|
|00000b10| 20 74 68 65 79 20 67 61 | 76 65 20 6f 75 74 20 61 | they ga|ve out a|
|00000b20| 74 0a 55 4e 49 46 4f 52 | 55 4d 20 77 61 73 20 73 |t.UNIFOR|UM was s|
|00000b30| 6c 69 67 68 74 6c 79 20 | 64 69 66 66 65 72 65 6e |lightly |differen|
|00000b40| 74 20 66 72 6f 6d 20 74 | 68 65 20 63 75 72 72 65 |t from t|he curre|
|00000b50| 6e 74 20 53 79 73 74 65 | 6d 20 56 20 52 65 6c 65 |nt Syste|m V Rele|
|00000b60| 61 73 65 20 32 0a 6d 61 | 6e 75 61 6c 20 70 61 67 |ase 2.ma|nual pag|
|00000b70| 65 2e 20 20 54 68 65 20 | 64 69 66 66 65 72 65 6e |e. The |differen|
|00000b80| 63 65 20 61 70 70 61 72 | 65 6e 74 6c 79 20 69 6e |ce appar|ently in|
|00000b90| 76 6f 6c 76 65 64 20 61 | 20 6e 6f 74 65 20 61 62 |volved a| note ab|
|00000ba0| 6f 75 74 20 74 68 65 0a | 66 61 6d 6f 75 73 20 72 |out the.|famous r|
|00000bb0| 75 6c 65 73 20 35 20 61 | 6e 64 20 36 2c 20 72 65 |ules 5 a|nd 6, re|
|00000bc0| 63 6f 6d 6d 65 6e 64 69 | 6e 67 20 75 73 69 6e 67 |commendi|ng using|
|00000bd0| 20 77 68 69 74 65 20 73 | 70 61 63 65 20 62 65 74 | white s|pace bet|
|00000be0| 77 65 65 6e 20 61 6e 20 | 6f 70 74 69 6f 6e 0a 61 |ween an |option.a|
|00000bf0| 6e 64 20 69 74 73 20 66 | 69 72 73 74 20 61 72 67 |nd its f|irst arg|
|00000c00| 75 6d 65 6e 74 2c 20 61 | 6e 64 20 6e 6f 74 20 67 |ument, a|nd not g|
|00000c10| 72 6f 75 70 69 6e 67 20 | 6f 70 74 69 6f 6e 73 20 |rouping |options |
|00000c20| 74 68 61 74 20 68 61 76 | 65 20 61 72 67 75 6d 65 |that hav|e argume|
|00000c30| 6e 74 73 2e 0a 47 65 74 | 6f 70 74 20 69 74 73 65 |nts..Get|opt itse|
|00000c40| 6c 66 20 69 73 20 63 75 | 72 72 65 6e 74 6c 79 20 |lf is cu|rrently |
|00000c50| 6c 65 6e 69 65 6e 74 20 | 61 62 6f 75 74 20 62 6f |lenient |about bo|
|00000c60| 74 68 20 6f 66 20 74 68 | 65 73 65 20 74 68 69 6e |th of th|ese thin|
|00000c70| 67 73 20 57 68 69 74 65 | 0a 73 70 61 63 65 20 69 |gs White|.space i|
|00000c80| 73 20 61 6c 6c 6f 77 65 | 64 2c 20 62 75 74 20 6e |s allowe|d, but n|
|00000c90| 6f 74 20 6d 61 6e 64 61 | 74 6f 72 79 2c 20 61 6e |ot manda|tory, an|
|00000ca0| 64 20 74 68 65 20 6c 61 | 73 74 20 6f 70 74 69 6f |d the la|st optio|
|00000cb0| 6e 20 69 6e 20 61 20 67 | 72 6f 75 70 20 63 61 6e |n in a g|roup can|
|00000cc0| 0a 68 61 76 65 20 61 6e | 20 61 72 67 75 6d 65 6e |.have an| argumen|
|00000cd0| 74 2e 20 20 54 68 61 74 | 20 70 61 72 74 69 63 75 |t. That| particu|
|00000ce0| 6c 61 72 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |lar vers|ion of t|
|00000cf0| 68 65 20 6d 61 6e 20 70 | 61 67 65 20 65 76 69 64 |he man p|age evid|
|00000d00| 65 6e 74 6c 79 0a 68 61 | 73 20 6e 6f 20 6f 66 66 |ently.ha|s no off|
|00000d10| 69 63 69 61 6c 20 65 78 | 69 73 74 65 6e 63 65 2c |icial ex|istence,|
|00000d20| 20 61 6e 64 20 6d 79 20 | 73 6f 75 72 63 65 20 61 | and my |source a|
|00000d30| 74 20 41 54 26 54 20 64 | 69 64 20 6e 6f 74 20 73 |t AT&T d|id not s|
|00000d40| 65 6e 64 20 61 20 63 6f | 70 79 2e 0a 54 68 65 20 |end a co|py..The |
|00000d50| 63 75 72 72 65 6e 74 20 | 53 56 52 32 20 6d 61 6e |current |SVR2 man|
|00000d60| 20 70 61 67 65 20 72 65 | 66 6c 65 63 74 73 20 74 | page re|flects t|
|00000d70| 68 65 20 61 63 74 75 61 | 6c 20 62 65 68 61 76 6f |he actua|l behavo|
|00000d80| 72 20 6f 66 20 74 68 69 | 73 20 67 65 74 6f 70 74 |r of thi|s getopt|
|00000d90| 2e 0a 48 6f 77 65 76 65 | 72 2c 20 49 20 61 6d 20 |..Howeve|r, I am |
|00000da0| 6e 6f 74 20 61 62 6f 75 | 74 20 74 6f 20 70 6f 73 |not abou|t to pos|
|00000db0| 74 20 61 20 63 6f 70 79 | 20 6f 66 20 61 6e 79 74 |t a copy| of anyt|
|00000dc0| 68 69 6e 67 20 6c 69 63 | 65 6e 73 65 64 20 62 79 |hing lic|ensed by|
|00000dd0| 20 41 54 26 54 2e 0a 0a | 49 20 77 69 6c 6c 20 73 | AT&T...|I will s|
|00000de0| 75 62 6d 69 74 20 74 68 | 69 73 20 73 6f 75 72 63 |ubmit th|is sourc|
|00000df0| 65 20 74 6f 20 42 65 72 | 6b 65 6c 65 79 20 61 73 |e to Ber|keley as|
|00000e00| 20 61 20 62 75 67 20 66 | 69 78 2e 0a 0a 49 2c 20 | a bug f|ix...I, |
|00000e10| 70 65 72 73 6f 6e 61 6c | 6c 79 2c 20 6d 61 6b 65 |personal|ly, make|
|00000e20| 20 6e 6f 20 63 6c 61 69 | 6d 73 20 6f 72 20 67 75 | no clai|ms or gu|
|00000e30| 61 72 61 6e 74 65 65 73 | 20 6f 66 20 61 6e 79 20 |arantees| of any |
|00000e40| 6b 69 6e 64 20 61 62 6f | 75 74 20 74 68 65 0a 66 |kind abo|ut the.f|
|00000e50| 6f 6c 6c 6f 77 69 6e 67 | 20 73 6f 75 72 63 65 2e |ollowing| source.|
|00000e60| 20 20 49 20 64 69 64 20 | 63 6f 6d 70 69 6c 65 20 | I did |compile |
|00000e70| 69 74 20 74 6f 20 67 65 | 74 20 73 6f 6d 65 20 63 |it to ge|t some c|
|00000e80| 6f 6e 66 69 64 65 6e 63 | 65 20 74 68 61 74 0a 69 |onfidenc|e that.i|
|00000e90| 74 20 61 72 72 69 76 65 | 64 20 77 68 6f 6c 65 2c |t arrive|d whole,|
|00000ea0| 20 62 75 74 20 62 65 79 | 6f 6e 64 20 74 68 61 74 | but bey|ond that|
|00000eb0| 20 79 6f 75 27 72 65 20 | 6f 6e 20 79 6f 75 72 20 | you're |on your |
|00000ec0| 6f 77 6e 2e 0a 0a 0a 2f | 2a 4c 49 4e 54 4c 49 42 |own..../|*LINTLIB|
|00000ed0| 52 41 52 59 2a 2f 0a 23 | 64 65 66 69 6e 65 20 4e |RARY*/.#|define N|
|00000ee0| 55 4c 4c 09 30 0a 23 64 | 65 66 69 6e 65 20 45 4f |ULL.0.#d|efine EO|
|00000ef0| 46 09 28 2d 31 29 0a 23 | 64 65 66 69 6e 65 20 45 |F.(-1).#|define E|
|00000f00| 52 52 28 73 2c 20 63 29 | 09 69 66 28 6f 70 74 65 |RR(s, c)|.if(opte|
|00000f10| 72 72 29 7b 5c 0a 09 65 | 78 74 65 72 6e 20 69 6e |rr){\..e|xtern in|
|00000f20| 74 20 73 74 72 6c 65 6e | 28 29 2c 20 77 72 69 74 |t strlen|(), writ|
|00000f30| 65 28 29 3b 5c 0a 09 63 | 68 61 72 20 65 72 72 62 |e();\..c|har errb|
|00000f40| 75 66 5b 32 5d 3b 5c 0a | 09 65 72 72 62 75 66 5b |uf[2];\.|.errbuf[|
|00000f50| 30 5d 20 3d 20 63 3b 20 | 65 72 72 62 75 66 5b 31 |0] = c; |errbuf[1|
|00000f60| 5d 20 3d 20 27 5c 6e 27 | 3b 5c 0a 09 28 76 6f 69 |] = '\n'|;\..(voi|
|00000f70| 64 29 20 77 72 69 74 65 | 28 32 2c 20 61 72 67 76 |d) write|(2, argv|
|00000f80| 5b 30 5d 2c 20 28 75 6e | 73 69 67 6e 65 64 29 73 |[0], (un|signed)s|
|00000f90| 74 72 6c 65 6e 28 61 72 | 67 76 5b 30 5d 29 29 3b |trlen(ar|gv[0]));|
|00000fa0| 5c 0a 09 28 76 6f 69 64 | 29 20 77 72 69 74 65 28 |\..(void|) write(|
|00000fb0| 32 2c 20 73 2c 20 28 75 | 6e 73 69 67 6e 65 64 29 |2, s, (u|nsigned)|
|00000fc0| 73 74 72 6c 65 6e 28 73 | 29 29 3b 5c 0a 09 28 76 |strlen(s|));\..(v|
|00000fd0| 6f 69 64 29 20 77 72 69 | 74 65 28 32 2c 20 65 72 |oid) wri|te(2, er|
|00000fe0| 72 62 75 66 2c 20 32 29 | 3b 7d 0a 0a 65 78 74 65 |rbuf, 2)|;}..exte|
|00000ff0| 72 6e 20 69 6e 74 20 73 | 74 72 63 6d 70 28 29 3b |rn int s|trcmp();|
|00001000| 0a 65 78 74 65 72 6e 20 | 63 68 61 72 20 2a 73 74 |.extern |char *st|
|00001010| 72 63 68 72 28 29 3b 0a | 0a 69 6e 74 09 6f 70 74 |rchr();.|.int.opt|
|00001020| 65 72 72 20 3d 20 31 3b | 0a 69 6e 74 09 6f 70 74 |err = 1;|.int.opt|
|00001030| 69 6e 64 20 3d 20 31 3b | 0a 69 6e 74 09 6f 70 74 |ind = 1;|.int.opt|
|00001040| 6f 70 74 3b 0a 63 68 61 | 72 09 2a 6f 70 74 61 72 |opt;.cha|r.*optar|
|00001050| 67 3b 0a 0a 69 6e 74 0a | 67 65 74 6f 70 74 28 61 |g;..int.|getopt(a|
|00001060| 72 67 63 2c 20 61 72 67 | 76 2c 20 6f 70 74 73 29 |rgc, arg|v, opts)|
|00001070| 0a 69 6e 74 09 61 72 67 | 63 3b 0a 63 68 61 72 09 |.int.arg|c;.char.|
|00001080| 2a 2a 61 72 67 76 2c 20 | 2a 6f 70 74 73 3b 0a 7b |**argv, |*opts;.{|
|00001090| 0a 09 73 74 61 74 69 63 | 20 69 6e 74 20 73 70 20 |..static| int sp |
|000010a0| 3d 20 31 3b 0a 09 72 65 | 67 69 73 74 65 72 20 69 |= 1;..re|gister i|
|000010b0| 6e 74 20 63 3b 0a 09 72 | 65 67 69 73 74 65 72 20 |nt c;..r|egister |
|000010c0| 63 68 61 72 20 2a 63 70 | 3b 0a 0a 09 69 66 28 73 |char *cp|;...if(s|
|000010d0| 70 20 3d 3d 20 31 29 0a | 09 09 69 66 28 6f 70 74 |p == 1).|..if(opt|
|000010e0| 69 6e 64 20 3e 3d 20 61 | 72 67 63 20 7c 7c 0a 09 |ind >= a|rgc ||..|
|000010f0| 09 20 20 20 61 72 67 76 | 5b 6f 70 74 69 6e 64 5d |. argv|[optind]|
|00001100| 5b 30 5d 20 21 3d 20 27 | 2d 27 20 7c 7c 20 61 72 |[0] != '|-' || ar|
|00001110| 67 76 5b 6f 70 74 69 6e | 64 5d 5b 31 5d 20 3d 3d |gv[optin|d][1] ==|
|00001120| 20 27 5c 30 27 29 0a 09 | 09 09 72 65 74 75 72 6e | '\0')..|..return|
|00001130| 28 45 4f 46 29 3b 0a 09 | 09 65 6c 73 65 20 69 66 |(EOF);..|.else if|
|00001140| 28 73 74 72 63 6d 70 28 | 61 72 67 76 5b 6f 70 74 |(strcmp(|argv[opt|
|00001150| 69 6e 64 5d 2c 20 22 2d | 2d 22 29 20 3d 3d 20 4e |ind], "-|-") == N|
|00001160| 55 4c 4c 29 20 7b 0a 09 | 09 09 6f 70 74 69 6e 64 |ULL) {..|..optind|
|00001170| 2b 2b 3b 0a 09 09 09 72 | 65 74 75 72 6e 28 45 4f |++;....r|eturn(EO|
|00001180| 46 29 3b 0a 09 09 7d 0a | 09 6f 70 74 6f 70 74 20 |F);...}.|.optopt |
|00001190| 3d 20 63 20 3d 20 61 72 | 67 76 5b 6f 70 74 69 6e |= c = ar|gv[optin|
|000011a0| 64 5d 5b 73 70 5d 3b 0a | 09 69 66 28 63 20 3d 3d |d][sp];.|.if(c ==|
|000011b0| 20 27 3a 27 20 7c 7c 20 | 28 63 70 3d 73 74 72 63 | ':' || |(cp=strc|
|000011c0| 68 72 28 6f 70 74 73 2c | 20 63 29 29 20 3d 3d 20 |hr(opts,| c)) == |
|000011d0| 4e 55 4c 4c 29 20 7b 0a | 09 09 45 52 52 28 22 3a |NULL) {.|..ERR(":|
|000011e0| 20 69 6c 6c 65 67 61 6c | 20 6f 70 74 69 6f 6e 20 | illegal| option |
|000011f0| 2d 2d 20 22 2c 20 63 29 | 3b 0a 09 09 69 66 28 61 |-- ", c)|;...if(a|
|00001200| 72 67 76 5b 6f 70 74 69 | 6e 64 5d 5b 2b 2b 73 70 |rgv[opti|nd][++sp|
|00001210| 5d 20 3d 3d 20 27 5c 30 | 27 29 20 7b 0a 09 09 09 |] == '\0|') {....|
|00001220| 6f 70 74 69 6e 64 2b 2b | 3b 0a 09 09 09 73 70 20 |optind++|;....sp |
|00001230| 3d 20 31 3b 0a 09 09 7d | 0a 09 09 72 65 74 75 72 |= 1;...}|...retur|
|00001240| 6e 28 27 3f 27 29 3b 0a | 09 7d 0a 09 69 66 28 2a |n('?');.|.}..if(*|
|00001250| 2b 2b 63 70 20 3d 3d 20 | 27 3a 27 29 20 7b 0a 09 |++cp == |':') {..|
|00001260| 09 69 66 28 61 72 67 76 | 5b 6f 70 74 69 6e 64 5d |.if(argv|[optind]|
|00001270| 5b 73 70 2b 31 5d 20 21 | 3d 20 27 5c 30 27 29 0a |[sp+1] !|= '\0').|
|00001280| 09 09 09 6f 70 74 61 72 | 67 20 3d 20 26 61 72 67 |...optar|g = &arg|
|00001290| 76 5b 6f 70 74 69 6e 64 | 2b 2b 5d 5b 73 70 2b 31 |v[optind|++][sp+1|
|000012a0| 5d 3b 0a 09 09 65 6c 73 | 65 20 69 66 28 2b 2b 6f |];...els|e if(++o|
|000012b0| 70 74 69 6e 64 20 3e 3d | 20 61 72 67 63 29 20 7b |ptind >=| argc) {|
|000012c0| 0a 09 09 09 45 52 52 28 | 22 3a 20 6f 70 74 69 6f |....ERR(|": optio|
|000012d0| 6e 20 72 65 71 75 69 72 | 65 73 20 61 6e 20 61 72 |n requir|es an ar|
|000012e0| 67 75 6d 65 6e 74 20 2d | 2d 20 22 2c 20 63 29 3b |gument -|- ", c);|
|000012f0| 0a 09 09 09 73 70 20 3d | 20 31 3b 0a 09 09 09 72 |....sp =| 1;....r|
|00001300| 65 74 75 72 6e 28 27 3f | 27 29 3b 0a 09 09 7d 20 |eturn('?|');...} |
|00001310| 65 6c 73 65 0a 09 09 09 | 6f 70 74 61 72 67 20 3d |else....|optarg =|
|00001320| 20 61 72 67 76 5b 6f 70 | 74 69 6e 64 2b 2b 5d 3b | argv[op|tind++];|
|00001330| 0a 09 09 73 70 20 3d 20 | 31 3b 0a 09 7d 20 65 6c |...sp = |1;..} el|
|00001340| 73 65 20 7b 0a 09 09 69 | 66 28 61 72 67 76 5b 6f |se {...i|f(argv[o|
|00001350| 70 74 69 6e 64 5d 5b 2b | 2b 73 70 5d 20 3d 3d 20 |ptind][+|+sp] == |
|00001360| 27 5c 30 27 29 20 7b 0a | 09 09 09 73 70 20 3d 20 |'\0') {.|...sp = |
|00001370| 31 3b 0a 09 09 09 6f 70 | 74 69 6e 64 2b 2b 3b 0a |1;....op|tind++;.|
|00001380| 09 09 7d 0a 09 09 6f 70 | 74 61 72 67 20 3d 20 4e |..}...op|targ = N|
|00001390| 55 4c 4c 3b 0a 09 7d 0a | 09 72 65 74 75 72 6e 28 |ULL;..}.|.return(|
|000013a0| 63 29 3b 0a 7d 0a 0a 56 | 6f 6c 75 6d 65 2d 4e 75 |c);.}..V|olume-Nu|
|000013b0| 6d 62 65 72 3a 20 56 6f | 6c 75 6d 65 20 33 2c 20 |mber: Vo|lume 3, |
|000013c0| 4e 75 6d 62 65 72 20 32 | 0a 0a 46 72 6f 6d 20 6a |Number 2|..From j|
|000013d0| 73 71 20 20 53 75 6e 20 | 4e 6f 76 20 20 33 20 31 |sq Sun |Nov 3 1|
|000013e0| 36 3a 34 33 3a 35 32 20 | 31 39 38 35 0a 50 61 74 |6:43:52 |1985.Pat|
|000013f0| 68 3a 20 75 74 2d 73 61 | 6c 6c 79 21 73 74 64 2d |h: ut-sa|lly!std-|
|00001400| 75 6e 69 78 0a 46 72 6f | 6d 3a 20 73 74 64 2d 75 |unix.Fro|m: std-u|
|00001410| 6e 69 78 40 75 74 2d 73 | 61 6c 6c 79 2e 55 55 43 |nix@ut-s|ally.UUC|
|00001420| 50 20 28 4d 6f 64 65 72 | 61 74 6f 72 2c 20 4a 6f |P (Moder|ator, Jo|
|00001430| 68 6e 20 51 75 61 72 74 | 65 72 6d 61 6e 29 0a 4e |hn Quart|erman).N|
|00001440| 65 77 73 67 72 6f 75 70 | 73 3a 20 6d 6f 64 2e 73 |ewsgroup|s: mod.s|
|00001450| 74 64 2e 75 6e 69 78 0a | 53 75 62 6a 65 63 74 3a |td.unix.|Subject:|
|00001460| 20 43 6f 6d 6d 65 6e 74 | 73 20 6f 6e 20 55 4e 49 | Comment|s on UNI|
|00001470| 58 20 63 6f 6d 6d 61 6e | 64 20 6f 70 74 69 6f 6e |X comman|d option|
|00001480| 20 73 79 6e 74 61 78 0a | 4d 65 73 73 61 67 65 2d | syntax.|Message-|
|00001490| 49 64 3a 20 3c 33 33 35 | 35 40 75 74 2d 73 61 6c |Id: <335|5@ut-sal|
|000014a0| 6c 79 2e 55 55 43 50 3e | 0a 44 61 74 65 3a 20 33 |ly.UUCP>|.Date: 3|
|000014b0| 20 4e 6f 76 20 38 35 20 | 32 32 3a 34 33 3a 33 32 | Nov 85 |22:43:32|
|000014c0| 20 47 4d 54 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|000014d0| 6e 3a 20 49 45 45 45 2f | 50 31 30 30 33 20 50 6f |n: IEEE/|P1003 Po|
|000014e0| 72 74 61 62 6c 65 20 4f | 70 65 72 61 74 69 6e 67 |rtable O|perating|
|000014f0| 20 53 79 73 74 65 6d 20 | 45 6e 76 69 72 6f 6e 6d | System |Environm|
|00001500| 65 6e 74 20 43 6f 6d 6d | 69 74 74 65 65 0a 4c 69 |ent Comm|ittee.Li|
|00001510| 6e 65 73 3a 20 32 33 31 | 0a 41 70 70 72 6f 76 65 |nes: 231|.Approve|
|00001520| 64 3a 20 6a 73 71 40 75 | 74 2d 73 61 6c 6c 79 2e |d: jsq@u|t-sally.|
|00001530| 55 55 43 50 0a 44 72 61 | 66 74 2d 39 3a 20 31 30 |UUCP.Dra|ft-9: 10|
|00001540| 30 33 2e 32 2e 67 65 74 | 6f 70 74 0a 0a 5b 20 49 |03.2.get|opt..[ I|
|00001550| 27 76 65 20 70 69 63 6b | 65 64 20 74 68 69 73 20 |'ve pick|ed this |
|00001560| 75 70 20 66 72 6f 6d 20 | 6e 65 74 2e 75 6e 69 78 |up from |net.unix|
|00001570| 2e 20 20 49 74 20 65 78 | 70 6c 61 69 6e 73 20 77 |. It ex|plains w|
|00001580| 68 61 74 20 74 68 65 20 | 72 75 6c 65 73 20 35 20 |hat the |rules 5 |
|00001590| 61 6e 64 20 36 20 61 72 | 65 2c 0a 72 65 67 61 72 |and 6 ar|e,.regar|
|000015a0| 64 69 6e 67 20 67 65 74 | 6f 70 74 28 33 29 2e 20 |ding get|opt(3). |
|000015b0| 20 2d 6d 6f 64 20 5d 0a | 0a 3e 46 72 6f 6d 3a 20 | -mod ].|.>From: |
|000015c0| 70 65 72 6c 6d 61 6e 40 | 77 61 6e 67 69 6e 73 74 |perlman@|wanginst|
|000015d0| 2e 55 55 43 50 20 28 47 | 61 72 79 20 50 65 72 6c |.UUCP (G|ary Perl|
|000015e0| 6d 61 6e 29 0a 44 61 74 | 65 3a 20 33 30 20 4f 63 |man).Dat|e: 30 Oc|
|000015f0| 74 20 38 35 20 31 38 3a | 30 33 3a 30 31 20 47 4d |t 85 18:|03:01 GM|
|00001600| 54 0a 0a 49 20 74 72 69 | 65 64 20 74 6f 20 70 6f |T..I tri|ed to po|
|00001610| 73 74 20 74 68 69 73 20 | 74 6f 20 6d 6f 64 2e 73 |st this |to mod.s|
|00001620| 74 64 2e 75 6e 69 78 2c | 20 62 75 74 20 69 74 20 |td.unix,| but it |
|00001630| 67 6f 74 20 62 6f 75 6e | 63 65 64 20 62 79 20 74 |got boun|ced by t|
|00001640| 68 65 20 6d 61 69 6c 65 | 72 2e 20 20 53 69 67 68 |he maile|r. Sigh|
|00001650| 2e 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00001660| 2d 2d 2d 2d 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |----.. | |
|00001670| 20 20 20 20 20 20 20 50 | 72 6f 70 6f 73 65 64 20 | P|roposed |
|00001680| 53 79 6e 74 61 78 20 53 | 74 61 6e 64 61 72 64 0a |Syntax S|tandard.|
|00001690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016a0| 20 46 6f 72 20 55 4e 49 | 58 2a 20 53 79 73 74 65 | For UNI|X* Syste|
|000016b0| 6d 20 43 6f 6d 6d 61 6e | 64 73 0a 0a 52 55 4c 45 |m Comman|ds..RULE|
|000016c0| 20 20 31 3a 20 20 43 6f | 6d 6d 61 6e 64 20 6e 61 | 1: Co|mmand na|
|000016d0| 6d 65 73 20 6d 75 73 74 | 20 62 65 20 62 65 74 77 |mes must| be betw|
|000016e0| 65 65 6e 20 32 20 61 6e | 64 20 39 20 63 68 61 72 |een 2 an|d 9 char|
|000016f0| 61 63 74 65 72 73 2e 0a | 0a 52 55 4c 45 20 20 32 |acters..|.RULE 2|
|00001700| 3a 20 20 43 6f 6d 6d 61 | 6e 64 20 6e 61 6d 65 73 |: Comma|nd names|
|00001710| 20 6d 75 73 74 20 69 6e | 63 6c 75 64 65 20 6c 6f | must in|clude lo|
|00001720| 77 65 72 20 63 61 73 65 | 20 6c 65 74 74 65 72 73 |wer case| letters|
|00001730| 20 61 6e 64 0a 20 20 20 | 20 20 20 20 20 20 20 64 | and. | d|
|00001740| 69 67 69 74 73 20 6f 6e | 6c 79 2e 0a 0a 52 55 4c |igits on|ly...RUL|
|00001750| 45 20 20 33 3a 20 20 4f | 70 74 69 6f 6e 20 6e 61 |E 3: O|ption na|
|00001760| 6d 65 73 20 6d 75 73 74 | 20 62 65 20 61 20 73 69 |mes must| be a si|
|00001770| 6e 67 6c 65 20 63 68 61 | 72 61 63 74 65 72 20 69 |ngle cha|racter i|
|00001780| 6e 20 6c 65 6e 67 74 68 | 2e 0a 0a 52 55 4c 45 20 |n length|...RULE |
|00001790| 20 34 3a 20 20 41 6c 6c | 20 6f 70 74 69 6f 6e 73 | 4: All| options|
|000017a0| 20 6d 75 73 74 20 62 65 | 20 64 65 6c 69 6d 69 74 | must be| delimit|
|000017b0| 65 64 20 62 79 20 60 60 | 2d 27 27 2e 0a 0a 52 55 |ed by ``|-''...RU|
|000017c0| 4c 45 20 20 35 3a 20 20 | 4f 70 74 69 6f 6e 73 20 |LE 5: |Options |
|000017d0| 77 69 74 68 20 6e 6f 20 | 61 72 67 75 6d 65 6e 74 |with no |argument|
|000017e0| 73 20 6d 61 79 20 62 65 | 20 67 72 6f 75 70 65 64 |s may be| grouped|
|000017f0| 20 62 65 68 69 6e 64 0a | 20 20 20 20 20 20 20 20 | behind.| |
|00001800| 20 20 6f 6e 65 20 64 65 | 6c 69 6d 69 74 65 72 2e | one de|limiter.|
|00001810| 0a 0a 52 55 4c 45 20 20 | 36 3a 20 20 54 68 65 20 |..RULE |6: The |
|00001820| 66 69 72 73 74 20 6f 70 | 74 69 6f 6e 2d 61 72 67 |first op|tion-arg|
|00001830| 75 6d 65 6e 74 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |ument fo|llowing |
|00001840| 61 6e 20 6f 70 74 69 6f | 6e 0a 20 20 20 20 20 20 |an optio|n. |
|00001850| 20 20 20 20 6d 75 73 74 | 20 62 65 20 70 72 65 63 | must| be prec|
|00001860| 65 64 65 64 20 62 79 20 | 77 68 69 74 65 20 73 70 |eded by |white sp|
|00001870| 61 63 65 2e 0a 0a 52 55 | 4c 45 20 20 37 3a 20 20 |ace...RU|LE 7: |
|00001880| 4f 70 74 69 6f 6e 20 61 | 72 67 75 6d 65 6e 74 73 |Option a|rguments|
|00001890| 20 63 61 6e 6e 6f 74 20 | 62 65 20 6f 70 74 69 6f | cannot |be optio|
|000018a0| 6e 61 6c 2e 0a 0a 52 55 | 4c 45 20 20 38 3a 20 20 |nal...RU|LE 8: |
|000018b0| 47 72 6f 75 70 73 20 6f | 66 20 6f 70 74 69 6f 6e |Groups o|f option|
|000018c0| 2d 61 72 67 75 6d 65 6e | 74 73 20 66 6f 6c 6c 6f |-argumen|ts follo|
|000018d0| 77 69 6e 67 20 61 6e 20 | 6f 70 74 69 6f 6e 20 6d |wing an |option m|
|000018e0| 75 73 74 20 62 65 0a 20 | 20 20 20 20 20 20 20 20 |ust be. | |
|000018f0| 20 73 65 70 61 72 61 74 | 65 64 20 62 79 20 63 6f | separat|ed by co|
|00001900| 6d 6d 61 73 20 6f 72 20 | 73 65 70 61 72 61 74 65 |mmas or |separate|
|00001910| 64 20 62 79 20 77 68 69 | 74 65 20 73 70 61 63 65 |d by whi|te space|
|00001920| 20 61 6e 64 20 71 75 6f | 74 65 64 2e 0a 0a 52 55 | and quo|ted...RU|
|00001930| 4c 45 20 20 39 3a 20 20 | 41 6c 6c 20 6f 70 74 69 |LE 9: |All opti|
|00001940| 6f 6e 73 20 70 72 65 63 | 65 64 65 20 6f 70 65 72 |ons prec|ede oper|
|00001950| 61 6e 64 73 20 6f 6e 20 | 74 68 65 20 63 6f 6d 6d |ands on |the comm|
|00001960| 61 6e 64 20 6c 69 6e 65 | 2e 0a 0a 52 55 4c 45 20 |and line|...RULE |
|00001970| 31 30 3a 20 20 60 60 2d | 2d 27 27 20 6d 61 79 20 |10: ``-|-'' may |
|00001980| 62 65 20 75 73 65 64 20 | 74 6f 20 64 65 6c 69 6d |be used |to delim|
|00001990| 69 74 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |it the e|nd of th|
|000019a0| 65 20 6f 70 74 69 6f 6e | 73 2e 0a 0a 52 55 4c 45 |e option|s...RULE|
|000019b0| 20 31 31 3a 20 20 54 68 | 65 20 6f 72 64 65 72 20 | 11: Th|e order |
|000019c0| 6f 66 20 6f 70 74 69 6f | 6e 73 20 72 65 6c 61 74 |of optio|ns relat|
|000019d0| 69 76 65 20 74 6f 20 6f | 6e 65 20 61 6e 6f 74 68 |ive to o|ne anoth|
|000019e0| 65 72 0a 20 20 20 20 20 | 20 20 20 20 20 73 68 6f |er. | sho|
|000019f0| 75 6c 64 20 6e 6f 74 20 | 6d 61 74 74 65 72 2e 0a |uld not |matter..|
|00001a00| 0a 52 55 4c 45 20 31 32 | 3a 20 20 54 68 65 20 6f |.RULE 12|: The o|
|00001a10| 72 64 65 72 20 6f 66 20 | 6f 70 65 72 61 6e 64 73 |rder of |operands|
|00001a20| 20 6d 61 79 20 6d 61 74 | 74 65 72 20 61 6e 64 20 | may mat|ter and |
|00001a30| 70 6f 73 69 74 69 6f 6e | 2d 72 65 6c 61 74 65 64 |position|-related|
|00001a40| 0a 20 20 20 20 20 20 20 | 20 20 20 69 6e 74 65 72 |. | inter|
|00001a50| 70 72 65 74 61 74 69 6f | 6e 73 20 73 68 6f 75 6c |pretatio|ns shoul|
|00001a60| 64 20 62 65 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |d be det|ermined |
|00001a70| 6f 6e 20 61 0a 20 20 20 | 20 20 20 20 20 20 20 63 |on a. | c|
|00001a80| 6f 6d 6d 61 6e 64 2d 73 | 70 65 63 69 66 69 63 20 |ommand-s|pecific |
|00001a90| 62 61 73 69 73 2e 0a 0a | 52 55 4c 45 20 31 33 3a |basis...|RULE 13:|
|00001aa0| 20 20 60 60 2d 27 27 20 | 70 72 65 63 65 64 65 64 | ``-'' |preceded|
|00001ab0| 20 61 6e 64 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 | and fol|lowed by|
|00001ac0| 20 77 68 69 74 65 20 73 | 70 61 63 65 20 73 68 6f | white s|pace sho|
|00001ad0| 75 6c 64 20 62 65 20 75 | 73 65 64 0a 20 20 20 20 |uld be u|sed. |
|00001ae0| 20 20 20 20 20 20 6f 6e | 6c 79 20 74 6f 20 6d 65 | on|ly to me|
|00001af0| 61 6e 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |an the s|tandard |
|00001b00| 69 6e 70 75 74 2e 0a 0a | 20 20 20 20 20 20 20 20 |input...| |
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b30| 20 20 20 20 20 20 20 20 | 20 20 4e 6f 76 65 6d 62 | | Novemb|
|00001b40| 65 72 20 31 39 38 33 0a | 2a 55 4e 49 58 20 69 73 |er 1983.|*UNIX is|
|00001b50| 20 61 20 74 72 61 64 65 | 6d 61 72 6b 20 6f 66 20 | a trade|mark of |
|00001b60| 41 54 26 54 20 42 65 6c | 6c 20 4c 61 62 6f 72 61 |AT&T Bel|l Labora|
|00001b70| 74 6f 72 69 65 73 0a 0a | 2d 2d 2d 2d 2d 2d 2d 2d |tories..|--------|
|00001b80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ba0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 54 68 |--------|----..Th|
|00001bc0| 65 20 61 62 6f 76 65 20 | 20 69 73 20 61 20 20 64 |e above | is a d|
|00001bd0| 69 72 65 63 74 20 71 75 | 6f 74 65 20 20 6f 66 20 |irect qu|ote of |
|00001be0| 74 68 65 20 20 71 75 69 | 63 6b 20 72 65 66 65 72 |the qui|ck refer|
|00001bf0| 65 6e 63 65 20 20 63 61 | 72 64 0a 68 61 6e 64 65 |ence ca|rd.hande|
|00001c00| 64 20 6f 75 74 20 69 6e | 20 20 63 6f 6e 6a 75 6e |d out in| conjun|
|00001c10| 63 74 69 6f 6e 20 77 69 | 74 68 20 20 61 20 74 61 |ction wi|th a ta|
|00001c20| 6c 6b 20 61 74 20 20 74 | 68 65 20 31 39 38 34 20 |lk at t|he 1984 |
|00001c30| 20 57 69 6e 74 65 72 0a | 55 73 65 6e 69 78 20 63 | Winter.|Usenix c|
|00001c40| 6f 6e 66 65 72 65 6e 63 | 65 20 62 79 20 4b 2e 20 |onferenc|e by K. |
|00001c50| 48 65 6d 65 6e 77 61 79 | 20 26 20 48 2e 20 41 72 |Hemenway| & H. Ar|
|00001c60| 6d 69 74 61 67 65 2e 20 | 20 54 68 69 73 20 73 65 |mitage. | This se|
|00001c70| 74 20 6f 66 0a 72 75 6c | 65 73 20 69 73 20 73 6f |t of.rul|es is so|
|00001c80| 6d 65 74 69 6d 65 73 20 | 63 61 6c 6c 65 64 20 74 |metimes |called t|
|00001c90| 68 65 20 48 26 41 20 73 | 74 61 6e 64 61 72 64 2e |he H&A s|tandard.|
|00001ca0| 20 20 41 6e 79 20 70 72 | 6f 70 6f 73 61 6c 20 6f | Any pr|oposal o|
|00001cb0| 66 0a 61 20 73 74 61 6e | 64 61 72 64 20 69 73 20 |f.a stan|dard is |
|00001cc0| 20 67 6f 69 6e 67 20 74 | 6f 20 20 63 61 75 73 65 | going t|o cause|
|00001cd0| 20 63 6f 6e 74 72 6f 76 | 65 72 73 79 2c 20 61 6e | controv|ersy, an|
|00001ce0| 64 20 20 74 68 69 73 20 | 69 73 20 20 6e 6f 0a 65 |d this |is no.e|
|00001cf0| 78 63 65 70 74 69 6f 6e | 2e 20 20 41 6c 74 68 6f |xception|. Altho|
|00001d00| 75 67 68 20 49 20 61 74 | 20 66 69 72 73 74 20 77 |ugh I at| first w|
|00001d10| 61 73 20 6f 70 70 6f 73 | 65 64 20 74 6f 20 74 68 |as oppos|ed to th|
|00001d20| 65 20 73 74 61 6e 64 61 | 72 64 2c 0a 49 20 63 61 |e standa|rd,.I ca|
|00001d30| 6d 65 20 74 6f 20 61 70 | 70 72 65 63 69 61 74 65 |me to ap|preciate|
|00001d40| 20 74 68 65 20 74 68 6f | 75 67 68 74 20 74 68 61 | the tho|ught tha|
|00001d50| 74 20 77 65 6e 74 20 69 | 6e 74 6f 20 69 74 2e 20 |t went i|nto it. |
|00001d60| 20 49 6e 20 74 68 69 73 | 0a 63 6f 6d 6d 65 6e 74 | In this|.comment|
|00001d70| 61 72 79 2c 20 49 20 68 | 6f 70 65 20 74 6f 20 63 |ary, I h|ope to c|
|00001d80| 6f 6e 76 65 79 20 74 68 | 61 74 20 74 6f 20 79 6f |onvey th|at to yo|
|00001d90| 75 2e 0a 0a 47 65 6e 65 | 72 61 6c 20 63 6f 6d 6d |u...Gene|ral comm|
|00001da0| 65 6e 74 73 3a 20 54 68 | 65 20 48 26 41 20 73 74 |ents: Th|e H&A st|
|00001db0| 61 6e 64 61 72 64 20 74 | 72 69 65 73 20 74 6f 20 |andard t|ries to |
|00001dc0| 6d 61 69 6e 74 61 69 6e | 20 61 73 20 6d 75 63 68 |maintain| as much|
|00001dd0| 0a 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 20 77 |.compati|bility w|
|00001de0| 69 74 68 20 20 65 78 69 | 73 74 69 6e 67 20 20 70 |ith exi|sting p|
|00001df0| 72 6f 67 72 61 6d 73 20 | 77 68 69 6c 65 20 20 69 |rograms |while i|
|00001e00| 6d 70 72 6f 76 69 6e 67 | 20 20 74 68 65 0a 63 6f |mproving| the.co|
|00001e10| 6e 73 69 73 74 65 6e 63 | 79 20 6f 66 20 20 55 4e |nsistenc|y of UN|
|00001e20| 49 58 20 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |IX comm|and line|
|00001e30| 20 20 73 79 6e 74 61 78 | 2e 20 20 20 54 68 69 73 | syntax|. This|
|00001e40| 20 20 69 73 20 20 6d 75 | 63 68 0a 68 61 72 64 65 | is mu|ch.harde|
|00001e50| 72 20 74 68 61 6e 20 64 | 65 73 69 67 6e 69 6e 67 |r than d|esigning|
|00001e60| 20 20 61 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 | a comm|and line|
|00001e70| 20 20 73 79 6e 74 61 78 | 20 66 72 6f 6d 20 20 73 | syntax| from s|
|00001e80| 63 72 61 74 63 68 2e 0a | 49 74 20 69 73 20 69 6d |cratch..|It is im|
|00001e90| 70 6f 72 74 61 6e 74 20 | 74 6f 20 75 6e 64 65 72 |portant |to under|
|00001ea0| 73 74 61 6e 64 20 74 68 | 65 20 72 61 74 69 6f 6e |stand th|e ration|
|00001eb0| 61 6c 65 20 62 65 68 69 | 6e 64 20 74 68 65 20 77 |ale behi|nd the w|
|00001ec0| 68 6f 6c 65 0a 73 65 74 | 20 6f 66 20 20 63 6f 6e |hole.set| of con|
|00001ed0| 76 65 6e 74 69 6f 6e 73 | 20 20 62 65 66 6f 72 65 |ventions| before|
|00001ee0| 20 20 6d 61 6b 69 6e 67 | 20 20 6a 75 64 67 65 6d | making| judgem|
|00001ef0| 65 6e 74 73 20 20 61 62 | 6f 75 74 20 20 74 68 65 |ents ab|out the|
|00001f00| 6d 0a 69 6e 64 69 76 69 | 64 75 61 6c 6c 79 2e 0a |m.indivi|dually..|
|00001f10| 0a 48 26 41 20 72 65 63 | 6f 72 64 65 64 20 74 68 |.H&A rec|orded th|
|00001f20| 65 20 20 73 79 6e 74 61 | 78 20 66 6f 72 20 20 61 |e synta|x for a|
|00001f30| 6c 6c 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |ll the c|ommands |
|00001f40| 20 69 6e 20 55 4e 49 58 | 20 20 28 61 74 0a 6c 65 | in UNIX| (at.le|
|00001f50| 61 73 74 20 53 79 73 74 | 65 6d 20 56 20 55 4e 49 |ast Syst|em V UNI|
|00001f60| 58 29 2e 20 20 54 68 65 | 79 20 74 72 69 65 64 20 |X). The|y tried |
|00001f70| 74 6f 20 63 6f 6d 65 20 | 75 70 20 77 69 74 68 20 |to come |up with |
|00001f80| 61 20 73 74 61 6e 64 61 | 72 64 0a 74 68 61 74 20 |a standa|rd.that |
|00001f90| 77 61 73 20 20 61 73 20 | 20 63 6c 6f 73 65 20 74 |was as | close t|
|00001fa0| 6f 20 20 6d 6f 73 74 20 | 20 6f 66 20 74 68 65 20 |o most | of the |
|00001fb0| 20 65 78 69 73 74 69 6e | 67 20 20 63 6f 6d 6d 61 | existin|g comma|
|00001fc0| 6e 64 73 20 20 61 73 0a | 70 6f 73 73 69 62 6c 65 |nds as.|possible|
|00001fd0| 2e 20 20 54 68 65 69 72 | 20 61 6e 61 6c 79 73 69 |. Their| analysi|
|00001fe0| 73 2c 20 73 75 6d 6d 61 | 72 69 7a 65 64 20 69 6e |s, summa|rized in|
|00001ff0| 20 74 68 65 69 72 20 55 | 53 45 4e 49 58 20 70 61 | their U|SENIX pa|
|00002000| 70 65 72 2c 0a 62 75 74 | 20 6d 75 63 68 20 62 65 |per,.but| much be|
|00002010| 74 74 65 72 20 63 6f 76 | 65 72 65 64 20 69 6e 20 |tter cov|ered in |
|00002020| 61 6e 20 75 6e 61 76 61 | 69 6c 61 62 6c 65 20 69 |an unava|ilable i|
|00002030| 6e 74 65 72 6e 61 6c 20 | 42 65 6c 6c 20 4c 61 62 |nternal |Bell Lab|
|00002040| 73 0a 74 65 63 68 20 72 | 65 70 6f 72 74 2c 20 69 |s.tech r|eport, i|
|00002050| 73 20 61 6e 20 20 65 78 | 63 65 6c 6c 65 6e 74 20 |s an ex|cellent |
|00002060| 65 78 61 6d 70 6c 65 20 | 6f 66 20 62 61 63 6b 69 |example |of backi|
|00002070| 6e 67 20 20 73 74 61 74 | 65 6d 65 6e 74 73 0a 77 |ng stat|ements.w|
|00002080| 69 74 68 20 66 61 63 74 | 73 2e 20 20 54 68 65 20 |ith fact|s. The |
|00002090| 6d 6f 73 74 20 63 6f 6d | 6d 6f 6e 20 65 78 61 6d |most com|mon exam|
|000020a0| 70 6c 65 20 6f 66 20 61 | 6e 20 6f 62 6a 65 63 74 |ple of a|n object|
|000020b0| 69 6f 6e 20 74 6f 20 20 | 74 68 65 0a 73 74 61 6e |ion to |the.stan|
|000020c0| 64 61 72 64 20 69 73 20 | 6f 66 20 74 68 65 20 20 |dard is |of the |
|000020d0| 66 6f 72 6d 2c 20 22 49 | 20 64 6f 6e 27 74 20 6c |form, "I| don't l|
|000020e0| 69 6b 65 20 20 52 55 4c | 45 20 58 2e 20 57 68 61 |ike RUL|E X. Wha|
|000020f0| 74 20 20 61 62 6f 75 74 | 0a 74 68 65 20 7a 7a 20 |t about|.the zz |
|00002100| 63 6f 6d 6d 61 6e 64 3f | 22 20 20 74 6f 20 77 68 |command?|" to wh|
|00002110| 69 63 68 20 20 48 26 41 | 20 63 6f 75 6c 64 20 20 |ich H&A| could |
|00002120| 73 61 79 2c 20 22 54 68 | 61 74 20 20 65 78 63 65 |say, "Th|at exce|
|00002130| 70 74 69 6f 6e 0a 68 61 | 70 70 65 6e 73 20 69 6e |ption.ha|ppens in|
|00002140| 20 20 6f 6e 6c 79 20 4e | 20 20 28 66 65 77 29 20 | only N| (few) |
|00002150| 63 6f 6d 6d 61 6e 64 73 | 2e 22 20 20 48 65 72 65 |commands|." Here|
|00002160| 20 61 72 65 20 20 6d 79 | 20 20 63 6f 6d 6d 65 6e | are my| commen|
|00002170| 74 73 0a 61 62 6f 75 74 | 20 74 68 65 20 72 75 6c |ts.about| the rul|
|00002180| 65 73 2e 20 20 54 68 65 | 79 20 63 6f 6e 74 61 69 |es. The|y contai|
|00002190| 6e 20 6d 79 20 72 65 61 | 63 74 69 6f 6e 20 74 6f |n my rea|ction to|
|000021a0| 20 74 68 65 20 72 75 6c | 65 73 20 20 61 6e 64 0a | the rul|es and.|
|000021b0| 73 6f 6d 65 20 6f 66 20 | 48 26 41 27 73 20 72 65 |some of |H&A's re|
|000021c0| 61 73 6f 6e 73 20 66 6f | 72 20 74 68 65 20 72 75 |asons fo|r the ru|
|000021d0| 6c 65 73 2e 0a 0a 49 20 | 77 61 6e 74 20 74 6f 20 |les...I |want to |
|000021e0| 73 74 61 72 74 20 62 79 | 20 73 61 79 69 6e 67 20 |start by| saying |
|000021f0| 74 68 61 74 20 74 68 69 | 73 20 73 74 61 6e 64 61 |that thi|s standa|
|00002200| 72 64 20 69 73 20 6d 75 | 63 68 20 20 62 65 74 74 |rd is mu|ch bett|
|00002210| 65 72 0a 74 68 61 6e 20 | 6e 6f 20 73 74 61 6e 64 |er.than |no stand|
|00002220| 61 72 64 2e 20 20 20 49 | 66 20 20 49 20 6b 6e 6f |ard. I|f I kno|
|00002230| 77 20 20 74 68 61 74 20 | 61 20 20 63 6f 6d 6d 61 |w that |a comma|
|00002240| 6e 64 20 66 6f 6c 6c 6f | 77 73 20 20 74 68 65 0a |nd follo|ws the.|
|00002250| 73 74 61 6e 64 61 72 64 | 2c 20 74 68 65 6e 20 74 |standard|, then t|
|00002260| 68 65 72 65 20 61 72 65 | 20 6e 6f 20 73 75 72 70 |here are| no surp|
|00002270| 72 69 73 65 73 20 61 62 | 6f 75 74 20 68 6f 77 20 |rises ab|out how |
|00002280| 6f 70 74 69 6f 6e 73 20 | 20 61 72 65 0a 72 65 71 |options | are.req|
|00002290| 75 65 73 74 65 64 20 61 | 6e 64 20 74 68 61 74 20 |uested a|nd that |
|000022a0| 6d 61 6b 65 73 20 6c 69 | 66 65 20 65 61 73 69 65 |makes li|fe easie|
|000022b0| 72 20 20 66 6f 72 20 6d | 65 2e 20 20 49 20 64 6f |r for m|e. I do|
|000022c0| 6e 27 74 20 20 68 61 76 | 65 0a 74 6f 20 20 77 6f |n't hav|e.to wo|
|000022d0| 72 72 79 20 20 61 62 6f | 75 74 20 20 69 6e 63 6f |rry abo|ut inco|
|000022e0| 6e 73 69 73 74 65 6e 63 | 79 2c 20 20 61 6e 64 20 |nsistenc|y, and |
|000022f0| 20 74 68 61 74 20 20 6f | 76 65 72 77 68 65 6c 6d | that o|verwhelm|
|00002300| 73 20 20 74 68 65 0a 71 | 75 69 72 6b 73 20 6f 66 |s the.q|uirks of|
|00002310| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 2e 0a 0a | the sta|ndard...|
|00002320| 52 55 4c 45 20 31 3a 0a | 20 20 20 20 20 20 20 20 |RULE 1:.| |
|00002330| 20 20 49 20 73 65 65 20 | 6e 6f 20 72 65 61 73 6f | I see |no reaso|
|00002340| 6e 20 66 6f 72 20 6e 6f | 74 20 61 6c 6c 6f 77 69 |n for no|t allowi|
|00002350| 6e 67 20 73 69 6e 67 6c | 65 20 20 63 68 61 72 61 |ng singl|e chara|
|00002360| 63 74 65 72 0a 20 20 20 | 20 20 20 20 20 20 20 63 |cter. | c|
|00002370| 6f 6d 6d 61 6e 64 20 6e | 61 6d 65 73 20 6c 69 6b |ommand n|ames lik|
|00002380| 65 20 65 2c 20 66 2c 20 | 20 77 2c 20 61 6e 64 20 |e e, f, | w, and |
|00002390| 53 2c 20 62 75 74 20 74 | 68 65 72 65 20 20 61 72 |S, but t|here ar|
|000023a0| 65 0a 20 20 20 20 20 20 | 20 20 20 20 6e 6f 74 20 |e. | not |
|000023b0| 6d 61 6e 79 20 6f 66 20 | 20 74 68 65 73 65 2e 20 |many of | these. |
|000023c0| 20 20 54 68 65 72 65 20 | 69 73 20 20 6e 6f 74 20 | There |is not |
|000023d0| 6d 75 63 68 20 20 6d 6e | 65 6d 6f 6e 69 63 0a 20 |much mn|emonic. |
|000023e0| 20 20 20 20 20 20 20 20 | 20 76 61 6c 75 65 20 74 | | value t|
|000023f0| 6f 20 20 73 69 6e 67 6c | 65 20 20 63 68 61 72 61 |o singl|e chara|
|00002400| 63 74 65 72 20 63 6f 6d | 6d 61 6e 64 73 2c 20 20 |cter com|mands, |
|00002410| 6e 6f 72 20 20 66 6f 72 | 20 20 32 0a 20 20 20 20 |nor for| 2. |
|00002420| 20 20 20 20 20 20 63 68 | 61 72 61 63 74 65 72 20 | ch|aracter |
|00002430| 63 6f 6d 6d 61 6e 64 73 | 2c 20 62 75 74 20 74 68 |commands|, but th|
|00002440| 65 72 65 20 61 72 65 20 | 61 20 6c 6f 74 20 6f 66 |ere are |a lot of|
|00002450| 20 74 68 6f 73 65 2e 0a | 0a 52 55 4c 45 20 32 3a | those..|.RULE 2:|
|00002460| 0a 20 20 20 20 20 20 20 | 20 20 20 54 68 65 20 72 |. | The r|
|00002470| 65 73 74 72 69 63 74 69 | 6f 6e 20 74 6f 20 6c 6f |estricti|on to lo|
|00002480| 77 65 72 20 63 61 73 65 | 20 6c 65 74 74 65 72 73 |wer case| letters|
|00002490| 20 6f 6e 6c 79 20 69 73 | 20 20 66 6f 72 0a 20 20 | only is| for. |
|000024a0| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 69 6e 73 | |case ins|
|000024b0| 65 6e 73 69 74 69 76 65 | 20 73 79 73 74 65 6d 73 |ensitive| systems|
|000024c0| 2e 20 20 20 4f 6e 65 20 | 6e 6f 74 61 62 6c 65 20 |. One |notable |
|000024d0| 20 65 78 63 65 70 74 69 | 6f 6e 0a 20 20 20 20 20 | excepti|on. |
|000024e0| 20 20 20 20 20 69 73 20 | 61 2e 6f 75 74 2c 20 62 | is |a.out, b|
|000024f0| 75 74 20 74 68 61 74 20 | 69 73 20 20 6e 6f 74 20 |ut that |is not |
|00002500| 72 65 61 6c 6c 79 20 61 | 20 63 6f 6d 6d 61 6e 64 |really a| command|
|00002510| 20 20 6e 61 6d 65 2e 0a | 20 20 20 20 20 20 20 20 | name..| |
|00002520| 20 20 4e 6f 74 20 61 6c | 6c 6f 77 69 6e 67 20 20 | Not al|lowing |
|00002530| 73 70 65 63 69 61 6c 20 | 63 68 61 72 61 63 74 65 |special |characte|
|00002540| 72 73 20 20 6c 69 6b 65 | 20 20 75 6e 64 65 72 73 |rs like| unders|
|00002550| 63 6f 72 65 0a 20 20 20 | 20 20 20 20 20 20 20 73 |core. | s|
|00002560| 69 6d 70 6c 69 66 69 65 | 73 20 74 68 65 20 72 75 |implifie|s the ru|
|00002570| 6c 65 73 2e 0a 0a 52 55 | 4c 45 20 33 3a 0a 20 20 |les...RU|LE 3:. |
|00002580| 20 20 20 20 20 20 20 20 | 53 69 6e 67 6c 65 20 20 | |Single |
|00002590| 63 68 61 72 61 63 74 65 | 72 20 20 6f 70 74 69 6f |characte|r optio|
|000025a0| 6e 20 20 20 6e 61 6d 65 | 73 20 20 61 72 65 20 20 |n name|s are |
|000025b0| 6e 6f 74 20 20 20 76 65 | 72 79 0a 20 20 20 20 20 |not ve|ry. |
|000025c0| 20 20 20 20 20 6d 6e 65 | 6d 6f 6e 69 63 2c 20 62 | mne|monic, b|
|000025d0| 75 74 20 20 74 68 65 79 | 20 61 72 65 20 20 6e 65 |ut they| are ne|
|000025e0| 63 65 73 73 61 72 79 20 | 74 6f 20 20 62 65 20 61 |cessary |to be a|
|000025f0| 62 6c 65 20 20 74 6f 0a | 20 20 20 20 20 20 20 20 |ble to.| |
|00002600| 20 20 62 75 6e 64 6c 65 | 20 6f 70 74 69 6f 6e 73 | bundle| options|
|00002610| 2e 20 20 54 68 65 79 20 | 61 72 65 20 61 6c 73 6f |. They |are also|
|00002620| 20 75 73 65 64 20 69 6e | 20 6d 6f 73 74 20 6f 66 | used in| most of|
|00002630| 20 74 68 65 0a 20 20 20 | 20 20 20 20 20 20 20 63 | the. | c|
|00002640| 6f 6d 6d 61 6e 64 73 2e | 20 20 20 20 20 54 68 65 |ommands.| The|
|00002650| 69 72 20 20 20 6c 61 63 | 6b 20 20 20 6f 66 20 20 |ir lac|k of |
|00002660| 20 6d 6e 65 6d 6f 6e 69 | 63 69 74 79 20 20 20 69 | mnemoni|city i|
|00002670| 73 0a 20 20 20 20 20 20 | 20 20 20 20 63 6f 6d 70 |s. | comp|
|00002680| 65 6e 73 61 74 65 64 20 | 73 6f 6d 65 77 68 61 74 |ensated |somewhat|
|00002690| 20 77 68 65 6e 20 6f 6e | 2d 6c 69 6e 65 20 68 65 | when on|-line he|
|000026a0| 6c 70 20 69 73 20 20 72 | 65 61 64 69 6c 79 0a 20 |lp is r|eadily. |
|000026b0| 20 20 20 20 20 20 20 20 | 20 61 76 61 69 6c 61 62 | | availab|
|000026c0| 6c 65 2c 20 77 68 69 63 | 68 20 75 6e 66 6f 72 74 |le, whic|h unfort|
|000026d0| 75 6e 61 74 65 6c 79 20 | 69 73 20 6e 6f 74 20 63 |unately |is not c|
|000026e0| 6f 6d 6d 6f 6e 2e 0a 0a | 52 55 4c 45 20 34 3a 0a |ommon...|RULE 4:.|
|000026f0| 20 20 20 20 20 20 20 20 | 20 20 54 68 65 20 63 6f | | The co|
|00002700| 6e 76 65 6e 74 69 6f 6e | 20 6f 66 20 70 72 65 63 |nvention| of prec|
|00002710| 65 64 69 6e 67 20 6f 70 | 74 69 6f 6e 73 20 77 69 |eding op|tions wi|
|00002720| 74 68 20 2d 20 73 74 61 | 72 74 65 64 0a 20 20 20 |th - sta|rted. |
|00002730| 20 20 20 20 20 20 20 74 | 6f 20 64 69 73 74 69 6e | t|o distin|
|00002740| 67 75 69 73 68 20 20 6f | 70 74 69 6f 6e 73 20 20 |guish o|ptions |
|00002750| 66 72 6f 6d 20 66 69 6c | 65 20 20 6e 61 6d 65 73 |from fil|e names|
|00002760| 2e 20 20 20 20 53 6f 6d | 65 0a 20 20 20 20 20 20 |. Som|e. |
|00002770| 20 20 20 20 63 6f 6d 6d | 61 6e 64 73 20 74 68 61 | comm|ands tha|
|00002780| 74 20 64 6f 20 6e 6f 74 | 20 20 74 61 6b 65 20 6f |t do not| take o|
|00002790| 70 65 72 61 6e 64 73 20 | 6c 69 6b 65 20 66 69 6c |perands |like fil|
|000027a0| 65 73 20 20 6f 72 0a 20 | 20 20 20 20 20 20 20 20 |es or. | |
|000027b0| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 20 20 64 6f | express|ions do|
|000027c0| 20 20 6e 6f 74 20 20 72 | 65 71 75 69 72 65 20 20 | not r|equire |
|000027d0| 74 68 65 20 20 2d 20 20 | 73 69 67 6e 2e 20 20 20 |the - |sign. |
|000027e0| 20 4d 79 0a 20 20 20 20 | 20 20 20 20 20 20 65 78 | My. | ex|
|000027f0| 70 65 72 69 65 6e 63 65 | 20 69 73 20 20 74 68 61 |perience| is tha|
|00002800| 74 20 20 74 68 69 73 20 | 20 69 73 20 20 61 6e 20 |t this | is an |
|00002810| 20 65 78 74 72 61 20 20 | 72 75 6c 65 20 20 74 6f | extra |rule to|
|00002820| 0a 20 20 20 20 20 20 20 | 20 20 20 65 78 70 6c 61 |. | expla|
|00002830| 69 6e 20 74 6f 20 6e 65 | 77 20 20 75 73 65 72 73 |in to ne|w users|
|00002840| 20 74 68 61 74 20 69 73 | 20 20 6e 6f 74 20 77 6f | that is| not wo|
|00002850| 72 74 68 20 73 61 76 69 | 6e 67 20 20 61 0a 20 20 |rth savi|ng a. |
|00002860| 20 20 20 20 20 20 20 20 | 6b 65 79 73 74 72 6f 6b | |keystrok|
|00002870| 65 20 68 65 72 65 20 61 | 6e 64 20 74 68 65 72 65 |e here a|nd there|
|00002880| 2e 0a 0a 52 55 4c 45 20 | 35 3a 0a 20 20 20 20 20 |...RULE |5:. |
|00002890| 20 20 20 20 20 42 75 6e | 64 6c 69 6e 67 20 6f 66 | Bun|dling of|
|000028a0| 20 6f 70 74 69 6f 6e 73 | 20 20 77 61 73 20 61 20 | options| was a |
|000028b0| 72 75 6c 65 20 20 64 65 | 6d 61 6e 64 65 64 20 62 |rule de|manded b|
|000028c0| 79 20 20 55 4e 49 58 0a | 20 20 20 20 20 20 20 20 |y UNIX.| |
|000028d0| 20 20 66 61 6e 73 20 69 | 6e 73 69 64 65 20 42 65 | fans i|nside Be|
|000028e0| 6c 6c 20 4c 61 62 73 2e | 20 20 4f 6e 63 65 20 79 |ll Labs.| Once y|
|000028f0| 6f 75 20 61 63 63 65 70 | 74 20 74 68 69 73 20 72 |ou accep|t this r|
|00002900| 75 6c 65 2c 0a 20 20 20 | 20 20 20 20 20 20 20 79 |ule,. | y|
|00002910| 6f 75 20 63 61 6e 27 74 | 20 20 68 61 76 65 20 20 |ou can't| have |
|00002920| 6d 75 6c 74 69 70 6c 65 | 20 63 68 61 72 61 63 74 |multiple| charact|
|00002930| 65 72 20 20 6f 70 74 69 | 6f 6e 73 2c 20 20 61 6e |er opti|ons, an|
|00002940| 64 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |d. | this|
|00002950| 20 69 73 20 75 6e 66 6f | 72 74 75 6e 61 74 65 2e | is unfo|rtunate.|
|00002960| 20 20 53 74 69 6c 6c 2c | 20 20 49 20 77 6f 75 6c | Still,| I woul|
|00002970| 64 20 6e 6f 74 20 6c 69 | 6b 65 20 20 74 6f 0a 20 |d not li|ke to. |
|00002980| 20 20 20 20 20 20 20 20 | 20 68 61 76 65 20 74 6f | | have to|
|00002990| 20 74 79 70 65 3a 20 6c | 73 20 2d 6c 20 2d 74 20 | type: l|s -l -t |
|000029a0| 2d 72 2e 0a 0a 52 55 4c | 45 20 36 3a 0a 20 20 20 |-r...RUL|E 6:. |
|000029b0| 20 20 20 20 20 20 20 4d | 61 6e 79 20 70 72 6f 67 | M|any prog|
|000029c0| 72 61 6d 73 20 20 72 65 | 71 75 69 72 65 20 20 74 |rams re|quire t|
|000029d0| 68 61 74 20 20 61 6e 20 | 20 6f 70 74 69 6f 6e 20 |hat an | option |
|000029e0| 20 61 72 67 75 6d 65 6e | 74 0a 20 20 20 20 20 20 | argumen|t. |
|000029f0| 20 20 20 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 20 | imme|diately |
|00002a00| 66 6f 6c 6c 6f 77 20 74 | 68 65 20 6f 70 74 69 6f |follow t|he optio|
|00002a10| 6e 20 28 65 2e 67 2e 2c | 20 63 63 20 2d 6c 6d 2c |n (e.g.,| cc -lm,|
|00002a20| 20 6e 72 6f 66 66 0a 20 | 20 20 20 20 20 20 20 20 | nroff. | |
|00002a30| 20 2d 6d 61 6e 29 20 77 | 68 69 6c 65 20 20 73 6f | -man) w|hile so|
|00002a40| 6d 65 20 72 65 71 75 69 | 72 65 20 20 61 20 20 73 |me requi|re a s|
|00002a50| 70 61 63 65 20 28 65 2e | 67 2e 2c 20 20 63 63 20 |pace (e.|g., cc |
|00002a60| 20 2d 6f 0a 20 20 20 20 | 20 20 20 20 20 20 70 67 | -o. | pg|
|00002a70| 6d 29 2e 20 20 54 68 69 | 73 20 69 73 20 20 6f 6e |m). Thi|s is on|
|00002a80| 65 20 69 6e 63 6f 6e 73 | 69 73 74 65 6e 63 79 20 |e incons|istency |
|00002a90| 74 68 61 74 20 63 61 75 | 73 65 73 20 20 74 68 65 |that cau|ses the|
|00002aa0| 0a 20 20 20 20 20 20 20 | 20 20 20 6d 6f 73 74 20 |. | most |
|00002ab0| 70 72 6f 62 6c 65 6d 73 | 20 20 66 6f 72 20 6d 65 |problems| for me|
|00002ac0| 2c 20 65 73 70 65 63 69 | 61 6c 6c 79 20 77 68 65 |, especi|ally whe|
|00002ad0| 6e 20 20 74 68 65 72 65 | 20 20 61 72 65 0a 20 20 |n there| are. |
|00002ae0| 20 20 20 20 20 20 20 20 | 69 6e 63 6f 6e 73 69 73 | |inconsis|
|00002af0| 74 65 6e 63 69 65 73 20 | 69 6e 73 69 64 65 20 61 |tencies |inside a|
|00002b00| 20 63 6f 6d 6d 61 6e 64 | 20 20 28 63 66 2e 20 20 | command| (cf. |
|00002b10| 63 63 2c 20 20 77 68 69 | 63 68 0a 20 20 20 20 20 |cc, whi|ch. |
|00002b20| 20 20 20 20 20 70 61 73 | 73 65 73 20 74 68 65 20 | pas|ses the |
|00002b30| 20 74 69 67 68 74 6c 79 | 20 20 67 72 6f 75 70 65 | tightly| groupe|
|00002b40| 64 20 20 6f 70 74 69 6f | 6e 2d 61 72 67 75 6d 65 |d optio|n-argume|
|00002b50| 6e 74 73 20 20 74 6f 0a | 20 20 20 20 20 20 20 20 |nts to.| |
|00002b60| 20 20 6f 74 68 65 72 20 | 20 70 72 6f 67 72 61 6d | other | program|
|00002b70| 73 29 2e 20 20 20 20 20 | 52 61 74 68 65 72 20 20 |s). |Rather |
|00002b80| 20 74 68 61 6e 20 20 64 | 65 63 69 64 69 6e 67 20 | than d|eciding |
|00002b90| 20 20 6f 6e 0a 20 20 20 | 20 20 20 20 20 20 20 6e | on. | n|
|00002ba0| 6f 2d 73 70 61 63 65 2c | 20 61 20 73 70 61 63 65 |o-space,| a space|
|00002bb0| 20 69 73 20 72 65 71 75 | 69 72 65 64 20 69 6e 20 | is requ|ired in |
|00002bc0| 74 68 65 20 48 26 41 20 | 73 74 61 6e 64 61 72 64 |the H&A |standard|
|00002bd0| 2e 0a 20 20 20 20 20 20 | 20 20 20 20 54 68 69 73 |.. | This|
|00002be0| 20 69 73 20 74 6f 20 6d | 61 6b 65 20 73 75 72 65 | is to m|ake sure|
|00002bf0| 20 74 68 61 74 20 66 69 | 6c 65 6e 61 6d 65 20 65 | that fi|lename e|
|00002c00| 78 70 61 6e 73 69 6f 6e | 20 77 6f 72 6b 73 0a 20 |xpansion| works. |
|00002c10| 20 20 20 20 20 20 20 20 | 20 70 72 6f 70 65 72 6c | | properl|
|00002c20| 79 2e 20 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |y. For| example|
|00002c30| 2c 20 20 69 66 20 20 74 | 68 65 20 61 72 67 75 6d |, if t|he argum|
|00002c40| 65 6e 74 20 20 74 6f 20 | 20 61 6e 0a 20 20 20 20 |ent to | an. |
|00002c50| 20 20 20 20 20 20 6f 70 | 74 69 6f 6e 20 69 73 20 | op|tion is |
|00002c60| 61 20 20 66 69 6c 65 20 | 6c 69 6b 65 20 20 22 65 |a file |like "e|
|00002c70| 78 74 72 61 6c 6f 6e 67 | 6e 61 6d 65 22 2c 20 74 |xtralong|name", t|
|00002c80| 68 65 6e 20 20 74 68 65 | 0a 20 20 20 20 20 20 20 |hen the|. |
|00002c90| 20 20 20 6f 70 74 69 6f | 6e 20 2d 66 65 78 74 72 | optio|n -fextr|
|00002ca0| 61 2a 20 20 77 6f 75 6c | 64 20 6e 6f 74 20 20 77 |a* woul|d not w|
|00002cb0| 6f 72 6b 2c 20 77 68 69 | 6c 65 20 20 68 61 76 69 |ork, whi|le havi|
|00002cc0| 6e 67 20 20 61 0a 20 20 | 20 20 20 20 20 20 20 20 |ng a. | |
|00002cd0| 73 70 61 63 65 20 69 6e | 20 74 68 65 72 65 20 77 |space in| there w|
|00002ce0| 6f 75 6c 64 2e 20 20 20 | 59 6f 75 20 63 6f 75 6c |ould. |You coul|
|00002cf0| 64 20 6d 61 6b 65 20 74 | 68 65 20 20 73 79 6e 74 |d make t|he synt|
|00002d00| 61 78 0a 20 20 20 20 20 | 20 20 20 20 20 22 73 70 |ax. | "sp|
|00002d10| 61 63 65 2d 6f 70 74 69 | 6f 6e 61 6c 22 20 62 75 |ace-opti|onal" bu|
|00002d20| 74 20 74 68 61 74 20 20 | 77 6f 75 6c 64 20 72 65 |t that |would re|
|00002d30| 71 75 69 72 65 20 74 68 | 61 74 20 20 74 68 65 0a |quire th|at the.|
|00002d40| 20 20 20 20 20 20 20 20 | 20 20 64 6f 63 75 6d 65 | | docume|
|00002d50| 6e 74 61 74 69 6f 6e 20 | 63 6f 76 65 72 20 6d 6f |ntation |cover mo|
|00002d60| 72 65 20 20 74 68 61 6e | 20 6f 6e 65 20 20 63 61 |re than| one ca|
|00002d70| 73 65 2c 20 77 68 69 63 | 68 20 20 49 0a 20 20 20 |se, whic|h I. |
|00002d80| 20 20 20 20 20 20 20 61 | 72 67 75 65 20 77 6f 75 | a|rgue wou|
|00002d90| 6c 64 20 6d 61 6b 65 20 | 74 68 65 20 73 79 6e 74 |ld make |the synt|
|00002da0| 61 78 20 68 61 72 64 65 | 72 20 74 6f 20 6c 65 61 |ax harde|r to lea|
|00002db0| 72 6e 2e 0a 0a 52 55 4c | 45 20 37 3a 0a 20 20 20 |rn...RUL|E 7:. |
|00002dc0| 20 20 20 20 20 20 20 42 | 65 63 61 75 73 65 20 6f | B|ecause o|
|00002dd0| 70 74 69 6f 6e 20 20 61 | 72 67 75 6d 65 6e 74 73 |ption a|rguments|
|00002de0| 20 6d 75 73 74 20 20 62 | 65 20 73 65 70 61 72 61 | must b|e separa|
|00002df0| 74 65 64 20 20 66 72 6f | 6d 0a 20 20 20 20 20 20 |ted fro|m. |
|00002e00| 20 20 20 20 6f 70 74 69 | 6f 6e 73 2c 20 20 74 68 | opti|ons, th|
|00002e10| 65 72 65 20 20 69 73 20 | 20 6e 6f 20 20 77 61 79 |ere is | no way|
|00002e20| 20 20 74 6f 20 20 6d 61 | 6b 65 20 20 61 6e 20 20 | to ma|ke an |
|00002e30| 6f 70 74 69 6f 6e 0a 20 | 20 20 20 20 20 20 20 20 |option. | |
|00002e40| 20 61 72 67 75 6d 65 6e | 74 20 6f 70 74 69 6f 6e | argumen|t option|
|00002e50| 61 6c 2c 20 65 78 63 65 | 70 74 20 66 6f 72 20 74 |al, exce|pt for t|
|00002e60| 68 65 20 73 70 65 63 69 | 61 6c 20 63 61 73 65 20 |he speci|al case |
|00002e70| 20 6f 66 0a 20 20 20 20 | 20 20 20 20 20 20 61 74 | of. | at|
|00002e80| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 61 20 63 6f | the end| of a co|
|00002e90| 6d 6d 61 6e 64 20 6c 69 | 6e 65 20 77 69 74 68 20 |mmand li|ne with |
|00002ea0| 6e 6f 20 6f 70 65 72 61 | 6e 64 73 20 28 62 75 74 |no opera|nds (but|
|00002eb0| 0a 20 20 20 20 20 20 20 | 20 20 20 49 20 74 68 69 |. | I thi|
|00002ec0| 6e 6b 20 20 74 68 69 73 | 20 20 72 61 72 65 20 20 |nk this| rare |
|00002ed0| 65 78 63 65 70 74 69 6f | 6e 20 77 6f 75 6c 64 20 |exceptio|n would |
|00002ee0| 20 62 65 20 20 68 61 72 | 64 20 20 74 6f 0a 20 20 | be har|d to. |
|00002ef0| 20 20 20 20 20 20 20 20 | 65 78 70 6c 61 69 6e 29 | |explain)|
|00002f00| 2e 20 20 20 54 68 65 72 | 65 20 20 61 72 65 20 20 |. Ther|e are |
|00002f10| 66 65 77 20 20 63 6f 6d | 6d 61 6e 64 73 20 20 74 |few com|mands t|
|00002f20| 68 61 74 20 20 61 6c 6c | 6f 77 0a 20 20 20 20 20 |hat all|ow. |
|00002f30| 20 20 20 20 20 6f 70 74 | 69 6f 6e 61 6c 20 20 6f | opt|ional o|
|00002f40| 70 74 69 6f 6e 2d 61 72 | 67 75 6d 65 6e 74 73 20 |ption-ar|guments |
|00002f50| 20 28 65 2e 67 2e 2c 20 | 20 70 72 20 20 2d 68 29 | (e.g., | pr -h)|
|00002f60| 2c 20 20 20 61 6e 64 0a | 20 20 20 20 20 20 20 20 |, and.| |
|00002f70| 20 20 73 75 70 70 6c 79 | 69 6e 67 20 61 20 20 6e | supply|ing a n|
|00002f80| 75 6c 6c 20 61 72 67 75 | 6d 65 6e 74 20 20 28 69 |ull argu|ment (i|
|00002f90| 65 2e 20 20 20 22 22 29 | 20 20 77 6f 72 6b 73 20 |e. "")| works |
|00002fa0| 20 61 72 65 0a 20 20 20 | 20 20 20 20 20 20 20 77 | are. | w|
|00002fb0| 65 6c 6c 2e 0a 0a 52 55 | 4c 45 20 38 3a 0a 20 20 |ell...RU|LE 8:. |
|00002fc0| 20 20 20 20 20 20 20 20 | 54 68 69 73 20 72 75 6c | |This rul|
|00002fd0| 65 20 64 6f 65 73 20 6e | 6f 74 20 61 6c 6c 6f 77 |e does n|ot allow|
|00002fe0| 20 66 6f 72 20 73 79 6e | 74 61 78 20 6c 69 6b 65 | for syn|tax like|
|00002ff0| 3a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:. | |
|00003000| 70 67 6d 20 2d 69 20 66 | 69 6c 65 31 20 66 69 6c |pgm -i f|ile1 fil|
|00003010| 65 32 20 66 69 6c 65 33 | 20 2d 6f 20 66 69 6c 65 |e2 file3| -o file|
|00003020| 34 20 66 69 6c 65 35 0a | 20 20 20 20 20 20 20 20 |4 file5.| |
|00003030| 20 20 62 75 74 20 74 68 | 69 73 20 20 69 73 20 20 | but th|is is |
|00003040| 6e 6f 74 20 20 76 65 72 | 79 20 63 6f 6d 6d 6f 6e |not ver|y common|
|00003050| 2e 20 20 20 20 50 6c 61 | 63 69 6e 67 20 20 71 75 |. Pla|cing qu|
|00003060| 6f 74 65 73 0a 20 20 20 | 20 20 20 20 20 20 20 61 |otes. | a|
|00003070| 72 6f 75 6e 64 20 74 68 | 65 20 66 69 6c 65 73 20 |round th|e files |
|00003080| 69 73 20 6e 6f 74 20 74 | 6f 6f 20 62 61 64 2e 0a |is not t|oo bad..|
|00003090| 0a 52 55 4c 45 20 39 3a | 0a 20 20 20 20 20 20 20 |.RULE 9:|. |
|000030a0| 20 20 20 57 68 65 6e 20 | 6f 70 74 69 6f 6e 73 20 | When |options |
|000030b0| 6d 75 73 74 20 20 70 72 | 65 63 65 64 65 20 6f 70 |must pr|ecede op|
|000030c0| 65 72 61 6e 64 73 20 28 | 65 2e 67 2e 2c 20 20 66 |erands (|e.g., f|
|000030d0| 69 6c 65 73 29 0a 20 20 | 20 20 20 20 20 20 20 20 |iles). | |
|000030e0| 73 65 76 65 72 61 6c 20 | 70 72 61 63 74 69 63 65 |several |practice|
|000030f0| 73 20 20 61 72 65 20 20 | 6e 6f 74 20 20 73 75 70 |s are |not sup|
|00003100| 70 6f 72 74 65 64 2e 20 | 20 20 20 4f 6e 65 20 20 |ported. | One |
|00003110| 69 73 0a 20 20 20 20 20 | 20 20 20 20 20 63 68 6f |is. | cho|
|00003120| 6f 73 69 6e 67 20 61 20 | 73 65 74 20 20 6f 66 20 |osing a |set of |
|00003130| 6f 70 74 69 6f 6e 73 20 | 66 6f 72 20 20 6f 6e 65 |options |for one|
|00003140| 20 66 69 6c 65 20 61 6e | 64 20 20 74 68 65 6e 0a | file an|d then.|
|00003150| 20 20 20 20 20 20 20 20 | 20 20 73 6f 6d 65 20 6f | | some o|
|00003160| 70 74 69 6f 6e 73 20 66 | 6f 72 20 61 6e 6f 74 68 |ptions f|or anoth|
|00003170| 65 72 2e 20 20 49 6e 73 | 74 65 61 64 20 6f 66 20 |er. Ins|tead of |
|00003180| 74 68 69 73 2c 20 74 77 | 6f 20 6f 72 0a 20 20 20 |this, tw|o or. |
|00003190| 20 20 20 20 20 20 20 6d | 6f 72 65 20 63 6f 6d 6d | m|ore comm|
|000031a0| 61 6e 64 20 6c 69 6e 65 | 73 20 61 72 65 20 6e 65 |and line|s are ne|
|000031b0| 65 64 65 64 2c 20 20 62 | 75 74 20 74 68 69 73 20 |eded, b|ut this |
|000031c0| 69 73 20 6e 6f 74 20 20 | 61 0a 20 20 20 20 20 20 |is not |a. |
|000031d0| 20 20 20 20 73 65 72 69 | 6f 75 73 20 70 65 6e 61 | seri|ous pena|
|000031e0| 6c 74 79 20 20 66 6f 72 | 20 20 6d 6f 73 74 20 20 |lty for| most |
|000031f0| 63 6f 6d 6d 61 6e 64 73 | 2c 20 20 61 6e 64 20 20 |commands|, and |
|00003200| 6e 6f 74 20 20 61 0a 20 | 20 20 20 20 20 20 20 20 |not a. | |
|00003210| 20 63 6f 6d 6d 6f 6e 20 | 6e 65 65 64 2e 20 20 54 | common |need. T|
|00003220| 68 65 20 20 73 65 63 6f | 6e 64 20 75 6e 73 75 70 |he seco|nd unsup|
|00003230| 70 6f 72 74 65 64 20 70 | 72 61 63 74 69 63 65 20 |ported p|ractice |
|00003240| 20 69 73 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 | is. | th|
|00003250| 61 74 20 6f 66 20 74 68 | 69 6e 6b 69 6e 67 20 6f |at of th|inking o|
|00003260| 66 20 20 6f 70 74 69 6f | 6e 73 20 61 66 74 65 72 |f optio|ns after|
|00003270| 20 74 79 70 69 6e 67 20 | 6d 6f 73 74 20 20 6f 66 | typing |most of|
|00003280| 0a 20 20 20 20 20 20 20 | 20 20 20 74 68 65 20 20 |. | the |
|00003290| 63 6f 6d 6d 61 6e 64 20 | 20 20 6c 69 6e 65 3b 20 |command | line; |
|000032a0| 20 69 66 20 20 20 6f 70 | 74 69 6f 6e 73 20 20 6d | if op|tions m|
|000032b0| 75 73 74 20 20 20 70 72 | 65 63 65 64 65 0a 20 20 |ust pr|ecede. |
|000032c0| 20 20 20 20 20 20 20 20 | 6f 70 65 72 61 6e 64 73 | |operands|
|000032d0| 2c 20 74 68 65 6e 20 74 | 68 65 79 20 6d 75 73 74 |, then t|hey must|
|000032e0| 20 62 65 20 69 6e 73 65 | 72 74 65 64 2e 20 20 57 | be inse|rted. W|
|000032f0| 68 69 6c 65 20 20 74 68 | 69 73 0a 20 20 20 20 20 |hile th|is. |
|00003300| 20 20 20 20 20 63 61 6e | 20 62 65 20 61 77 6b 77 | can| be awkw|
|00003310| 61 72 64 20 20 66 6f 72 | 20 73 6f 6d 65 20 70 72 |ard for| some pr|
|00003320| 69 6d 69 74 69 76 65 20 | 20 73 68 65 6c 6c 73 2c |imitive | shells,|
|00003330| 20 69 74 20 20 69 73 0a | 20 20 20 20 20 20 20 20 | it is.| |
|00003340| 20 20 62 65 73 74 20 68 | 61 6e 64 6c 65 64 20 77 | best h|andled w|
|00003350| 69 74 68 20 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e |ith com|mand lin|
|00003360| 65 20 20 65 64 69 74 69 | 6e 67 2c 20 73 75 63 68 |e editi|ng, such|
|00003370| 20 20 61 73 0a 20 20 20 | 20 20 20 20 20 20 20 74 | as. | t|
|00003380| 68 61 74 20 69 6e 20 6b | 73 68 2e 0a 0a 52 55 4c |hat in k|sh...RUL|
|00003390| 45 20 31 30 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |E 10:. | |
|000033a0| 59 6f 75 20 72 65 61 6c | 6c 79 20 6e 65 65 64 20 |You real|ly need |
|000033b0| 2d 2d 20 74 6f 20 20 64 | 65 6c 69 6d 69 74 20 74 |-- to d|elimit t|
|000033c0| 68 65 20 65 6e 64 20 6f | 66 20 20 6f 70 74 69 6f |he end o|f optio|
|000033d0| 6e 73 0a 20 20 20 20 20 | 20 20 20 20 20 73 6f 20 |ns. | so |
|000033e0| 74 68 61 74 20 66 69 6c | 65 73 20 6f 72 20 65 78 |that fil|es or ex|
|000033f0| 70 72 65 73 73 69 6f 6e | 73 20 74 68 61 74 20 62 |pression|s that b|
|00003400| 65 67 69 6e 20 77 69 74 | 68 20 2d 20 63 61 6e 0a |egin wit|h - can.|
|00003410| 20 20 20 20 20 20 20 20 | 20 20 62 65 20 70 72 6f | | be pro|
|00003420| 63 65 73 73 65 64 2e 20 | 20 54 68 65 20 73 74 72 |cessed. | The str|
|00003430| 69 6e 67 20 20 2d 2d 20 | 77 61 73 20 75 73 65 64 |ing -- |was used|
|00003440| 20 62 65 63 61 75 73 65 | 20 20 6f 66 0a 20 20 20 | because| of. |
|00003450| 20 20 20 20 20 20 20 67 | 65 74 6f 70 74 27 73 20 | g|etopt's |
|00003460| 75 73 65 2e 20 20 20 54 | 68 69 73 20 69 73 20 6e |use. T|his is n|
|00003470| 6f 74 20 20 61 20 73 74 | 72 6f 6e 67 20 20 6d 6f |ot a st|rong mo|
|00003480| 74 69 76 61 74 69 6f 6e | 2c 0a 20 20 20 20 20 20 |tivation|,. |
|00003490| 20 20 20 20 62 65 63 61 | 75 73 65 20 61 74 20 74 | beca|use at t|
|000034a0| 68 65 20 74 69 6d 65 20 | 6f 66 20 74 68 65 20 73 |he time |of the s|
|000034b0| 74 61 6e 64 61 72 64 2c | 20 6f 6e 6c 79 20 61 62 |tandard,| only ab|
|000034c0| 6f 75 74 20 34 30 0a 20 | 20 20 20 20 20 20 20 20 |out 40. | |
|000034d0| 20 63 6f 6d 6d 61 6e 64 | 73 20 75 73 65 64 20 67 | command|s used g|
|000034e0| 65 74 6f 70 74 2e 20 20 | 53 74 69 6c 6c 2c 20 20 |etopt. |Still, |
|000034f0| 69 74 20 73 65 65 6d 73 | 20 61 73 20 67 6f 6f 64 |it seems| as good|
|00003500| 20 20 61 0a 20 20 20 20 | 20 20 20 20 20 20 64 65 | a. | de|
|00003510| 6c 69 6d 69 74 65 72 20 | 61 73 20 61 6e 79 2e 0a |limiter |as any..|
|00003520| 0a 0a 52 55 4c 45 20 31 | 31 3a 0a 20 20 20 20 20 |..RULE 1|1:. |
|00003530| 20 20 20 20 20 49 20 64 | 6f 20 6e 6f 74 20 6b 6e | I d|o not kn|
|00003540| 6f 77 20 77 68 79 20 74 | 68 65 20 6f 72 64 65 72 |ow why t|he order|
|00003550| 20 6f 66 20 6f 70 74 69 | 6f 6e 73 20 73 68 6f 75 | of opti|ons shou|
|00003560| 6c 64 20 20 6e 6f 74 0a | 20 20 20 20 20 20 20 20 |ld not.| |
|00003570| 20 20 6d 61 74 74 65 72 | 2e 20 20 49 74 20 64 6f | matter|. It do|
|00003580| 65 73 20 6d 61 74 74 65 | 72 20 20 69 6e 20 63 6f |es matte|r in co|
|00003590| 6d 6d 61 6e 64 73 20 6c | 69 6b 65 20 63 63 20 20 |mmands l|ike cc |
|000035a0| 28 69 65 2e 0a 20 20 20 | 20 20 20 20 20 20 20 6c |(ie.. | l|
|000035b0| 64 29 20 74 68 61 74 20 | 72 65 71 75 69 72 65 73 |d) that |requires|
|000035c0| 20 61 20 73 70 65 63 69 | 61 6c 20 6f 72 64 65 72 | a speci|al order|
|000035d0| 69 6e 67 20 74 6f 20 6c | 69 62 72 61 72 69 65 73 |ing to l|ibraries|
|000035e0| 2e 0a 0a 52 55 4c 45 20 | 31 32 3a 0a 20 20 20 20 |...RULE |12:. |
|000035f0| 20 20 20 20 20 20 54 68 | 69 73 20 72 75 6c 65 20 | Th|is rule |
|00003600| 73 61 79 73 20 74 68 61 | 74 20 74 68 65 20 70 72 |says tha|t the pr|
|00003610| 6f 67 72 61 6d 6d 65 72 | 20 63 61 6e 20 63 68 6f |ogrammer| can cho|
|00003620| 6f 73 65 20 20 61 6e 79 | 0a 20 20 20 20 20 20 20 |ose any|. |
|00003630| 20 20 20 6d 65 61 6e 69 | 6e 67 20 74 6f 20 77 68 | meani|ng to wh|
|00003640| 61 74 20 66 6f 6c 6c 6f | 77 73 20 74 68 65 20 6f |at follo|ws the o|
|00003650| 70 74 69 6f 6e 73 2e 20 | 20 4d 61 6b 65 73 20 20 |ptions. | Makes |
|00003660| 73 65 6e 73 65 0a 20 20 | 20 20 20 20 20 20 20 20 |sense. | |
|00003670| 74 6f 20 6d 65 2e 0a 0a | 52 55 4c 45 20 31 33 3a |to me...|RULE 13:|
|00003680| 0a 20 20 20 20 20 20 20 | 20 20 20 54 68 65 72 65 |. | There|
|00003690| 20 69 73 20 73 6f 6d 65 | 20 74 72 61 64 69 74 69 | is some| traditi|
|000036a0| 6f 6e 20 61 6e 64 20 61 | 20 64 65 66 69 6e 69 74 |on and a| definit|
|000036b0| 65 20 6e 65 65 64 20 74 | 6f 20 20 62 65 0a 20 20 |e need t|o be. |
|000036c0| 20 20 20 20 20 20 20 20 | 61 62 6c 65 20 74 6f 20 | |able to |
|000036d0| 69 6e 73 65 72 74 20 74 | 68 65 20 73 74 61 6e 64 |insert t|he stand|
|000036e0| 61 72 64 20 20 69 6e 70 | 75 74 20 69 6e 74 6f 20 |ard inp|ut into |
|000036f0| 61 20 6c 69 73 74 20 20 | 6f 66 0a 20 20 20 20 20 |a list |of. |
|00003700| 20 20 20 20 20 66 69 6c | 65 73 2e 20 20 54 68 65 | fil|es. The|
|00003710| 20 2d 20 68 61 73 20 62 | 65 65 6e 20 75 73 65 64 | - has b|een used|
|00003720| 20 69 6e 20 61 20 66 65 | 77 20 63 6f 6d 6d 61 6e | in a fe|w comman|
|00003730| 64 73 2c 20 61 6e 64 0a | 20 20 20 20 20 20 20 20 |ds, and.| |
|00003740| 20 20 74 68 65 72 65 20 | 77 65 72 65 20 6e 6f 20 | there |were no |
|00003750| 6c 69 6b 65 6c 79 20 63 | 6f 6e 74 65 6e 64 65 72 |likely c|ontender|
|00003760| 73 2e 0a 0a 4d 79 20 69 | 6d 70 72 65 73 73 69 6f |s...My i|mpressio|
|00003770| 6e 20 69 73 20 74 68 61 | 74 20 20 74 68 65 20 48 |n is tha|t the H|
|00003780| 26 41 20 73 74 61 6e 64 | 61 72 64 20 69 73 20 20 |&A stand|ard is |
|00003790| 6f 6e 65 20 77 65 20 63 | 61 6e 20 20 6c 69 76 65 |one we c|an live|
|000037a0| 0a 77 69 74 68 2e 20 20 | 20 49 74 20 69 73 20 20 |.with. | It is |
|000037b0| 6e 6f 74 20 74 68 65 20 | 20 73 6f 72 74 20 6f 66 |not the | sort of|
|000037c0| 20 20 73 79 6e 74 61 78 | 20 74 68 61 74 20 20 73 | syntax| that s|
|000037d0| 6f 6d 65 6f 6e 65 20 20 | 6d 69 67 68 74 0a 64 65 |omeone |might.de|
|000037e0| 73 69 67 6e 20 66 72 6f | 6d 20 73 63 72 61 74 63 |sign fro|m scratc|
|000037f0| 68 2c 20 62 75 74 20 74 | 68 65 72 65 20 20 69 73 |h, but t|here is|
|00003800| 20 61 20 6e 65 65 64 20 | 66 6f 72 20 20 63 6f 6d | a need |for com|
|00003810| 70 61 74 69 62 69 6c 69 | 74 79 0a 77 69 74 68 20 |patibili|ty.with |
|00003820| 6f 6c 64 20 20 73 79 6e | 74 61 78 2c 20 6e 6f 74 |old syn|tax, not|
|00003830| 20 20 6a 75 73 74 20 66 | 6f 72 20 20 75 73 65 72 | just f|or user|
|00003840| 20 63 6f 6d 66 6f 72 74 | 2c 20 20 62 75 74 20 61 | comfort|, but a|
|00003850| 6c 73 6f 20 20 74 6f 0a | 61 76 6f 69 64 20 62 72 |lso to.|avoid br|
|00003860| 65 61 6b 69 6e 67 20 20 | 74 68 6f 75 73 61 6e 64 |eaking |thousand|
|00003870| 73 20 20 6f 66 20 73 68 | 65 6c 6c 20 20 73 63 72 |s of sh|ell scr|
|00003880| 69 70 74 73 20 20 61 6e | 64 20 20 73 79 73 74 65 |ipts an|d syste|
|00003890| 6d 28 33 29 0a 63 61 6c | 6c 73 20 74 6f 20 55 4e |m(3).cal|ls to UN|
|000038a0| 49 58 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 73 |IX comma|nd lines|
|000038b0| 2e 20 20 59 65 73 2c 20 | 74 68 65 72 65 20 69 73 |. Yes, |there is|
|000038c0| 20 73 6f 6d 65 20 6d 6f | 72 65 20 74 79 70 69 6e | some mo|re typin|
|000038d0| 67 0a 72 65 71 75 69 72 | 65 64 2c 20 62 75 74 20 |g.requir|ed, but |
|000038e0| 49 20 74 68 69 6e 6b 20 | 69 74 20 20 69 73 20 6e |I think |it is n|
|000038f0| 6f 74 20 61 20 68 69 67 | 68 20 20 70 72 69 63 65 |ot a hig|h price|
|00003900| 20 74 6f 20 70 61 79 20 | 66 6f 72 20 20 61 0a 73 | to pay |for a.s|
|00003910| 65 74 20 6f 66 20 63 6f | 6e 76 65 6e 74 69 6f 6e |et of co|nvention|
|00003920| 73 20 79 6f 75 20 63 61 | 6e 20 66 69 74 20 6f 6e |s you ca|n fit on|
|00003930| 20 61 20 73 6d 61 6c 6c | 20 63 61 72 64 2e 20 20 | a small| card. |
|00003940| 54 6f 20 67 65 74 20 20 | 61 6c 6c 0a 74 68 65 20 |To get |all.the |
|00003950| 20 74 69 6d 65 2d 73 61 | 76 65 72 73 20 20 77 65 | time-sa|vers we|
|00003960| 20 20 6c 69 6b 65 2c 20 | 20 20 74 68 65 20 20 73 | like, | the s|
|00003970| 79 6e 74 61 78 20 20 67 | 65 74 73 20 20 6d 75 63 |yntax g|ets muc|
|00003980| 68 20 20 20 6d 6f 72 65 | 0a 63 6f 6d 70 6c 69 63 |h more|.complic|
|00003990| 61 74 65 64 2c 20 77 68 | 69 63 68 20 20 49 20 20 |ated, wh|ich I |
|000039a0| 74 68 69 6e 6b 20 20 69 | 73 20 20 6f 6e 65 20 20 |think i|s one |
|000039b0| 72 65 61 73 6f 6e 20 20 | 66 6f 72 20 20 74 68 65 |reason |for the|
|000039c0| 20 20 62 61 64 0a 72 65 | 70 75 74 61 74 69 6f 6e | bad.re|putation|
|000039d0| 20 55 4e 49 58 20 68 61 | 73 20 65 61 72 6e 65 64 | UNIX ha|s earned|
|000039e0| 2e 0a 0a 57 68 61 74 20 | 61 62 6f 75 74 20 65 78 |...What |about ex|
|000039f0| 69 73 74 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 73 3f |isting c|ommands?|
|00003a00| 20 20 4c 61 73 74 20 49 | 20 68 65 61 72 64 2c 20 | Last I| heard, |
|00003a10| 74 68 65 20 70 6c 61 6e | 20 77 61 73 20 74 6f 0a |the plan| was to.|
|00003a20| 66 69 72 73 74 20 77 6f | 72 6b 20 6f 6e 20 74 68 |first wo|rk on th|
|00003a30| 65 20 20 65 61 73 79 20 | 63 61 73 65 73 2c 20 74 |e easy |cases, t|
|00003a40| 68 65 20 20 63 6f 6d 6d | 61 6e 64 73 20 74 68 61 |he comm|ands tha|
|00003a50| 74 20 77 65 72 65 20 20 | 76 65 72 79 0a 63 6c 6f |t were |very.clo|
|00003a60| 73 65 20 74 6f 20 74 68 | 65 20 73 74 61 6e 64 61 |se to th|e standa|
|00003a70| 72 64 2e 20 20 20 53 6f | 6d 65 20 63 6f 6d 6d 61 |rd. So|me comma|
|00003a80| 6e 64 73 20 77 6f 75 6c | 64 20 6e 6f 74 20 62 65 |nds woul|d not be|
|00003a90| 20 20 63 68 61 6e 67 65 | 64 0a 62 75 74 20 62 65 | change|d.but be|
|00003aa0| 20 72 65 70 6c 61 63 65 | 64 20 20 62 79 20 6e 65 | replace|d by ne|
|00003ab0| 77 20 20 70 72 6f 67 72 | 61 6d 73 20 74 68 61 74 |w progr|ams that|
|00003ac0| 20 77 6f 75 6c 64 20 20 | 70 68 61 73 65 20 6f 75 | would |phase ou|
|00003ad0| 74 20 20 74 68 65 0a 6f | 6c 64 2e 20 20 20 53 6f |t the.o|ld. So|
|00003ae0| 6d 65 20 20 65 78 61 6d | 70 6c 65 73 20 6f 66 20 |me exam|ples of |
|00003af0| 63 6f 6d 6d 61 6e 64 73 | 20 20 77 69 74 68 20 65 |commands| with e|
|00003b00| 78 74 72 65 6d 65 6c 79 | 20 20 64 69 66 66 69 63 |xtremely| diffic|
|00003b10| 75 6c 74 0a 73 79 6e 74 | 61 78 20 61 72 65 20 22 |ult.synt|ax are "|
|00003b20| 70 72 22 20 61 6e 64 20 | 22 73 6f 72 74 22 2e 20 |pr" and |"sort". |
|00003b30| 20 54 68 65 20 22 74 65 | 73 74 22 20 63 6f 6d 6d | The "te|st" comm|
|00003b40| 61 6e 64 20 69 73 20 20 | 66 69 6e 65 73 73 65 64 |and is |finessed|
|00003b50| 0a 62 79 20 73 61 79 69 | 6e 67 20 20 74 68 61 74 |.by sayi|ng that|
|00003b60| 20 20 69 74 20 64 6f 65 | 73 20 20 6e 6f 74 20 20 | it doe|s not |
|00003b70| 75 73 65 20 6f 70 74 69 | 6f 6e 73 2c 20 20 62 75 |use opti|ons, bu|
|00003b80| 74 20 20 61 20 20 73 70 | 65 63 69 61 6c 0a 65 78 |t a sp|ecial.ex|
|00003b90| 70 72 65 73 73 69 6f 6e | 20 6c 61 6e 67 75 61 67 |pression| languag|
|00003ba0| 65 2e 20 20 54 68 65 20 | 22 66 69 6e 64 22 20 63 |e. The |"find" c|
|00003bb0| 6f 6d 6d 61 6e 64 20 63 | 6f 75 6c 64 20 62 65 20 |ommand c|ould be |
|00003bc0| 64 65 61 6c 74 20 77 69 | 74 68 0a 73 69 6d 69 6c |dealt wi|th.simil|
|00003bd0| 61 72 6c 79 2e 20 20 20 | 20 54 68 65 20 20 22 64 |arly. | The "d|
|00003be0| 64 22 20 20 63 6f 6d 6d | 61 6e 64 2c 20 20 77 69 |d" comm|and, wi|
|00003bf0| 74 68 20 20 6e 61 6d 65 | 2d 76 61 6c 75 65 20 20 |th name|-value |
|00003c00| 20 66 6f 72 6d 61 74 0a | 6f 70 74 69 6f 6e 73 2c | format.|options,|
|00003c10| 20 6f 72 69 67 69 6e 61 | 6c 6c 79 20 20 64 65 73 | origina|lly des|
|00003c20| 69 67 6e 65 64 20 61 73 | 20 20 61 20 70 61 72 6f |igned as| a paro|
|00003c30| 64 79 20 20 6f 66 20 74 | 68 65 20 20 49 42 4d 20 |dy of t|he IBM |
|00003c40| 20 44 44 2c 0a 77 6f 75 | 6c 64 20 6e 6f 74 20 63 | DD,.wou|ld not c|
|00003c50| 68 61 6e 67 65 2e 0a 2d | 2d 20 0a 47 61 72 79 20 |hange..-|- .Gary |
|00003c60| 50 65 72 6c 6d 61 6e 20 | 20 57 61 6e 67 20 49 6e |Perlman | Wang In|
|00003c70| 73 74 69 74 75 74 65 20 | 20 54 79 6e 67 73 62 6f |stitute | Tyngsbo|
|00003c80| 72 6f 2c 20 4d 41 20 30 | 31 38 37 39 20 20 28 36 |ro, MA 0|1879 (6|
|00003c90| 31 37 29 20 36 34 39 2d | 39 37 33 31 0a 55 55 43 |17) 649-|9731.UUC|
|00003ca0| 50 3a 20 64 65 63 76 61 | 78 21 77 61 6e 67 69 6e |P: decva|x!wangin|
|00003cb0| 73 74 21 70 65 72 6c 6d | 61 6e 20 20 20 20 20 20 |st!perlm|an |
|00003cc0| 20 20 20 20 20 20 20 43 | 53 4e 45 54 3a 20 70 65 | C|SNET: pe|
|00003cd0| 72 6c 6d 61 6e 40 77 61 | 6e 67 69 6e 73 74 0a 0a |rlman@wa|nginst..|
|00003ce0| 56 6f 6c 75 6d 65 2d 4e | 75 6d 62 65 72 3a 20 56 |Volume-N|umber: V|
|00003cf0| 6f 6c 75 6d 65 20 33 2c | 20 4e 75 6d 62 65 72 20 |olume 3,| Number |
|00003d00| 33 0a 0a 46 72 6f 6d 20 | 6a 73 71 20 20 57 65 64 |3..From |jsq Wed|
|00003d10| 20 4e 6f 76 20 20 36 20 | 31 38 3a 31 34 3a 32 38 | Nov 6 |18:14:28|
|00003d20| 20 31 39 38 35 0a 50 61 | 74 68 3a 20 75 74 2d 73 | 1985.Pa|th: ut-s|
|00003d30| 61 6c 6c 79 21 73 74 64 | 2d 75 6e 69 78 0a 46 72 |ally!std|-unix.Fr|
|00003d40| 6f 6d 3a 20 73 74 64 2d | 75 6e 69 78 40 75 74 2d |om: std-|unix@ut-|
|00003d50| 73 61 6c 6c 79 2e 55 55 | 43 50 20 28 4d 6f 64 65 |sally.UU|CP (Mode|
|00003d60| 72 61 74 6f 72 2c 20 4a | 6f 68 6e 20 51 75 61 72 |rator, J|ohn Quar|
|00003d70| 74 65 72 6d 61 6e 29 0a | 4e 65 77 73 67 72 6f 75 |terman).|Newsgrou|
|00003d80| 70 73 3a 20 6d 6f 64 2e | 73 74 64 2e 75 6e 69 78 |ps: mod.|std.unix|
|00003d90| 0a 53 75 62 6a 65 63 74 | 3a 20 6c 6f 73 74 20 6d |.Subject|: lost m|
|00003da0| 61 69 6c 0a 4d 65 73 73 | 61 67 65 2d 49 64 3a 20 |ail.Mess|age-Id: |
|00003db0| 3c 33 33 39 32 40 75 74 | 2d 73 61 6c 6c 79 2e 55 |<3392@ut|-sally.U|
|00003dc0| 55 43 50 3e 0a 44 61 74 | 65 3a 20 37 20 4e 6f 76 |UCP>.Dat|e: 7 Nov|
|00003dd0| 20 38 35 20 30 30 3a 31 | 34 3a 31 33 20 47 4d 54 | 85 00:1|4:13 GMT|
|00003de0| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 49 |.Organiz|ation: I|
|00003df0| 45 45 45 2f 50 31 30 30 | 33 20 50 6f 72 74 61 62 |EEE/P100|3 Portab|
|00003e00| 6c 65 20 4f 70 65 72 61 | 74 69 6e 67 20 53 79 73 |le Opera|ting Sys|
|00003e10| 74 65 6d 20 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |tem Envi|ronment |
|00003e20| 43 6f 6d 6d 69 74 74 65 | 65 0a 4c 69 6e 65 73 3a |Committe|e.Lines:|
|00003e30| 20 35 0a 41 70 70 72 6f | 76 65 64 3a 20 6a 73 71 | 5.Appro|ved: jsq|
|00003e40| 40 75 74 2d 73 61 6c 6c | 79 2e 55 55 43 50 0a 44 |@ut-sall|y.UUCP.D|
|00003e50| 72 61 66 74 2d 39 3a 20 | 6d 6f 64 2e 73 74 64 2e |raft-9: |mod.std.|
|00003e60| 75 6e 69 78 0a 0a 53 6f | 6d 65 6f 6e 65 20 6d 61 |unix..So|meone ma|
|00003e70| 69 6c 65 64 20 6d 65 20 | 61 20 66 6f 6c 6c 6f 77 |iled me |a follow|
|00003e80| 75 70 20 74 6f 20 74 68 | 65 20 70 72 65 76 69 6f |up to th|e previo|
|00003e90| 75 73 20 61 72 74 69 63 | 6c 65 2e 0a 49 27 6d 20 |us artic|le..I'm |
|00003ea0| 61 66 72 61 69 64 20 49 | 20 6d 61 6e 61 67 65 64 |afraid I| managed|
|00003eb0| 20 74 6f 20 6c 6f 73 65 | 20 69 74 20 64 75 72 69 | to lose| it duri|
|00003ec0| 6e 67 20 61 20 66 69 72 | 65 20 64 72 69 6c 6c 20 |ng a fir|e drill |
|00003ed0| 74 68 69 73 20 6d 6f 72 | 6e 69 6e 67 2c 0a 61 6e |this mor|ning,.an|
|00003ee0| 64 20 49 20 64 6f 6e 27 | 74 20 72 65 6d 65 6d 62 |d I don'|t rememb|
|00003ef0| 65 72 20 77 68 6f 20 69 | 74 20 77 61 73 2e 20 20 |er who i|t was. |
|00003f00| 43 6f 75 6c 64 20 79 6f | 75 20 70 6c 65 61 73 65 |Could yo|u please|
|00003f10| 20 6d 61 69 6c 20 61 6e | 6f 74 68 65 72 20 63 6f | mail an|other co|
|00003f20| 70 79 3f 0a 0a 56 6f 6c | 75 6d 65 2d 4e 75 6d 62 |py?..Vol|ume-Numb|
|00003f30| 65 72 3a 20 56 6f 6c 75 | 6d 65 20 33 2c 20 4e 75 |er: Volu|me 3, Nu|
|00003f40| 6d 62 65 72 20 34 0a 0a | 46 72 6f 6d 20 6a 73 71 |mber 4..|From jsq|
|00003f50| 20 20 46 72 69 20 4e 6f | 76 20 20 38 20 32 30 3a | Fri No|v 8 20:|
|00003f60| 33 38 3a 33 33 20 31 39 | 38 35 0a 50 61 74 68 3a |38:33 19|85.Path:|
|00003f70| 20 75 74 2d 73 61 6c 6c | 79 21 73 74 64 2d 75 6e | ut-sall|y!std-un|
|00003f80| 69 78 0a 46 72 6f 6d 3a | 20 73 74 64 2d 75 6e 69 |ix.From:| std-uni|
|00003f90| 78 40 75 74 2d 73 61 6c | 6c 79 2e 55 55 43 50 20 |x@ut-sal|ly.UUCP |
|00003fa0| 28 4d 6f 64 65 72 61 74 | 6f 72 2c 20 4a 6f 68 6e |(Moderat|or, John|
|00003fb0| 20 51 75 61 72 74 65 72 | 6d 61 6e 29 0a 4e 65 77 | Quarter|man).New|
|00003fc0| 73 67 72 6f 75 70 73 3a | 20 6d 6f 64 2e 73 74 64 |sgroups:| mod.std|
|00003fd0| 2e 75 6e 69 78 0a 53 75 | 62 6a 65 63 74 3a 20 49 |.unix.Su|bject: I|
|00003fe0| 73 20 53 49 47 49 4c 4c | 20 6f 6d 69 74 74 65 64 |s SIGILL| omitted|
|00003ff0| 20 66 72 6f 6d 20 74 68 | 65 20 6c 69 73 74 20 6f | from th|e list o|
|00004000| 66 20 22 68 61 72 64 77 | 61 72 65 22 20 73 69 67 |f "hardw|are" sig|
|00004010| 6e 61 6c 73 20 66 6f 72 | 20 67 6f 6f 64 20 72 65 |nals for| good re|
|00004020| 61 73 6f 6e 3f 0a 4d 65 | 73 73 61 67 65 2d 49 64 |ason?.Me|ssage-Id|
|00004030| 3a 20 3c 33 34 32 35 40 | 75 74 2d 73 61 6c 6c 79 |: <3425@|ut-sally|
|00004040| 2e 55 55 43 50 3e 0a 44 | 61 74 65 3a 20 39 20 4e |.UUCP>.D|ate: 9 N|
|00004050| 6f 76 20 38 35 20 30 32 | 3a 33 38 3a 32 37 20 47 |ov 85 02|:38:27 G|
|00004060| 4d 54 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|00004070| 20 49 45 45 45 2f 50 31 | 30 30 33 20 50 6f 72 74 | IEEE/P1|003 Port|
|00004080| 61 62 6c 65 20 4f 70 65 | 72 61 74 69 6e 67 20 53 |able Ope|rating S|
|00004090| 79 73 74 65 6d 20 45 6e | 76 69 72 6f 6e 6d 65 6e |ystem En|vironmen|
|000040a0| 74 20 43 6f 6d 6d 69 74 | 74 65 65 0a 4c 69 6e 65 |t Commit|tee.Line|
|000040b0| 73 3a 20 35 33 0a 41 70 | 70 72 6f 76 65 64 3a 20 |s: 53.Ap|proved: |
|000040c0| 6a 73 71 40 75 74 2d 73 | 61 6c 6c 79 2e 55 55 43 |jsq@ut-s|ally.UUC|
|000040d0| 50 0a 44 72 61 66 74 2d | 39 3a 20 33 2e 33 2e 31 |P.Draft-|9: 3.3.1|
|000040e0| 0a 0a 54 68 69 73 20 69 | 73 20 74 68 65 20 66 69 |..This i|s the fi|
|000040f0| 72 73 74 20 6f 66 20 61 | 20 73 65 72 69 65 73 20 |rst of a| series |
|00004100| 6f 66 20 61 72 74 69 63 | 6c 65 73 20 63 6f 6e 73 |of artic|les cons|
|00004110| 69 73 74 69 6e 67 20 6d | 6f 73 74 6c 79 20 6f 66 |isting m|ostly of|
|00004120| 20 6d 61 69 6c 0a 69 74 | 65 6d 73 20 66 72 6f 6d | mail.it|ems from|
|00004130| 20 52 6f 62 65 72 74 20 | 45 6c 7a 20 61 62 6f 75 | Robert |Elz abou|
|00004140| 74 20 50 31 30 30 33 20 | 44 72 61 66 74 20 34 2e |t P1003 |Draft 4.|
|00004150| 20 20 54 68 65 79 20 68 | 61 76 65 20 61 6c 6c 20 | They h|ave all |
|00004160| 62 65 65 6e 20 67 69 76 | 65 6e 20 74 6f 0a 74 68 |been giv|en to.th|
|00004170| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 73 65 |e approp|riate se|
|00004180| 63 74 69 6f 6e 20 72 65 | 76 69 65 77 65 72 73 20 |ction re|viewers |
|00004190| 6f 6e 20 74 68 65 20 50 | 31 30 30 33 20 63 6f 6d |on the P|1003 com|
|000041a0| 6d 69 74 74 65 65 20 61 | 6e 64 20 77 69 6c 6c 20 |mittee a|nd will |
|000041b0| 62 65 0a 74 61 6b 65 6e | 20 69 6e 74 6f 20 61 63 |be.taken| into ac|
|000041c0| 63 6f 75 6e 74 20 64 75 | 72 69 6e 67 20 74 68 65 |count du|ring the|
|000041d0| 20 54 72 69 61 6c 20 55 | 73 65 20 62 61 6c 6c 6f | Trial U|se ballo|
|000041e0| 74 69 6e 67 20 70 72 6f | 63 65 73 73 2e 20 20 54 |ting pro|cess. T|
|000041f0| 68 65 79 20 61 72 65 0a | 69 6e 74 65 72 73 70 65 |hey are.|interspe|
|00004200| 72 73 65 64 20 68 65 72 | 65 20 77 69 74 68 20 63 |rsed her|e with c|
|00004210| 6f 6d 6d 65 6e 74 73 20 | 62 79 20 44 6f 75 67 20 |omments |by Doug |
|00004220| 47 77 79 6e 20 28 6d 61 | 72 6b 65 64 20 2d 47 77 |Gwyn (ma|rked -Gw|
|00004230| 79 6e 29 20 77 68 69 63 | 68 0a 61 72 72 69 76 65 |yn) whic|h.arrive|
|00004240| 64 20 62 79 20 6d 61 69 | 6c 20 61 66 74 65 72 20 |d by mai|l after |
|00004250| 44 72 61 66 74 20 35 20 | 77 61 73 20 61 76 61 69 |Draft 5 |was avai|
|00004260| 6c 61 62 6c 65 20 62 75 | 74 20 62 65 66 6f 72 65 |lable bu|t before|
|00004270| 20 74 68 65 20 44 61 6c | 6c 61 73 0a 53 74 65 65 | the Dal|las.Stee|
|00004280| 72 69 6e 67 20 47 72 6f | 75 70 20 6d 65 65 74 69 |ring Gro|up meeti|
|00004290| 6e 67 2e 20 20 43 6f 6d | 6d 65 6e 74 73 20 66 72 |ng. Com|ments fr|
|000042a0| 6f 6d 20 44 6f 6e 20 4b | 72 65 74 73 63 68 20 28 |om Don K|retsch (|
|000042b0| 6d 61 72 6b 65 64 20 2d | 4b 72 65 74 73 63 68 29 |marked -|Kretsch)|
|000042c0| 0a 77 65 72 65 20 63 6f | 6c 6c 65 63 74 65 64 20 |.were co|llected |
|000042d0| 61 74 20 74 68 65 20 44 | 61 6c 6c 61 73 20 6d 65 |at the D|allas me|
|000042e0| 65 74 69 6e 67 2e 20 20 | 49 20 68 61 76 65 20 61 |eting. |I have a|
|000042f0| 64 64 65 64 20 73 6f 6d | 65 20 6d 6f 72 65 20 28 |dded som|e more (|
|00004300| 6d 61 72 6b 65 64 0a 2d | 6a 73 71 29 20 77 68 69 |marked.-|jsq) whi|
|00004310| 6c 65 20 70 72 65 70 61 | 72 69 6e 67 20 74 68 65 |le prepa|ring the|
|00004320| 73 65 20 61 72 74 69 63 | 6c 65 73 20 66 6f 72 20 |se artic|les for |
|00004330| 70 6f 73 74 69 6e 67 2e | 20 20 41 6c 6c 20 74 68 |posting.| All th|
|00004340| 65 20 6c 61 74 74 65 72 | 20 74 68 72 65 65 0a 70 |e latter| three.p|
|00004350| 65 6f 70 6c 65 20 61 72 | 65 20 6d 65 6d 62 65 72 |eople ar|e member|
|00004360| 73 20 6f 66 20 74 68 65 | 20 50 31 30 30 33 20 77 |s of the| P1003 w|
|00004370| 6f 72 6b 69 6e 67 20 67 | 72 6f 75 70 2e 20 20 44 |orking g|roup. D|
|00004380| 6f 6e 20 4b 72 65 74 73 | 63 68 20 69 73 20 61 6c |on Krets|ch is al|
|00004390| 73 6f 20 61 0a 6d 65 6d | 62 65 72 20 6f 66 20 58 |so a.mem|ber of X|
|000043a0| 33 4a 31 31 20 61 6e 64 | 20 69 73 20 74 68 65 20 |3J11 and| is the |
|000043b0| 6d 61 69 6e 20 6c 69 61 | 69 73 6f 6e 20 62 65 74 |main lia|ison bet|
|000043c0| 77 65 65 6e 20 74 68 65 | 20 74 77 6f 20 63 6f 6d |ween the| two com|
|000043d0| 6d 69 74 74 65 65 73 2e | 0a 0a 54 68 65 20 75 73 |mittees.|..The us|
|000043e0| 75 61 6c 20 64 69 73 63 | 6c 61 69 6d 65 72 20 61 |ual disc|laimer a|
|000043f0| 70 70 6c 69 65 73 3a 20 | 20 6e 6f 74 68 69 6e 67 |pplies: | nothing|
|00004400| 20 70 6f 73 74 65 64 20 | 69 6e 20 74 68 69 73 20 | posted |in this |
|00004410| 6e 65 77 73 67 72 6f 75 | 70 0a 62 79 20 61 20 63 |newsgrou|p.by a c|
|00004420| 6f 6d 6d 69 74 74 65 65 | 20 6d 65 6d 62 65 72 20 |ommittee| member |
|00004430| 6e 65 63 65 73 73 61 72 | 69 6c 79 20 72 65 70 72 |necessar|ily repr|
|00004440| 65 73 65 6e 74 73 20 74 | 68 65 20 6f 66 66 69 63 |esents t|he offic|
|00004450| 69 61 6c 0a 70 6f 73 69 | 74 69 6f 6e 20 6f 66 20 |ial.posi|tion of |
|00004460| 49 45 45 45 2c 20 50 31 | 30 30 33 2c 20 6f 72 20 |IEEE, P1|003, or |
|00004470| 61 6e 79 20 6f 74 68 65 | 72 20 6f 72 67 61 6e 69 |any othe|r organi|
|00004480| 7a 61 74 69 6f 6e 2e 0a | 0a 53 75 62 6d 69 73 73 |zation..|.Submiss|
|00004490| 69 6f 6e 73 20 64 6f 20 | 6e 6f 74 20 6f 72 64 69 |ions do |not ordi|
|000044a0| 6e 61 72 69 6c 79 20 73 | 69 74 20 61 72 6f 75 6e |narily s|it aroun|
|000044b0| 64 20 66 6f 72 20 61 20 | 6d 6f 6e 74 68 20 62 65 |d for a |month be|
|000044c0| 66 6f 72 65 0a 61 70 70 | 65 61 72 69 6e 67 20 69 |fore.app|earing i|
|000044d0| 6e 20 74 68 65 20 6e 65 | 77 73 67 72 6f 75 70 2e |n the ne|wsgroup.|
|000044e0| 20 20 54 68 65 20 6f 72 | 69 67 69 6e 61 6c 20 70 | The or|iginal p|
|000044f0| 6f 73 74 65 72 20 65 78 | 70 6c 69 63 69 74 6c 79 |oster ex|plicitly|
|00004500| 0a 72 65 71 75 65 73 74 | 65 64 20 74 68 61 74 20 |.request|ed that |
|00004510| 72 65 73 70 6f 6e 73 65 | 73 20 62 65 20 63 6f 6c |response|s be col|
|00004520| 6c 65 63 74 65 64 20 61 | 6e 64 20 70 6f 73 74 65 |lected a|nd poste|
|00004530| 64 20 77 69 74 68 20 68 | 69 73 20 6f 72 69 67 69 |d with h|is origi|
|00004540| 6e 61 6c 73 2e 0a 0a 54 | 68 65 20 63 6f 6d 6d 65 |nals...T|he comme|
|00004550| 6e 74 73 20 6f 6e 20 74 | 68 65 20 6f 72 69 67 69 |nts on t|he origi|
|00004560| 6e 61 6c 20 72 65 6d 61 | 72 6b 73 20 61 72 65 20 |nal rema|rks are |
|00004570| 6e 6f 74 20 6e 65 63 65 | 73 73 61 72 69 6c 79 20 |not nece|ssarily |
|00004580| 64 65 66 69 6e 69 74 69 | 76 65 2c 0a 61 6e 64 20 |definiti|ve,.and |
|00004590| 74 68 65 20 73 65 74 20 | 6f 66 20 70 65 6f 70 6c |the set |of peopl|
|000045a0| 65 20 77 68 6f 20 6d 61 | 64 65 20 74 68 65 6d 20 |e who ma|de them |
|000045b0| 69 73 20 70 72 65 74 74 | 79 20 61 72 62 69 74 72 |is prett|y arbitr|
|000045c0| 61 72 79 2e 0a 46 75 72 | 74 68 65 72 20 72 65 73 |ary..Fur|ther res|
|000045d0| 70 6f 6e 73 65 73 20 61 | 72 65 20 73 6f 6c 69 63 |ponses a|re solic|
|000045e0| 69 74 65 64 2e 0a 0a 44 | 61 74 65 3a 20 30 36 20 |ited...D|ate: 06 |
|000045f0| 4f 63 74 20 38 35 20 31 | 39 3a 32 36 3a 32 39 20 |Oct 85 1|9:26:29 |
|00004600| 2b 31 30 30 30 20 28 53 | 75 6e 29 0a 53 75 62 6a |+1000 (S|un).Subj|
|00004610| 65 63 74 3a 20 49 73 20 | 53 49 47 49 4c 4c 20 6f |ect: Is |SIGILL o|
|00004620| 6d 69 74 74 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |mitted f|rom the |
|00004630| 6c 69 73 74 20 6f 66 20 | 22 68 61 72 64 77 61 72 |list of |"hardwar|
|00004640| 65 22 20 73 69 67 6e 61 | 6c 73 20 66 6f 72 20 67 |e" signa|ls for g|
|00004650| 6f 6f 64 20 72 65 61 73 | 6f 6e 3f 0a 3e 46 72 6f |ood reas|on?.>Fro|
|00004660| 6d 3a 20 52 6f 62 65 72 | 74 20 45 6c 7a 20 3c 6d |m: Rober|t Elz <m|
|00004670| 75 6e 6e 61 72 69 21 6b | 72 65 40 73 65 69 73 6d |unnari!k|re@seism|
|00004680| 6f 2e 43 53 53 2e 47 4f | 56 3e 0a 0a 49 6e 20 50 |o.CSS.GO|V>..In P|
|00004690| 31 30 30 33 2f 44 34 2c | 20 73 65 63 74 69 6f 6e |1003/D4,| section|
|000046a0| 20 33 2e 33 2e 32 20 28 | 53 69 67 6e 61 6c 20 50 | 3.3.2 (|Signal P|
|000046b0| 72 6f 63 65 73 73 69 6e | 67 29 2c 20 74 68 65 72 |rocessin|g), ther|
|000046c0| 65 20 61 72 65 20 73 65 | 76 65 72 61 6c 0a 6d 65 |e are se|veral.me|
|000046d0| 6e 74 69 6f 6e 73 20 74 | 6f 20 61 20 6c 69 73 74 |ntions t|o a list|
|000046e0| 20 6f 66 20 64 69 73 74 | 69 6e 67 75 69 73 68 65 | of dist|inguishe|
|000046f0| 64 20 73 69 67 6e 61 6c | 73 2c 20 62 65 69 6e 67 |d signal|s, being|
|00004700| 0a 0a 09 53 49 47 54 52 | 41 50 20 53 49 47 49 4f |...SIGTR|AP SIGIO|
|00004710| 54 20 53 49 47 45 4d 54 | 20 53 49 47 46 50 45 20 |T SIGEMT| SIGFPE |
|00004720| 53 49 47 42 55 53 20 61 | 6e 64 20 53 49 47 53 45 |SIGBUS a|nd SIGSE|
|00004730| 47 56 0a 0a 54 68 65 73 | 65 20 61 72 65 20 74 68 |GV..Thes|e are th|
|00004740| 65 20 73 69 67 6e 61 6c | 73 20 74 6f 20 77 68 69 |e signal|s to whi|
|00004750| 63 68 20 6e 6f 6e 2d 72 | 65 63 6f 76 65 72 61 62 |ch non-r|ecoverab|
|00004760| 6c 65 20 68 61 72 64 77 | 61 72 65 20 65 72 72 6f |le hardw|are erro|
|00004770| 72 73 0a 73 68 6f 75 6c | 64 20 62 65 20 6d 61 70 |rs.shoul|d be map|
|00004780| 70 65 64 2c 20 74 68 65 | 20 61 63 74 69 6f 6e 20 |ped, the| action |
|00004790| 74 61 6b 65 6e 20 75 70 | 6f 6e 20 72 65 74 75 72 |taken up|on retur|
|000047a0| 6e 20 66 72 6f 6d 20 61 | 20 73 69 67 6e 61 6c 0a |n from a| signal.|
|000047b0| 68 61 6e 64 6c 65 72 20 | 61 66 74 65 72 20 6f 6e |handler |after on|
|000047c0| 65 20 6f 66 20 74 68 65 | 73 65 20 73 69 67 6e 61 |e of the|se signa|
|000047d0| 6c 73 20 69 73 20 75 6e | 64 65 66 69 6e 65 64 2c |ls is un|defined,|
|000047e0| 20 61 6e 64 20 53 49 47 | 41 42 52 54 0a 69 73 20 | and SIG|ABRT.is |
|000047f0| 74 6f 20 62 65 20 6d 61 | 70 70 65 64 20 74 6f 20 |to be ma|pped to |
|00004800| 6f 6e 65 20 6f 66 20 74 | 68 65 73 65 2e 0a 0a 49 |one of t|hese...I|
|00004810| 20 6e 6f 74 65 20 74 68 | 65 20 61 62 73 65 6e 73 | note th|e absens|
|00004820| 65 20 6f 66 20 53 49 47 | 49 4c 4c 20 66 72 6f 6d |e of SIG|ILL from|
|00004830| 20 74 68 69 73 20 6c 69 | 73 74 2c 20 61 6e 64 20 | this li|st, and |
|00004840| 77 6f 6e 64 65 72 20 77 | 68 79 3f 0a 0a 57 61 73 |wonder w|hy?..Was|
|00004850| 20 74 68 69 73 20 64 65 | 6c 69 62 65 72 61 74 65 | this de|liberate|
|00004860| 6c 79 20 6f 6d 69 74 74 | 65 64 20 2d 20 69 6e 20 |ly omitt|ed - in |
|00004870| 77 68 69 63 68 20 63 61 | 73 65 20 49 20 6f 62 6a |which ca|se I obj|
|00004880| 65 63 74 2c 20 61 73 0a | 61 20 53 49 47 49 4c 4c |ect, as.|a SIGILL|
|00004890| 20 69 73 20 71 75 69 74 | 65 20 6c 69 6b 65 6c 79 | is quit|e likely|
|000048a0| 20 74 68 65 20 62 65 73 | 74 20 63 68 6f 69 63 65 | the bes|t choice|
|000048b0| 20 66 6f 72 20 53 49 47 | 41 42 52 54 2c 20 61 6e | for SIG|ABRT, an|
|000048c0| 64 20 69 74 0a 63 65 72 | 74 61 69 6e 6c 79 20 6d |d it.cer|tainly m|
|000048d0| 61 79 20 62 65 20 75 6e | 64 65 66 69 6e 65 64 20 |ay be un|defined |
|000048e0| 77 68 61 74 20 77 69 6c | 6c 20 68 61 70 70 65 6e |what wil|l happen|
|000048f0| 20 75 70 6f 6e 20 72 65 | 74 75 72 6e 0a 66 72 6f | upon re|turn.fro|
|00004900| 6d 20 61 20 53 49 47 49 | 4c 4c 20 73 69 67 6e 61 |m a SIGI|LL signa|
|00004910| 6c 20 68 61 6e 64 6c 65 | 72 2e 20 20 4f 72 20 69 |l handle|r. Or i|
|00004920| 73 20 74 68 69 73 20 61 | 20 6d 65 72 65 20 6f 76 |s this a| mere ov|
|00004930| 65 72 73 69 67 68 74 3f | 0a 0a 5b 20 53 49 47 49 |ersight?|..[ SIGI|
|00004940| 4c 4c 20 77 61 73 20 61 | 64 64 65 64 20 66 6f 72 |LL was a|dded for|
|00004950| 20 44 72 61 66 74 20 35 | 2e 20 20 46 6f 72 20 73 | Draft 5|. For s|
|00004960| 6f 6d 65 20 72 65 61 73 | 6f 6e 2c 20 44 72 61 66 |ome reas|on, Draf|
|00004970| 74 20 35 0a 73 74 69 6c | 6c 20 64 6f 65 73 20 6e |t 5.stil|l does n|
|00004980| 6f 74 20 70 65 72 6d 69 | 74 20 53 49 47 41 42 52 |ot permi|t SIGABR|
|00004990| 54 20 74 6f 20 62 65 20 | 64 65 66 69 6e 65 64 20 |T to be |defined |
|000049a0| 61 73 20 53 49 47 49 4c | 4c 3b 20 49 0a 64 6f 6e |as SIGIL|L; I.don|
|000049b0| 27 74 20 75 6e 64 65 72 | 73 74 61 6e 64 20 77 68 |'t under|stand wh|
|000049c0| 79 20 6e 6f 74 2e 20 20 | 49 20 74 68 6f 75 67 68 |y not. |I though|
|000049d0| 74 20 69 74 20 77 61 73 | 20 67 6f 69 6e 67 20 74 |t it was| going t|
|000049e0| 6f 20 62 65 0a 61 6c 6c | 6f 77 65 64 3b 20 6f 6e |o be.all|owed; on|
|000049f0| 6c 79 20 53 49 47 46 50 | 45 20 73 68 6f 75 6c 64 |ly SIGFP|E should|
|00004a00| 20 62 65 20 64 69 73 61 | 6c 6c 6f 77 65 64 20 61 | be disa|llowed a|
|00004a10| 73 20 53 49 47 41 42 52 | 54 2e 20 2d 47 77 79 6e |s SIGABR|T. -Gwyn|
|00004a20| 20 5d 0a 0a 52 6f 62 65 | 72 74 20 45 6c 7a 09 09 | ]..Robe|rt Elz..|
|00004a30| 73 65 69 73 6d 6f 21 6d | 75 6e 6e 61 72 69 21 6b |seismo!m|unnari!k|
|00004a40| 72 65 09 6b 72 65 25 6d | 75 6e 6e 61 72 69 2e 6f |re.kre%m|unnari.o|
|00004a50| 7a 40 73 65 69 73 6d 6f | 2e 63 73 73 2e 67 6f 76 |z@seismo|.css.gov|
|00004a60| 0a 0a 56 6f 6c 75 6d 65 | 2d 4e 75 6d 62 65 72 3a |..Volume|-Number:|
|00004a70| 20 56 6f 6c 75 6d 65 20 | 33 2c 20 4e 75 6d 62 65 | Volume |3, Numbe|
|00004a80| 72 20 35 0a 0a 46 72 6f | 6d 20 6a 73 71 20 20 46 |r 5..Fro|m jsq F|
|00004a90| 72 69 20 4e 6f 76 20 20 | 38 20 32 30 3a 33 38 3a |ri Nov |8 20:38:|
|00004aa0| 35 36 20 31 39 38 35 0a | 50 61 74 68 3a 20 75 74 |56 1985.|Path: ut|
|00004ab0| 2d 73 61 6c 6c 79 21 73 | 74 64 2d 75 6e 69 78 0a |-sally!s|td-unix.|
|00004ac0| 46 72 6f 6d 3a 20 73 74 | 64 2d 75 6e 69 78 40 75 |From: st|d-unix@u|
|00004ad0| 74 2d 73 61 6c 6c 79 2e | 55 55 43 50 20 28 4d 6f |t-sally.|UUCP (Mo|
|00004ae0| 64 65 72 61 74 6f 72 2c | 20 4a 6f 68 6e 20 51 75 |derator,| John Qu|
|00004af0| 61 72 74 65 72 6d 61 6e | 29 0a 4e 65 77 73 67 72 |arterman|).Newsgr|
|00004b00| 6f 75 70 73 3a 20 6d 6f | 64 2e 73 74 64 2e 75 6e |oups: mo|d.std.un|
|00004b10| 69 78 0a 53 75 62 6a 65 | 63 74 3a 20 54 68 65 20 |ix.Subje|ct: The |
|00004b20| 76 61 72 69 61 62 6c 65 | 20 22 65 72 72 6e 6f 22 |variable| "errno"|
|00004b30| 2e 0a 4d 65 73 73 61 67 | 65 2d 49 64 3a 20 3c 33 |..Messag|e-Id: <3|
|00004b40| 34 32 36 40 75 74 2d 73 | 61 6c 6c 79 2e 55 55 43 |426@ut-s|ally.UUC|
|00004b50| 50 3e 0a 44 61 74 65 3a | 20 39 20 4e 6f 76 20 38 |P>.Date:| 9 Nov 8|
|00004b60| 35 20 30 32 3a 33 38 3a | 35 31 20 47 4d 54 0a 4f |5 02:38:|51 GMT.O|
|00004b70| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 49 45 45 |rganizat|ion: IEE|
|00004b80| 45 2f 50 31 30 30 33 20 | 50 6f 72 74 61 62 6c 65 |E/P1003 |Portable|
|00004b90| 20 4f 70 65 72 61 74 69 | 6e 67 20 53 79 73 74 65 | Operati|ng Syste|
|00004ba0| 6d 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 20 43 6f |m Enviro|nment Co|
|00004bb0| 6d 6d 69 74 74 65 65 0a | 4c 69 6e 65 73 3a 20 35 |mmittee.|Lines: 5|
|00004bc0| 31 0a 41 70 70 72 6f 76 | 65 64 3a 20 6a 73 71 40 |1.Approv|ed: jsq@|
|00004bd0| 75 74 2d 73 61 6c 6c 79 | 2e 55 55 43 50 0a 44 72 |ut-sally|.UUCP.Dr|
|00004be0| 61 66 74 2d 39 3a 20 32 | 2e 35 0a 0a 44 61 74 65 |aft-9: 2|.5..Date|
|00004bf0| 3a 20 30 36 20 4f 63 74 | 20 38 35 20 31 39 3a 31 |: 06 Oct| 85 19:1|
|00004c00| 39 3a 35 33 20 2b 31 30 | 30 30 20 28 53 75 6e 29 |9:53 +10|00 (Sun)|
|00004c10| 0a 3e 46 72 6f 6d 3a 20 | 52 6f 62 65 72 74 20 45 |.>From: |Robert E|
|00004c20| 6c 7a 20 3c 6d 75 6e 6e | 61 72 69 21 6b 72 65 40 |lz <munn|ari!kre@|
|00004c30| 73 65 69 73 6d 6f 2e 43 | 53 53 2e 47 4f 56 3e 0a |seismo.C|SS.GOV>.|
|00004c40| 0a 53 65 63 74 69 6f 6e | 20 32 2e 33 20 6f 66 20 |.Section| 2.3 of |
|00004c50| 64 72 61 66 74 20 34 20 | 5b 20 53 65 63 74 69 6f |draft 4 |[ Sectio|
|00004c60| 6e 20 32 2e 34 20 6f 66 | 20 44 72 61 66 74 20 35 |n 2.4 of| Draft 5|
|00004c70| 20 2d 6a 73 71 20 5d 0a | 6f 66 20 77 6f 72 6b 69 | -jsq ].|of worki|
|00004c80| 6e 67 20 67 72 6f 75 70 | 20 50 31 30 30 33 20 6f |ng group| P1003 o|
|00004c90| 66 20 28 65 74 63 2c 20 | 65 74 63 20 6f 66 29 20 |f (etc, |etc of) |
|00004ca0| 49 45 45 45 20 73 74 61 | 74 65 73 0a 0a 09 45 72 |IEEE sta|tes...Er|
|00004cb0| 72 6e 6f 20 69 73 20 6e | 6f 74 20 63 68 61 6e 67 |rno is n|ot chang|
|00004cc0| 65 64 20 6f 6e 20 73 75 | 63 63 65 73 73 66 75 6c |ed on su|ccessful|
|00004cd0| 20 63 61 6c 6c 73 2c 20 | 2e 2e 2e 0a 0a 54 68 69 | calls, |.....Thi|
|00004ce0| 73 20 69 73 20 61 20 73 | 74 72 6f 6e 67 65 72 20 |s is a s|tronger |
|00004cf0| 73 74 61 74 65 6d 65 6e | 74 20 74 68 61 6e 20 49 |statemen|t than I|
|00004d00| 20 77 6f 75 6c 64 20 6c | 69 6b 65 20 74 6f 20 73 | would l|ike to s|
|00004d10| 65 65 2e 20 20 41 67 61 | 69 6e 2c 0a 6d 79 20 72 |ee. Aga|in,.my r|
|00004d20| 65 61 73 6f 6e 20 69 73 | 20 74 68 61 74 20 74 68 |eason is| that th|
|00004d30| 69 73 20 69 6e 74 72 6f | 64 75 63 65 73 20 61 20 |is intro|duces a |
|00004d40| 64 69 73 74 69 6e 63 74 | 69 6f 6e 20 62 65 74 77 |distinct|ion betw|
|00004d50| 65 65 6e 20 74 68 65 0a | 6d 61 67 69 63 20 22 73 |een the.|magic "s|
|00004d60| 79 73 74 65 6d 20 63 61 | 6c 6c 22 20 61 6e 64 20 |ystem ca|ll" and |
|00004d70| 74 68 65 20 6f 72 64 69 | 6e 61 72 79 20 22 6c 69 |the ordi|nary "li|
|00004d80| 62 72 61 72 79 20 72 6f | 75 74 69 6e 65 22 2e 0a |brary ro|utine"..|
|00004d90| 0a 5b 20 4e 6f 2c 20 69 | 74 20 72 65 6d 6f 76 65 |.[ No, i|t remove|
|00004da0| 73 20 61 20 64 69 73 74 | 69 6e 63 74 69 6f 6e 20 |s a dist|inction |
|00004db0| 62 65 74 77 65 65 6e 20 | 74 68 65 6d 2e 20 20 49 |between |them. I|
|00004dc0| 74 20 69 73 20 72 65 61 | 6c 6c 79 20 61 0a 6d 69 |t is rea|lly a.mi|
|00004dd0| 73 66 65 61 74 75 72 65 | 20 74 68 61 74 20 73 6f |sfeature| that so|
|00004de0| 6d 65 20 6c 69 62 72 61 | 72 79 20 72 6f 75 74 69 |me libra|ry routi|
|00004df0| 6e 65 73 20 73 65 74 20 | 65 72 72 6e 6f 20 77 68 |nes set |errno wh|
|00004e00| 65 6e 20 74 68 65 79 0a | 68 61 76 65 20 6e 6f 74 |en they.|have not|
|00004e10| 20 66 61 69 6c 65 64 2e | 20 2d 47 77 79 6e 20 5d | failed.| -Gwyn ]|
|00004e20| 0a 0a 4d 75 63 68 20 62 | 65 74 74 65 72 20 77 6f |..Much b|etter wo|
|00004e30| 75 6c 64 20 73 69 6d 70 | 6c 79 20 62 65 20 74 6f |uld simp|ly be to|
|00004e40| 20 73 74 61 74 65 20 28 | 61 73 20 49 20 62 65 6c | state (|as I bel|
|00004e50| 69 65 76 65 20 74 68 65 | 20 41 4e 53 49 0a 43 20 |ieve the| ANSI.C |
|00004e60| 77 6f 72 6b 69 6e 67 20 | 67 72 6f 75 70 27 73 20 |working |group's |
|00004e70| 64 72 61 66 74 20 73 74 | 61 74 65 73 20 2d 20 74 |draft st|ates - t|
|00004e80| 68 6f 75 67 68 20 49 20 | 63 61 6e 27 74 20 66 69 |hough I |can't fi|
|00004e90| 6e 64 20 6d 79 20 63 6f | 70 79 0a 72 69 67 68 74 |nd my co|py.right|
|00004ea0| 20 6e 6f 77 29 20 74 68 | 61 74 20 22 65 72 72 6e | now) th|at "errn|
|00004eb0| 6f 20 69 73 20 64 65 66 | 69 6e 65 64 20 6f 6e 6c |o is def|ined onl|
|00004ec0| 79 20 61 66 74 65 72 20 | 75 6e 73 75 63 63 65 73 |y after |unsucces|
|00004ed0| 73 66 75 6c 0a 63 61 6c | 6c 73 20 74 6f 20 72 6f |sful.cal|ls to ro|
|00004ee0| 75 74 69 6e 65 73 20 77 | 68 65 72 65 20 69 74 20 |utines w|here it |
|00004ef0| 69 73 20 65 78 70 6c 69 | 63 69 74 6c 79 20 73 74 |is expli|citly st|
|00004f00| 61 74 65 64 20 74 6f 20 | 62 65 20 73 65 74 22 2e |ated to |be set".|
|00004f10| 0a 0a 54 68 61 74 20 69 | 73 2c 20 69 74 20 69 73 |..That i|s, it is|
|00004f20| 20 6f 6e 6c 79 20 6d 65 | 61 6e 69 6e 67 66 75 6c | only me|aningful|
|00004f30| 20 74 6f 20 74 65 73 74 | 20 65 72 72 6e 6f 20 61 | to test| errno a|
|00004f40| 66 74 65 72 20 61 20 66 | 75 6e 63 74 69 6f 6e 0a |fter a f|unction.|
|00004f50| 63 61 6c 6c 20 74 68 61 | 74 20 68 61 73 20 72 65 |call tha|t has re|
|00004f60| 74 75 72 6e 65 64 20 61 | 6e 20 65 72 72 6f 72 20 |turned a|n error |
|00004f70| 69 6e 64 69 63 61 74 69 | 6f 6e 2c 20 77 68 65 72 |indicati|on, wher|
|00004f80| 65 20 74 68 61 74 20 66 | 75 6e 63 74 69 6f 6e 0a |e that f|unction.|
|00004f90| 68 61 73 20 62 65 65 6e | 20 64 6f 63 75 6d 65 6e |has been| documen|
|00004fa0| 74 65 64 20 74 6f 20 73 | 65 74 20 65 72 72 6e 6f |ted to s|et errno|
|00004fb0| 20 74 6f 20 69 6e 64 69 | 63 61 74 65 20 74 68 65 | to indi|cate the|
|00004fc0| 20 63 61 75 73 65 20 6f | 66 20 74 68 65 0a 65 72 | cause o|f the.er|
|00004fd0| 72 6f 72 2e 20 20 54 68 | 61 74 20 69 6e 63 6c 75 |ror. Th|at inclu|
|00004fe0| 64 65 73 20 61 6c 6c 20 | 73 79 73 74 65 6d 20 63 |des all |system c|
|00004ff0| 61 6c 6c 73 2c 20 61 6e | 64 20 73 6f 6d 65 20 6c |alls, an|d some l|
|00005000| 69 62 72 61 72 79 20 72 | 6f 75 74 69 6e 65 73 2e |ibrary r|outines.|
|00005010| 0a 0a 5b 20 54 68 69 73 | 20 69 73 20 65 73 73 65 |..[ This| is esse|
|00005020| 6e 74 69 61 6c 6c 79 20 | 77 68 61 74 20 44 72 61 |ntially |what Dra|
|00005030| 66 74 20 35 20 73 61 79 | 73 20 61 62 6f 75 74 20 |ft 5 say|s about |
|00005040| 74 65 73 74 69 6e 67 20 | 65 72 72 6e 6f 2c 0a 61 |testing |errno,.a|
|00005050| 6c 74 68 6f 75 67 68 20 | 69 74 73 20 77 6f 72 64 |lthough |its word|
|00005060| 69 6e 67 20 69 73 20 73 | 6c 69 67 68 74 6c 79 20 |ing is s|lightly |
|00005070| 63 6f 6e 66 75 73 69 6e | 67 2e 20 20 2d 47 77 79 |confusin|g. -Gwy|
|00005080| 6e 20 5d 0a 0a 5b 20 57 | 68 69 63 68 20 69 73 20 |n ]..[ W|hich is |
|00005090| 65 78 61 63 74 6c 79 20 | 74 68 65 20 70 72 6f 62 |exactly |the prob|
|000050a0| 6c 65 6d 3a 20 20 65 76 | 65 6e 20 69 66 20 79 6f |lem: ev|en if yo|
|000050b0| 75 20 61 6c 72 65 61 64 | 79 20 6b 6e 6f 77 20 77 |u alread|y know w|
|000050c0| 68 61 74 20 69 74 20 77 | 61 73 0a 73 75 70 70 6f |hat it w|as.suppo|
|000050d0| 73 65 64 20 74 6f 20 6d | 65 61 6e 2c 20 79 6f 75 |sed to m|ean, you|
|000050e0| 20 68 61 76 65 20 74 6f | 20 72 65 61 64 20 69 74 | have to| read it|
|000050f0| 20 61 20 66 65 77 20 74 | 69 6d 65 73 20 74 6f 20 | a few t|imes to |
|00005100| 73 65 65 20 69 66 20 69 | 74 20 72 65 61 6c 6c 79 |see if i|t really|
|00005110| 0a 64 6f 65 73 2e 20 20 | 54 68 69 73 20 70 72 6f |.does. |This pro|
|00005120| 62 6c 65 6d 20 77 61 73 | 20 6d 65 6e 74 69 6f 6e |blem was| mention|
|00005130| 65 64 20 62 79 20 73 65 | 76 65 72 61 6c 20 70 65 |ed by se|veral pe|
|00005140| 6f 70 6c 65 20 61 74 20 | 74 68 65 20 53 74 65 65 |ople at |the Stee|
|00005150| 72 69 6e 67 0a 47 72 6f | 75 70 20 6d 65 65 74 69 |ring.Gro|up meeti|
|00005160| 6e 67 20 69 6e 20 44 61 | 6c 6c 61 73 2e 20 20 48 |ng in Da|llas. H|
|00005170| 6f 77 65 76 65 72 2c 20 | 74 68 61 74 20 67 72 6f |owever, |that gro|
|00005180| 75 70 20 77 61 73 20 6e | 6f 74 20 61 75 74 68 6f |up was n|ot autho|
|00005190| 72 69 7a 65 64 20 62 79 | 20 74 68 65 0a 63 6f 6d |rized by| the.com|
|000051a0| 6d 69 74 74 65 65 20 74 | 6f 20 6d 61 6b 65 20 73 |mittee t|o make s|
|000051b0| 75 62 73 74 61 6e 74 69 | 76 65 20 63 68 61 6e 67 |ubstanti|ve chang|
|000051c0| 65 73 20 74 6f 20 74 68 | 65 20 61 63 74 75 61 6c |es to th|e actual|
|000051d0| 20 64 72 61 66 74 2e 20 | 20 42 75 74 20 77 65 20 | draft. | But we |
|000051e0| 64 69 64 0a 61 64 64 20 | 61 20 6e 6f 74 65 20 69 |did.add |a note i|
|000051f0| 6e 20 61 6e 20 41 70 70 | 65 6e 64 69 78 20 65 78 |n an App|endix ex|
|00005200| 70 6c 61 69 6e 69 6e 67 | 20 74 68 65 20 70 72 6f |plaining| the pro|
|00005210| 62 6c 65 6d 2c 20 77 68 | 61 74 20 74 68 65 20 58 |blem, wh|at the X|
|00005220| 33 4a 31 31 20 64 72 61 | 66 74 0a 63 75 72 72 65 |3J11 dra|ft.curre|
|00005230| 6e 74 6c 79 20 73 61 79 | 73 2c 20 61 6e 64 20 61 |ntly say|s, and a|
|00005240| 20 70 72 6f 70 6f 73 65 | 64 20 62 65 74 74 65 72 | propose|d better|
|00005250| 20 77 6f 72 64 69 6e 67 | 2e 20 20 54 68 69 73 20 | wording|. This |
|00005260| 77 69 6c 6c 20 61 70 70 | 65 61 72 20 69 6e 0a 44 |will app|ear in.D|
|00005270| 72 61 66 74 20 36 2c 20 | 73 6f 20 74 68 61 74 20 |raft 6, |so that |
|00005280| 69 74 20 63 61 6e 20 62 | 65 20 74 61 6b 65 6e 20 |it can b|e taken |
|00005290| 69 6e 74 6f 20 61 63 63 | 6f 75 6e 74 20 64 75 72 |into acc|ount dur|
|000052a0| 69 6e 67 20 74 68 65 20 | 54 72 69 61 6c 20 55 73 |ing the |Trial Us|
|000052b0| 65 0a 62 61 6c 6c 6f 74 | 69 6e 67 2e 20 20 49 20 |e.ballot|ing. I |
|000052c0| 64 6f 20 6e 6f 74 20 75 | 6e 66 6f 72 74 75 6e 61 |do not u|nfortuna|
|000052d0| 74 65 6c 79 20 68 61 76 | 65 20 74 68 65 20 74 65 |tely hav|e the te|
|000052e0| 78 74 20 6f 66 20 74 68 | 61 74 20 6e 6f 74 65 2c |xt of th|at note,|
|000052f0| 20 61 73 20 49 0a 64 6f | 6e 27 74 20 68 61 76 65 | as I.do|n't have|
|00005300| 20 44 72 61 66 74 20 36 | 20 79 65 74 2e 0a 0a 44 | Draft 6| yet...D|
|00005310| 6f 6e 20 4b 72 65 74 73 | 63 68 20 70 6c 61 6e 73 |on Krets|ch plans|
|00005320| 20 74 6f 20 70 72 6f 70 | 6f 73 65 20 74 68 65 20 | to prop|ose the |
|00005330| 73 61 6d 65 20 77 6f 72 | 64 69 6e 67 20 61 73 20 |same wor|ding as |
|00005340| 74 68 61 74 20 6f 66 20 | 74 68 65 20 44 36 0a 61 |that of |the D6.a|
|00005350| 70 70 65 6e 64 69 78 20 | 74 6f 20 58 33 4a 31 31 |ppendix |to X3J11|
|00005360| 20 61 73 20 61 20 72 65 | 70 6c 61 63 65 6d 65 6e | as a re|placemen|
|00005370| 74 20 66 6f 72 20 74 68 | 65 69 72 20 63 75 72 72 |t for th|eir curr|
|00005380| 65 6e 74 20 77 6f 72 64 | 69 6e 67 2e 0a 2d 6a 73 |ent word|ing..-js|
|00005390| 71 20 5d 0a 0a 57 69 74 | 68 20 74 68 65 20 63 61 |q ]..Wit|h the ca|
|000053a0| 76 65 61 74 20 6f 6e 20 | 74 68 65 20 75 73 65 20 |veat on |the use |
|000053b0| 6f 66 20 22 65 72 72 6e | 6f 22 20 69 6e 20 73 65 |of "errn|o" in se|
|000053c0| 63 74 69 6f 6e 20 33 2e | 33 2e 32 2e 35 20 49 0a |ction 3.|3.2.5 I.|
|000053d0| 77 6f 6e 64 65 72 20 69 | 66 20 70 65 72 68 61 70 |wonder i|f perhap|
|000053e0| 73 20 69 74 73 20 64 61 | 79 73 20 61 72 65 20 6e |s its da|ys are n|
|000053f0| 6f 74 20 6e 75 6d 62 65 | 72 65 64 2e 20 20 49 20 |ot numbe|red. I |
|00005400| 77 6f 75 6c 64 20 68 61 | 76 65 0a 74 6f 20 74 68 |would ha|ve.to th|
|00005410| 69 6e 6b 20 77 68 61 74 | 20 6d 69 67 68 74 20 72 |ink what| might r|
|00005420| 65 70 6c 61 63 65 20 69 | 74 20 74 68 6f 75 67 68 |eplace i|t though|
|00005430| 2e 0a 0a 52 6f 62 65 72 | 74 20 45 6c 7a 09 09 73 |...Rober|t Elz..s|
|00005440| 65 69 73 6d 6f 21 6d 75 | 6e 6e 61 72 69 21 6b 72 |eismo!mu|nnari!kr|
|00005450| 65 09 6b 72 65 25 6d 75 | 6e 6e 61 72 69 2e 6f 7a |e.kre%mu|nnari.oz|
|00005460| 40 73 65 69 73 6d 6f 2e | 63 73 73 2e 67 6f 76 0a |@seismo.|css.gov.|
|00005470| 0a 56 6f 6c 75 6d 65 2d | 4e 75 6d 62 65 72 3a 20 |.Volume-|Number: |
|00005480| 56 6f 6c 75 6d 65 20 33 | 2c 20 4e 75 6d 62 65 72 |Volume 3|, Number|
|00005490| 20 36 0a 0a 46 72 6f 6d | 20 6a 73 71 20 20 46 72 | 6..From| jsq Fr|
|000054a0| 69 20 4e 6f 76 20 20 38 | 20 32 30 3a 33 39 3a 31 |i Nov 8| 20:39:1|
|000054b0| 39 20 31 39 38 35 0a 50 | 61 74 68 3a 20 75 74 2d |9 1985.P|ath: ut-|
|000054c0| 73 61 6c 6c 79 21 73 74 | 64 2d 75 6e 69 78 0a 46 |sally!st|d-unix.F|
|000054d0| 72 6f 6d 3a 20 73 74 64 | 2d 75 6e 69 78 40 75 74 |rom: std|-unix@ut|
|000054e0| 2d 73 61 6c 6c 79 2e 55 | 55 43 50 20 28 4d 6f 64 |-sally.U|UCP (Mod|
|000054f0| 65 72 61 74 6f 72 2c 20 | 4a 6f 68 6e 20 51 75 61 |erator, |John Qua|
|00005500| 72 74 65 72 6d 61 6e 29 | 0a 4e 65 77 73 67 72 6f |rterman)|.Newsgro|
|00005510| 75 70 73 3a 20 6d 6f 64 | 2e 73 74 64 2e 75 6e 69 |ups: mod|.std.uni|
|00005520| 78 0a 53 75 62 6a 65 63 | 74 3a 20 43 48 49 4c 44 |x.Subjec|t: CHILD|
|00005530| 5f 4d 41 58 20 61 73 20 | 61 20 63 6f 6e 73 74 61 |_MAX as |a consta|
|00005540| 6e 74 20 2d 20 69 73 20 | 69 74 20 6d 65 61 6e 69 |nt - is |it meani|
|00005550| 6e 67 66 75 6c 3f 0a 4d | 65 73 73 61 67 65 2d 49 |ngful?.M|essage-I|
|00005560| 64 3a 20 3c 33 34 32 37 | 40 75 74 2d 73 61 6c 6c |d: <3427|@ut-sall|
|00005570| 79 2e 55 55 43 50 3e 0a | 44 61 74 65 3a 20 39 20 |y.UUCP>.|Date: 9 |
|00005580| 4e 6f 76 20 38 35 20 30 | 32 3a 33 39 3a 31 34 20 |Nov 85 0|2:39:14 |
|00005590| 47 4d 54 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|000055a0| 3a 20 49 45 45 45 2f 50 | 31 30 30 33 20 50 6f 72 |: IEEE/P|1003 Por|
|000055b0| 74 61 62 6c 65 20 4f 70 | 65 72 61 74 69 6e 67 20 |table Op|erating |
|000055c0| 53 79 73 74 65 6d 20 45 | 6e 76 69 72 6f 6e 6d 65 |System E|nvironme|
|000055d0| 6e 74 20 43 6f 6d 6d 69 | 74 74 65 65 0a 4c 69 6e |nt Commi|ttee.Lin|
|000055e0| 65 73 3a 20 35 38 0a 41 | 70 70 72 6f 76 65 64 3a |es: 58.A|pproved:|
|000055f0| 20 6a 73 71 40 75 74 2d | 73 61 6c 6c 79 2e 55 55 | jsq@ut-|sally.UU|
|00005600| 43 50 0a 44 72 61 66 74 | 2d 39 3a 20 32 2e 39 0a |CP.Draft|-9: 2.9.|
|00005610| 0a 44 61 74 65 3a 20 30 | 36 20 4f 63 74 20 38 35 |.Date: 0|6 Oct 85|
|00005620| 20 31 38 3a 35 33 3a 30 | 35 20 2b 31 30 30 30 20 | 18:53:0|5 +1000 |
|00005630| 28 53 75 6e 29 0a 3e 46 | 72 6f 6d 3a 20 52 6f 62 |(Sun).>F|rom: Rob|
|00005640| 65 72 74 20 45 6c 7a 20 | 3c 6d 75 6e 6e 61 72 69 |ert Elz |<munnari|
|00005650| 21 6b 72 65 40 73 65 69 | 73 6d 6f 2e 43 53 53 2e |!kre@sei|smo.CSS.|
|00005660| 47 4f 56 3e 0a 0a 53 65 | 63 74 69 6f 6e 20 32 2e |GOV>..Se|ction 2.|
|00005670| 37 20 6f 66 20 50 31 30 | 30 33 20 64 72 61 66 74 |7 of P10|03 draft|
|00005680| 20 34 20 5b 20 53 65 63 | 74 69 6f 6e 20 32 2e 38 | 4 [ Sec|tion 2.8|
|00005690| 20 6f 66 20 44 72 61 66 | 74 20 35 20 2d 6a 73 71 | of Draf|t 5 -jsq|
|000056a0| 20 5d 0a 72 65 71 75 69 | 72 65 73 20 74 68 61 74 | ].requi|res that|
|000056b0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 73 | impleme|ntations|
|000056c0| 20 6d 75 73 74 20 64 65 | 66 69 6e 65 20 76 61 6c | must de|fine val|
|000056d0| 75 65 73 20 6f 66 20 63 | 65 72 74 61 69 6e 0a 63 |ues of c|ertain.c|
|000056e0| 6f 6e 73 74 61 6e 74 73 | 20 69 6e 20 3c 6c 69 6d |onstants| in <lim|
|000056f0| 69 74 73 2e 68 3e 2e 0a | 0a 4f 6e 65 20 6f 66 20 |its.h>..|.One of |
|00005700| 74 68 65 20 72 65 71 75 | 69 72 65 64 20 63 6f 6e |the requ|ired con|
|00005710| 73 74 61 6e 74 73 20 69 | 73 20 43 48 49 4c 44 5f |stants i|s CHILD_|
|00005720| 4d 41 58 2c 20 74 68 65 | 20 6d 61 78 69 6d 75 6d |MAX, the| maximum|
|00005730| 20 6e 75 6d 62 65 72 0a | 6f 66 20 6f 66 66 73 70 | number.|of offsp|
|00005740| 72 69 6e 67 20 70 65 72 | 20 75 73 65 72 69 64 2e |ring per| userid.|
|00005750| 0a 0a 54 68 69 73 20 64 | 65 66 69 6e 69 74 69 6f |..This d|efinitio|
|00005760| 6e 20 69 73 20 61 20 6c | 69 74 74 6c 65 20 74 6f |n is a l|ittle to|
|00005770| 20 76 61 67 75 65 20 74 | 6f 20 62 65 20 75 73 65 | vague t|o be use|
|00005780| 61 62 6c 65 20 28 69 74 | 20 6d 6f 73 74 20 6c 69 |able (it| most li|
|00005790| 6b 65 6c 79 0a 69 6e 74 | 65 6e 64 73 20 74 6f 20 |kely.int|ends to |
|000057a0| 73 70 65 63 69 66 79 20 | 74 68 65 20 6d 61 78 69 |specify |the maxi|
|000057b0| 6d 75 6d 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 72 |mum numb|er of pr|
|000057c0| 6f 63 65 73 73 65 73 20 | 70 65 72 20 75 73 65 72 |ocesses |per user|
|000057d0| 69 64 2c 20 69 74 20 6d | 61 79 0a 62 65 20 64 65 |id, it m|ay.be de|
|000057e0| 62 61 74 65 64 20 77 68 | 65 74 68 65 72 20 74 68 |bated wh|ether th|
|000057f0| 65 20 66 69 72 73 74 20 | 70 72 6f 63 65 73 73 20 |e first |process |
|00005800| 66 6f 72 20 61 20 75 73 | 65 72 69 64 20 69 73 20 |for a us|erid is |
|00005810| 61 6e 20 22 6f 66 66 73 | 70 72 69 6e 67 22 2c 0a |an "offs|pring",.|
|00005820| 69 74 20 69 73 20 61 6c | 73 6f 20 75 6e 6c 65 61 |it is al|so unlea|
|00005830| 72 20 77 68 65 74 68 65 | 72 20 74 68 69 73 20 61 |r whethe|r this a|
|00005840| 70 70 6c 69 65 73 20 74 | 6f 20 22 6f 66 66 73 70 |pplies t|o "offsp|
|00005850| 72 69 6e 67 22 20 66 72 | 6f 6d 20 73 6f 6d 65 0a |ring" fr|om some.|
|00005860| 70 61 72 74 69 63 75 6c | 61 72 20 70 72 6f 63 65 |particul|ar proce|
|00005870| 73 73 20 2d 20 70 65 72 | 68 61 70 73 20 74 68 65 |ss - per|haps the|
|00005880| 20 6d 61 78 69 6d 75 6d | 20 6e 75 6d 62 65 72 20 | maximum| number |
|00005890| 6f 66 20 70 72 6f 63 65 | 73 73 65 73 20 61 20 75 |of proce|sses a u|
|000058a0| 73 65 72 0a 69 73 20 70 | 65 72 6d 69 74 74 65 64 |ser.is p|ermitted|
|000058b0| 20 74 6f 20 72 75 6e 20 | 70 65 72 20 6c 6f 67 69 | to run |per logi|
|000058c0| 6e 20 73 65 73 73 69 6f | 6e 3f 29 0a 0a 54 68 69 |n sessio|n?)..Thi|
|000058d0| 73 20 63 61 6e 20 65 61 | 73 69 6c 79 20 62 65 20 |s can ea|sily be |
|000058e0| 66 69 78 65 64 2c 20 62 | 75 74 20 49 20 68 61 76 |fixed, b|ut I hav|
|000058f0| 65 20 61 20 6d 6f 72 65 | 20 73 65 72 69 6f 75 73 |e a more| serious|
|00005900| 20 63 6f 6d 70 6c 61 69 | 6e 74 3a 0a 0a 53 70 65 | complai|nt:..Spe|
|00005910| 63 69 66 79 69 6e 67 20 | 70 65 72 2d 75 73 65 72 |cifying |per-user|
|00005920| 69 64 20 6c 69 6d 69 74 | 73 20 61 73 20 63 6f 6e |id limit|s as con|
|00005930| 73 74 61 6e 74 73 20 28 | 74 68 61 74 20 69 73 2c |stants (|that is,|
|00005940| 20 72 65 71 75 69 72 69 | 6e 67 0a 61 6e 20 69 6d | requiri|ng.an im|
|00005950| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 74 6f 20 |plementa|tion to |
|00005960| 73 70 65 63 69 66 79 20 | 73 75 63 68 20 61 20 63 |specify |such a c|
|00005970| 6f 6e 73 74 61 6e 74 2c | 20 61 6e 64 20 63 6f 6e |onstant,| and con|
|00005980| 73 74 72 61 69 6e 69 6e | 67 0a 69 74 20 74 6f 20 |strainin|g.it to |
|00005990| 61 20 6d 69 6e 69 6d 75 | 6d 20 76 61 6c 75 65 20 |a minimu|m value |
|000059a0| 6f 66 20 74 68 61 74 20 | 63 6f 6e 73 74 61 6e 74 |of that |constant|
|000059b0| 29 20 64 6f 65 73 20 6e | 6f 74 20 73 65 65 6d 20 |) does n|ot seem |
|000059c0| 74 6f 20 62 65 0a 61 6e | 20 69 6e 74 65 6c 6c 69 |to be.an| intelli|
|000059d0| 67 65 6e 74 20 74 68 69 | 6e 67 20 74 6f 20 64 6f |gent thi|ng to do|
|000059e0| 2e 0a 0a 49 64 65 61 6c | 6c 79 2c 20 70 65 72 2d |...Ideal|ly, per-|
|000059f0| 75 73 65 72 69 64 20 6c | 69 6d 69 74 73 20 61 72 |userid l|imits ar|
|00005a00| 65 20 65 78 61 63 74 6c | 79 20 74 68 61 74 2c 20 |e exactl|y that, |
|00005a10| 73 65 74 20 69 6e 64 69 | 76 69 64 75 61 6c 6c 79 |set indi|vidually|
|00005a20| 0a 66 6f 72 20 69 6e 64 | 69 76 69 64 75 61 6c 20 |.for ind|ividual |
|00005a30| 75 73 65 72 73 2e 20 20 | 49 6e 20 61 6e 20 65 6e |users. |In an en|
|00005a40| 76 69 72 6f 6d 65 6e 74 | 20 6c 69 6b 65 20 74 68 |viroment| like th|
|00005a50| 69 73 20 28 61 67 61 69 | 6e 2c 20 6d 69 6e 65 29 |is (agai|n, mine)|
|00005a60| 0a 61 6d 20 49 20 74 6f | 20 73 65 74 20 43 48 49 |.am I to| set CHI|
|00005a70| 4c 44 5f 4d 41 58 20 74 | 6f 20 74 68 65 20 6d 61 |LD_MAX t|o the ma|
|00005a80| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ximum nu|mber of |
|00005a90| 70 72 6f 63 65 73 73 65 | 73 20 74 68 61 74 0a 61 |processe|s that.a|
|00005aa0| 6e 79 20 75 73 65 72 20 | 6d 61 79 20 6d 61 79 20 |ny user |may may |
|00005ab0| 68 61 76 65 20 72 75 6e | 6e 69 6e 67 20 28 77 68 |have run|ning (wh|
|00005ac0| 69 63 68 20 77 6f 75 6c | 64 20 62 65 20 74 68 65 |ich woul|d be the|
|00005ad0| 20 73 61 6d 65 20 61 73 | 20 50 52 4f 43 5f 4d 41 | same as| PROC_MA|
|00005ae0| 58 2c 0a 61 73 20 75 73 | 65 72 69 64 20 3d 3d 20 |X,.as us|erid == |
|00005af0| 30 20 6d 61 79 20 72 75 | 6e 20 74 68 69 73 20 6d |0 may ru|n this m|
|00005b00| 61 6e 79 2c 20 61 6e 64 | 20 61 73 20 73 75 63 68 |any, and| as such|
|00005b10| 20 77 6f 75 6c 64 20 62 | 65 20 61 20 6d 65 61 6e | would b|e a mean|
|00005b20| 69 6e 67 6c 65 73 73 0a | 76 61 6c 75 65 29 2c 20 |ingless.|value), |
|00005b30| 6f 72 20 73 68 6f 75 6c | 64 20 49 20 73 65 74 20 |or shoul|d I set |
|00005b40| 69 74 20 74 6f 20 74 68 | 65 20 6d 69 6e 69 6e 75 |it to th|e mininu|
|00005b50| 6d 20 76 61 6c 75 65 20 | 74 68 61 74 20 61 6e 79 |m value |that any|
|00005b60| 20 75 73 65 72 0a 77 69 | 6c 6c 20 65 76 65 72 20 | user.wi|ll ever |
|00005b70| 68 61 76 65 20 66 6f 72 | 20 74 68 65 20 6d 61 78 |have for| the max|
|00005b80| 69 6d 75 6d 20 6e 75 6d | 62 65 72 20 6f 66 20 70 |imum num|ber of p|
|00005b90| 72 6f 63 65 73 73 20 70 | 65 72 6d 69 74 74 65 64 |rocess p|ermitted|
|00005ba0| 20 74 6f 20 62 65 0a 72 | 75 6e 6e 69 6e 67 20 28 | to be.r|unning (|
|00005bb0| 66 6f 72 20 73 6f 6d 65 | 20 75 73 65 72 73 2c 20 |for some| users, |
|00005bc0| 74 68 61 74 20 77 69 6c | 6c 20 62 65 20 31 20 5b |that wil|l be 1 [|
|00005bd0| 61 73 69 64 65 3a 20 49 | 20 63 61 6e 20 67 69 76 |aside: I| can giv|
|00005be0| 65 0a 65 6e 74 69 72 65 | 6c 79 20 72 65 61 73 6f |e.entire|ly reaso|
|00005bf0| 6e 61 62 6c 65 20 6a 75 | 73 74 69 66 69 63 61 74 |nable ju|stificat|
|00005c00| 69 6f 6e 73 20 66 6f 72 | 20 74 68 69 73 20 6c 69 |ions for| this li|
|00005c10| 6d 69 74 20 2d 20 66 6f | 72 20 73 6f 6d 65 0a 75 |mit - fo|r some.u|
|00005c20| 73 65 72 69 64 73 20 77 | 68 6f 20 64 6f 20 6e 6f |serids w|ho do no|
|00005c30| 74 20 72 65 70 72 65 73 | 65 6e 74 20 68 75 6d 61 |t repres|ent huma|
|00005c40| 6e 73 5d 2c 20 61 67 61 | 69 6e 20 6d 61 6b 69 6e |ns], aga|in makin|
|00005c50| 67 20 74 68 65 20 63 6f | 6e 73 74 61 6e 74 20 75 |g the co|nstant u|
|00005c60| 73 65 6c 65 73 73 2e 0a | 49 20 63 6f 75 6c 64 20 |seless..|I could |
|00005c70| 73 65 74 20 69 74 20 74 | 6f 20 61 6e 20 61 72 62 |set it t|o an arb|
|00005c80| 69 74 72 61 72 79 20 61 | 70 70 72 6f 78 69 6d 61 |itrary a|pproxima|
|00005c90| 74 65 20 76 61 6c 75 65 | 20 2d 20 6f 6e 65 20 74 |te value| - one t|
|00005ca0| 68 61 74 0a 61 70 70 6c | 69 65 73 20 74 6f 20 6d |hat.appl|ies to m|
|00005cb0| 61 6e 79 2c 20 6f 72 20 | 6d 6f 73 74 2c 20 75 73 |any, or |most, us|
|00005cc0| 65 72 73 2c 20 62 75 74 | 20 74 68 61 74 20 68 61 |ers, but| that ha|
|00005cd0| 72 64 6c 79 20 73 65 65 | 6d 73 20 73 61 74 69 73 |rdly see|ms satis|
|00005ce0| 66 61 63 74 6f 72 79 0a | 65 69 74 68 65 72 2e 0a |factory.|either..|
|00005cf0| 0a 53 6f 2c 20 49 20 72 | 65 63 6f 6d 6d 65 6e 64 |.So, I r|ecommend|
|00005d00| 20 64 6f 69 6e 67 20 61 | 77 61 79 20 77 69 74 68 | doing a|way with|
|00005d10| 20 74 68 69 73 20 63 6f | 6e 73 74 61 6e 74 20 66 | this co|nstant f|
|00005d20| 72 6f 6d 20 3c 6c 69 6d | 69 74 73 2e 68 3e 2c 0a |rom <lim|its.h>,.|
|00005d30| 77 68 69 63 68 20 69 73 | 20 6e 6f 74 20 74 6f 20 |which is| not to |
|00005d40| 73 61 79 20 74 68 61 74 | 20 69 6d 70 6c 65 6d 65 |say that| impleme|
|00005d50| 6e 74 61 74 69 6f 6e 73 | 20 6d 61 79 20 6e 6f 74 |ntations| may not|
|00005d60| 20 69 6d 70 6f 73 65 20 | 73 75 63 68 0a 61 20 6c | impose |such.a l|
|00005d70| 69 6d 69 74 2c 20 6d 65 | 72 65 6c 79 20 74 68 61 |imit, me|rely tha|
|00005d80| 74 20 61 74 74 65 6d 70 | 74 69 6e 67 20 74 6f 20 |t attemp|ting to |
|00005d90| 73 70 65 63 69 66 79 20 | 74 68 65 20 76 61 6c 75 |specify |the valu|
|00005da0| 65 20 6f 66 20 74 68 65 | 0a 6c 69 6d 69 74 20 61 |e of the|.limit a|
|00005db0| 73 20 61 20 73 79 73 74 | 65 6d 20 77 69 64 65 20 |s a syst|em wide |
|00005dc0| 63 6f 6e 73 74 61 6e 74 | 20 69 73 20 6e 6f 74 20 |constant| is not |
|00005dd0| 72 65 61 73 6f 6e 61 62 | 6c 65 2e 0a 0a 5b 20 49 |reasonab|le...[ I|
|00005de0| 20 74 68 69 6e 6b 20 74 | 68 65 20 6a 75 73 74 69 | think t|he justi|
|00005df0| 66 69 63 61 74 69 6f 6e | 20 66 6f 72 20 43 48 49 |fication| for CHI|
|00005e00| 4c 44 5f 4d 41 58 20 77 | 61 73 20 74 68 61 74 20 |LD_MAX w|as that |
|00005e10| 73 6f 6d 65 0a 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |some.imp|lementat|
|00005e20| 69 6f 6e 73 20 64 6f 20 | 68 61 76 65 20 73 75 63 |ions do |have suc|
|00005e30| 68 20 61 20 6c 69 6d 69 | 74 20 28 66 6f 72 20 55 |h a limi|t (for U|
|00005e40| 49 44 73 20 6f 74 68 65 | 72 20 74 68 61 6e 20 30 |IDs othe|r than 0|
|00005e50| 29 2c 0a 61 6e 64 20 74 | 68 65 79 20 77 61 6e 74 |),.and t|hey want|
|00005e60| 65 64 20 74 6f 20 67 75 | 61 72 61 6e 74 65 65 20 |ed to gu|arantee |
|00005e70| 61 20 22 6d 69 6e 69 6d | 75 6d 20 6c 69 6d 69 74 |a "minim|um limit|
|00005e80| 22 20 6f 66 20 34 20 6f | 66 66 73 70 72 69 6e 67 |" of 4 o|ffspring|
|00005e90| 2e 0a 59 6f 75 72 20 61 | 72 67 75 6d 65 6e 74 20 |..Your a|rgument |
|00005ea0| 61 67 61 69 6e 73 74 20 | 43 48 49 4c 44 5f 4d 41 |against |CHILD_MA|
|00005eb0| 58 20 69 73 20 61 20 67 | 6f 6f 64 20 6f 6e 65 2c |X is a g|ood one,|
|00005ec0| 20 74 68 6f 75 67 68 2e | 0a 46 6f 72 20 6d 6f 72 | though.|.For mor|
|00005ed0| 65 20 67 65 6e 65 72 61 | 6c 20 6f 62 6a 65 63 74 |e genera|l object|
|00005ee0| 69 6f 6e 73 20 74 6f 20 | 3c 6c 69 6d 69 74 73 2e |ions to |<limits.|
|00005ef0| 68 3e 2c 20 73 65 65 20 | 66 61 72 74 68 65 72 20 |h>, see |farther |
|00005f00| 6f 6e 2e 2e 0a 2d 47 77 | 79 6e 20 5d 0a 0a 52 6f |on...-Gw|yn ]..Ro|
|00005f10| 62 65 72 74 20 45 6c 7a | 09 09 73 65 69 73 6d 6f |bert Elz|..seismo|
|00005f20| 21 6d 75 6e 6e 61 72 69 | 21 6b 72 65 09 6b 72 65 |!munnari|!kre.kre|
|00005f30| 25 6d 75 6e 6e 61 72 69 | 2e 6f 7a 40 73 65 69 73 |%munnari|.oz@seis|
|00005f40| 6d 6f 2e 63 73 73 2e 67 | 6f 76 0a 0a 5b 20 4e 6f |mo.css.g|ov..[ No|
|00005f50| 74 65 20 74 68 61 74 20 | 74 68 65 20 58 33 4a 31 |te that |the X3J1|
|00005f60| 31 20 64 72 61 66 74 20 | 68 61 73 20 74 68 65 20 |1 draft |has the |
|00005f70| 73 61 6d 65 20 70 72 6f | 62 6c 65 6d 73 20 61 73 |same pro|blems as|
|00005f80| 20 74 68 65 20 50 31 30 | 30 33 20 64 72 61 66 74 | the P10|03 draft|
|00005f90| 2c 0a 73 69 6e 63 65 20 | 74 68 65 79 20 68 61 76 |,.since |they hav|
|00005fa0| 65 20 6d 61 6e 79 20 6f | 66 20 74 68 65 20 73 61 |e many o|f the sa|
|00005fb0| 6d 65 20 63 6f 6e 73 74 | 61 6e 74 73 20 64 65 66 |me const|ants def|
|00005fc0| 69 6e 65 64 2c 20 61 6e | 64 20 77 68 65 72 65 20 |ined, an|d where |
|00005fd0| 74 68 61 74 20 69 73 20 | 73 6f 2c 0a 74 68 65 79 |that is |so,.they|
|00005fe0| 20 68 61 76 65 20 74 68 | 65 20 73 61 6d 65 20 64 | have th|e same d|
|00005ff0| 65 66 69 6e 69 74 69 6f | 6e 73 20 28 49 20 74 68 |efinitio|ns (I th|
|00006000| 69 6e 6b 20 50 31 30 30 | 33 20 67 6f 74 20 74 68 |ink P100|3 got th|
|00006010| 65 6d 20 66 72 6f 6d 20 | 58 33 4a 31 31 29 2e 0a |em from |X3J11)..|
|00006020| 58 33 4a 31 31 20 68 61 | 73 20 61 20 63 6f 70 79 |X3J11 ha|s a copy|
|00006030| 20 6f 66 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c | of the |original|
|00006040| 20 6d 61 69 6c 20 69 74 | 65 6d 73 20 74 68 72 6f | mail it|ems thro|
|00006050| 75 67 68 20 44 6f 6e 20 | 4b 72 65 74 73 63 68 2e |ugh Don |Kretsch.|
|00006060| 20 20 2d 6a 73 71 20 5d | 0a 0a 56 6f 6c 75 6d 65 | -jsq ]|..Volume|
|00006070| 2d 4e 75 6d 62 65 72 3a | 20 56 6f 6c 75 6d 65 20 |-Number:| Volume |
|00006080| 33 2c 20 4e 75 6d 62 65 | 72 20 37 0a 0a 46 72 6f |3, Numbe|r 7..Fro|
|00006090| 6d 20 6a 73 71 20 20 46 | 72 69 20 4e 6f 76 20 20 |m jsq F|ri Nov |
|000060a0| 38 20 32 30 3a 33 39 3a | 34 36 20 31 39 38 35 0a |8 20:39:|46 1985.|
|000060b0| 50 61 74 68 3a 20 75 74 | 2d 73 61 6c 6c 79 21 73 |Path: ut|-sally!s|
|000060c0| 74 64 2d 75 6e 69 78 0a | 46 72 6f 6d 3a 20 73 74 |td-unix.|From: st|
|000060d0| 64 2d 75 6e 69 78 40 75 | 74 2d 73 61 6c 6c 79 2e |d-unix@u|t-sally.|
|000060e0| 55 55 43 50 20 28 4d 6f | 64 65 72 61 74 6f 72 2c |UUCP (Mo|derator,|
|000060f0| 20 4a 6f 68 6e 20 51 75 | 61 72 74 65 72 6d 61 6e | John Qu|arterman|
|00006100| 29 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 6d 6f |).Newsgr|oups: mo|
|00006110| 64 2e 73 74 64 2e 75 6e | 69 78 0a 53 75 62 6a 65 |d.std.un|ix.Subje|
|00006120| 63 74 3a 20 66 6f 72 6b | 28 29 2c 20 45 41 47 41 |ct: fork|(), EAGA|
|00006130| 49 4e 2c 20 61 6e 64 20 | 43 48 49 4c 44 5f 4d 41 |IN, and |CHILD_MA|
|00006140| 58 0a 4d 65 73 73 61 67 | 65 2d 49 64 3a 20 3c 33 |X.Messag|e-Id: <3|
|00006150| 34 32 38 40 75 74 2d 73 | 61 6c 6c 79 2e 55 55 43 |428@ut-s|ally.UUC|
|00006160| 50 3e 0a 44 61 74 65 3a | 20 39 20 4e 6f 76 20 38 |P>.Date:| 9 Nov 8|
|00006170| 35 20 30 32 3a 33 39 3a | 33 37 20 47 4d 54 0a 4f |5 02:39:|37 GMT.O|
|00006180| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 49 45 45 |rganizat|ion: IEE|
|00006190| 45 2f 50 31 30 30 33 20 | 50 6f 72 74 61 62 6c 65 |E/P1003 |Portable|
|000061a0| 20 4f 70 65 72 61 74 69 | 6e 67 20 53 79 73 74 65 | Operati|ng Syste|
|000061b0| 6d 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 20 43 6f |m Enviro|nment Co|
|000061c0| 6d 6d 69 74 74 65 65 0a | 4c 69 6e 65 73 3a 20 36 |mmittee.|Lines: 6|
|000061d0| 38 0a 41 70 70 72 6f 76 | 65 64 3a 20 6a 73 71 40 |8.Approv|ed: jsq@|
|000061e0| 75 74 2d 73 61 6c 6c 79 | 2e 55 55 43 50 0a 44 72 |ut-sally|.UUCP.Dr|
|000061f0| 61 66 74 2d 39 3a 20 32 | 2e 39 20 33 2e 31 2e 31 |aft-9: 2|.9 3.1.1|
|00006200| 0a 0a 44 61 74 65 3a 20 | 30 36 20 4f 63 74 20 38 |..Date: |06 Oct 8|
|00006210| 35 20 31 38 3a 35 33 3a | 34 34 20 2b 31 30 30 30 |5 18:53:|44 +1000|
|00006220| 20 28 53 75 6e 29 0a 3e | 46 72 6f 6d 3a 20 52 6f | (Sun).>|From: Ro|
|00006230| 62 65 72 74 20 45 6c 7a | 20 3c 6d 75 6e 6e 61 72 |bert Elz| <munnar|
|00006240| 69 21 6b 72 65 40 73 65 | 69 73 6d 6f 2e 43 53 53 |i!kre@se|ismo.CSS|
|00006250| 2e 47 4f 56 3e 0a 0a 49 | 6e 20 73 65 63 74 69 6f |.GOV>..I|n sectio|
|00006260| 6e 20 32 2e 33 20 5b 20 | 6f 66 20 44 72 61 66 74 |n 2.3 [ |of Draft|
|00006270| 20 34 3b 20 53 65 63 74 | 69 6f 6e 20 32 2e 34 20 | 4; Sect|ion 2.4 |
|00006280| 6f 66 20 44 72 61 66 74 | 20 35 20 2d 6a 73 71 20 |of Draft| 5 -jsq |
|00006290| 5d 2c 0a 45 41 47 41 49 | 4e 20 69 73 20 64 65 66 |],.EAGAI|N is def|
|000062a0| 69 6e 65 64 20 61 73 20 | 22 52 65 73 6f 75 72 63 |ined as |"Resourc|
|000062b0| 65 20 74 65 6d 70 6f 72 | 61 72 69 6c 79 20 75 6e |e tempor|arily un|
|000062c0| 61 76 61 69 6c 61 62 6c | 65 22 2e 0a 54 68 65 20 |availabl|e"..The |
|000062d0| 74 68 69 72 64 20 73 65 | 6e 74 65 6e 63 65 20 6f |third se|ntence o|
|000062e0| 66 20 69 74 73 20 64 65 | 73 63 72 69 70 74 69 6f |f its de|scriptio|
|000062f0| 6e 20 73 74 61 74 65 73 | 2e 2e 2e 0a 0a 09 54 68 |n states|......Th|
|00006300| 69 73 20 69 73 20 61 20 | 74 65 6d 70 6f 72 61 72 |is is a |temporar|
|00006310| 79 20 63 6f 6e 64 69 74 | 69 6f 6e 20 61 6e 64 20 |y condit|ion and |
|00006320| 6c 61 74 65 72 20 63 61 | 6c 6c 73 20 74 6f 20 74 |later ca|lls to t|
|00006330| 68 65 0a 09 73 61 6d 65 | 20 72 6f 75 74 69 6e 65 |he..same| routine|
|00006340| 20 6d 61 79 20 63 6f 6d | 70 6c 65 74 65 20 6e 6f | may com|plete no|
|00006350| 72 6d 61 6c 6c 79 2e 0a | 0a 49 74 20 69 73 20 6e |rmally..|.It is n|
|00006360| 6f 74 20 61 62 75 6e 64 | 65 6e 74 6c 79 20 63 6c |ot abund|ently cl|
|00006370| 65 61 72 20 77 68 65 74 | 68 65 72 20 74 68 69 73 |ear whet|her this|
|00006380| 20 73 65 6e 74 65 6e 63 | 65 20 71 75 61 6c 69 66 | sentenc|e qualif|
|00006390| 69 65 73 20 6f 6e 6c 79 | 0a 74 68 65 20 70 72 65 |ies only|.the pre|
|000063a0| 63 65 64 69 6e 67 20 6f | 6e 65 20 28 61 62 6f 75 |ceding o|ne (abou|
|000063b0| 74 20 72 65 61 64 2f 77 | 72 69 74 65 20 77 69 74 |t read/w|rite wit|
|000063c0| 68 20 4f 5f 4e 44 45 4c | 41 59 29 20 6f 72 20 62 |h O_NDEL|AY) or b|
|000063d0| 6f 74 68 20 6f 66 0a 74 | 68 65 20 65 61 72 6c 69 |oth of.t|he earli|
|000063e0| 65 72 20 73 65 6e 74 65 | 6e 63 65 73 20 28 74 68 |er sente|nces (th|
|000063f0| 65 20 66 69 72 73 74 20 | 72 65 66 65 72 73 20 74 |e first |refers t|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.