home *** CD-ROM | disk | FTP | other *** search
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).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Mailbox text, 1st line "From jsq Thu Feb 5 00:31:36 1987", 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 54 68 75 20 46 65 |From jsq| Thu Fe|
|00000010| 62 20 20 35 20 30 30 3a | 33 31 3a 33 36 20 31 39 |b 5 00:|31:36 19|
|00000020| 38 37 0a 46 72 6f 6d 3a | 20 44 6f 6e 6e 20 54 65 |87.From:| Donn Te|
|00000030| 72 72 79 20 3c 64 6f 6e | 6e 40 68 70 66 63 64 63 |rry <don|n@hpfcdc|
|00000040| 2e 75 75 63 70 3e 0a 4e | 65 77 73 67 72 6f 75 70 |.uucp>.N|ewsgroup|
|00000050| 73 3a 20 6d 6f 64 2e 73 | 74 64 2e 75 6e 69 78 0a |s: mod.s|td.unix.|
|00000060| 53 75 62 6a 65 63 74 3a | 20 52 65 3a 20 20 57 65 |Subject:| Re: We|
|00000070| 69 72 64 6e 69 78 0a 4d | 65 73 73 61 67 65 2d 49 |irdnix.M|essage-I|
|00000080| 64 3a 20 3c 37 30 38 31 | 40 75 74 2d 73 61 6c 6c |d: <7081|@ut-sall|
|00000090| 79 2e 55 55 43 50 3e 0a | 53 65 6e 64 65 72 3a 20 |y.UUCP>.|Sender: |
|000000a0| 73 74 64 2d 75 6e 69 78 | 40 75 74 2d 73 61 6c 6c |std-unix|@ut-sall|
|000000b0| 79 2e 55 55 43 50 0a 52 | 65 70 6c 79 2d 54 6f 3a |y.UUCP.R|eply-To:|
|000000c0| 20 68 70 73 63 64 61 21 | 68 70 63 63 63 21 68 70 | hpscda!|hpccc!hp|
|000000d0| 66 63 6c 61 21 68 70 66 | 63 64 63 21 64 6f 6e 6e |fcla!hpf|cdc!donn|
|000000e0| 40 73 65 69 73 6d 6f 2e | 55 55 43 50 20 28 44 6f |@seismo.|UUCP (Do|
|000000f0| 6e 6e 20 54 65 72 72 79 | 29 0a 44 61 74 65 3a 20 |nn Terry|).Date: |
|00000100| 33 20 46 65 62 20 38 37 | 20 32 31 3a 33 36 3a 35 |3 Feb 87| 21:36:5|
|00000110| 37 20 47 4d 54 0a 44 72 | 61 66 74 2d 39 3a 20 57 |7 GMT.Dr|aft-9: W|
|00000120| 65 69 72 64 6e 69 78 0a | 53 74 61 74 75 73 3a 20 |eirdnix.|Status: |
|00000130| 52 0a 0a 5b 20 54 68 65 | 20 72 65 73 75 6c 74 73 |R..[ The| results|
|00000140| 20 6f 66 20 74 68 65 20 | 57 65 69 72 64 6e 69 78 | of the |Weirdnix|
|00000150| 20 63 6f 6e 74 65 73 74 | 20 28 74 6f 20 66 69 6e | contest| (to fin|
|00000160| 64 20 6c 65 67 61 6c 20 | 6d 69 73 69 6e 74 65 72 |d legal |misinter|
|00000170| 70 72 65 74 61 74 69 6f | 6e 73 0a 6f 66 20 74 68 |pretatio|ns.of th|
|00000180| 65 20 50 4f 53 49 58 20 | 54 72 69 61 6c 20 55 73 |e POSIX |Trial Us|
|00000190| 65 20 53 74 61 6e 64 61 | 72 64 29 20 77 65 72 65 |e Standa|rd) were|
|000001a0| 20 61 6e 6e 6f 75 6e 63 | 65 64 20 61 74 20 74 68 | announc|ed at th|
|000001b0| 65 20 55 53 45 4e 49 58 | 20 43 6f 6e 66 65 72 65 |e USENIX| Confere|
|000001c0| 6e 63 65 0a 61 20 63 6f | 75 70 6c 65 20 6f 66 20 |nce.a co|uple of |
|000001d0| 77 65 65 6b 73 20 61 67 | 6f 20 69 6e 20 57 61 73 |weeks ag|o in Was|
|000001e0| 68 69 6e 67 74 6f 6e 2c | 20 44 2e 43 2e 2c 20 62 |hington,| D.C., b|
|000001f0| 79 20 6d 65 20 61 6e 64 | 20 4a 69 6d 20 4d 63 47 |y me and| Jim McG|
|00000200| 69 6e 6e 65 73 73 2e 0a | 55 6e 66 6f 72 74 75 6e |inness..|Unfortun|
|00000210| 61 74 65 6c 79 2c 20 77 | 65 20 64 69 64 20 6e 6f |ately, w|e did no|
|00000220| 74 20 68 61 76 65 20 74 | 68 65 20 66 75 6c 6c 20 |t have t|he full |
|00000230| 74 65 78 74 20 6f 66 20 | 74 68 65 20 77 69 6e 6e |text of |the winn|
|00000240| 69 6e 67 20 65 6e 74 72 | 69 65 73 0a 61 74 20 74 |ing entr|ies.at t|
|00000250| 68 65 20 74 69 6d 65 2e | 20 20 48 6f 77 65 76 65 |he time.| Howeve|
|00000260| 72 2c 20 49 20 70 72 6f | 6d 69 73 65 64 20 74 6f |r, I pro|mised to|
|00000270| 20 70 6f 73 74 20 74 68 | 65 6d 20 68 65 72 65 2e | post th|em here.|
|00000280| 20 20 44 6f 6e 6e 20 54 | 65 72 72 79 2c 0a 74 68 | Donn T|erry,.th|
|00000290| 65 20 50 31 30 30 33 20 | 63 6f 2d 63 68 61 69 72 |e P1003 |co-chair|
|000002a0| 20 61 6e 64 20 61 6e 20 | 6f 72 69 67 69 6e 61 74 | and an |originat|
|000002b0| 6f 72 20 6f 66 20 74 68 | 65 20 63 6f 6e 74 65 73 |or of th|e contes|
|000002c0| 74 2c 20 68 61 73 20 73 | 75 70 70 6c 69 65 64 0a |t, has s|upplied.|
|000002d0| 74 68 65 6d 20 69 6e 20 | 74 68 69 73 20 70 6f 73 |them in |this pos|
|000002e0| 74 69 6e 67 2e 20 20 2d | 6d 6f 64 20 5d 0a 0a 54 |ting. -|mod ]..T|
|000002f0| 68 65 20 57 65 69 72 64 | 6e 69 78 20 77 69 6e 6e |he Weird|nix winn|
|00000300| 65 72 73 27 20 70 72 6f | 70 6f 73 61 6c 73 20 61 |ers' pro|posals a|
|00000310| 70 70 65 61 72 20 62 65 | 6c 6f 77 2e 20 0a 0a 54 |ppear be|low. ..T|
|00000320| 68 65 20 77 69 6e 6e 65 | 72 20 69 6e 20 74 68 65 |he winne|r in the|
|00000330| 20 6d 6f 73 74 20 73 65 | 72 69 6f 75 73 20 63 61 | most se|rious ca|
|00000340| 74 65 67 6f 72 79 20 77 | 61 73 20 50 61 75 6c 20 |tegory w|as Paul |
|00000350| 47 6f 6f 74 68 65 72 74 | 73 20 6f 66 20 48 50 2e |Goothert|s of HP.|
|00000360| 0a 0a 50 72 6f 62 6c 65 | 6d 3a 0a 09 54 68 65 20 |..Proble|m:..The |
|00000370| 64 65 66 69 6e 69 74 69 | 6f 6e 20 6f 66 20 73 6c |definiti|on of sl|
|00000380| 65 65 70 28 29 20 69 73 | 20 69 6e 63 6f 6e 73 69 |eep() is| inconsi|
|00000390| 73 74 65 6e 74 2e 0a 0a | 45 78 70 6c 61 6e 61 74 |stent...|Explanat|
|000003a0| 69 6f 6e 3a 0a 09 22 54 | 68 65 20 76 61 6c 75 65 |ion:.."T|he value|
|000003b0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 74 68 65 | returne|d by the|
|000003c0| 20 73 6c 65 65 70 28 29 | 20 66 75 6e 63 74 69 6f | sleep()| functio|
|000003d0| 6e 20 73 68 61 6c 6c 20 | 62 65 20 74 68 65 20 75 |n shall |be the u|
|000003e0| 6e 73 6c 65 70 74 0a 09 | 61 6d 6f 75 6e 74 20 28 |nslept..|amount (|
|000003f0| 74 68 65 20 72 65 71 75 | 65 73 74 65 64 20 74 69 |the requ|ested ti|
|00000400| 6d 65 20 6d 69 6e 75 73 | 20 74 68 65 20 74 69 6d |me minus| the tim|
|00000410| 65 20 61 63 74 75 61 6c | 6c 79 20 73 6c 65 70 74 |e actual|ly slept|
|00000420| 29 2e 22 0a 09 5b 50 61 | 72 61 20 33 2e 34 2e 33 |)."..[Pa|ra 3.4.3|
|00000430| 2e 33 5d 0a 0a 09 22 54 | 68 65 20 73 75 73 70 65 |.3]..."T|he suspe|
|00000440| 6e 73 69 6f 6e 20 74 69 | 6d 65 20 6d 61 79 20 62 |nsion ti|me may b|
|00000450| 65 20 6c 6f 6e 67 65 72 | 20 74 68 61 6e 20 72 65 |e longer| than re|
|00000460| 71 75 65 73 74 65 64 20 | 62 79 20 61 6e 0a 09 61 |quested |by an..a|
|00000470| 72 62 69 74 72 61 72 79 | 20 61 6d 6f 75 6e 74 20 |rbitrary| amount |
|00000480| 64 75 65 20 74 6f 20 74 | 68 65 20 73 63 68 65 64 |due to t|he sched|
|00000490| 75 6c 69 6e 67 20 6f 66 | 20 6f 74 68 65 72 20 61 |uling of| other a|
|000004a0| 63 74 69 76 69 74 79 20 | 69 6e 20 74 68 65 0a 09 |ctivity |in the..|
|000004b0| 73 79 73 74 65 6d 2e 22 | 0a 09 5b 50 61 72 61 20 |system."|..[Para |
|000004c0| 33 2e 34 2e 33 2e 32 5d | 0a 0a 09 53 69 6e 63 65 |3.4.3.2]|...Since|
|000004d0| 20 74 68 65 20 74 69 6d | 65 20 61 63 74 75 61 6c | the tim|e actual|
|000004e0| 6c 79 20 73 6c 65 70 74 | 20 63 61 6e 20 62 65 20 |ly slept| can be |
|000004f0| 67 72 65 61 74 65 72 20 | 74 68 61 6e 20 74 68 65 |greater |than the|
|00000500| 20 74 69 6d 65 0a 09 72 | 65 71 75 65 73 74 65 64 | time..r|equested|
|00000510| 2c 20 74 68 65 20 76 61 | 6c 75 65 20 72 65 74 75 |, the va|lue retu|
|00000520| 72 6e 65 64 20 63 6f 75 | 6c 64 20 62 65 20 6e 65 |rned cou|ld be ne|
|00000530| 67 61 74 69 76 65 2e 20 | 20 48 6f 77 65 76 65 72 |gative. | However|
|00000540| 2c 0a 09 73 6c 65 65 70 | 28 29 20 72 65 74 75 72 |,..sleep|() retur|
|00000550| 6e 73 20 61 6e 20 75 6e | 73 69 67 6e 65 64 20 69 |ns an un|signed i|
|00000560| 6e 74 2e 0a 09 5b 50 61 | 72 61 20 33 2e 34 2e 33 |nt...[Pa|ra 3.4.3|
|00000570| 2e 31 5d 0a 0a 50 72 6f | 70 6f 73 61 6c 3a 0a 09 |.1]..Pro|posal:..|
|00000580| 53 6c 65 65 70 28 29 20 | 63 6f 75 6c 64 20 62 65 |Sleep() |could be|
|00000590| 20 63 68 61 6e 67 65 64 | 20 74 6f 20 72 65 74 75 | changed| to retu|
|000005a0| 72 6e 20 61 20 73 69 67 | 6e 65 64 20 69 6e 74 2e |rn a sig|ned int.|
|000005b0| 20 20 54 68 69 73 20 69 | 73 20 6e 69 63 65 0a 09 | This i|s nice..|
|000005c0| 62 65 63 61 75 73 65 20 | 74 68 65 20 70 72 6f 63 |because |the proc|
|000005d0| 65 73 73 20 74 68 61 74 | 20 63 61 6c 6c 65 64 20 |ess that| called |
|000005e0| 69 74 20 63 6f 75 6c 64 | 20 67 65 74 20 73 6f 6d |it could| get som|
|000005f0| 65 20 69 64 65 61 20 6f | 66 20 68 6f 77 0a 09 22 |e idea o|f how.."|
|00000600| 6c 61 74 65 22 20 74 68 | 65 20 61 6c 61 72 6d 20 |late" th|e alarm |
|00000610| 63 61 6d 65 2e 0a 0a 09 | 41 6c 74 65 72 6e 61 74 |came....|Alternat|
|00000620| 69 76 65 6c 79 2c 20 74 | 68 65 20 72 6f 75 74 69 |ively, t|he routi|
|00000630| 6e 65 20 63 6f 75 6c 64 | 20 62 65 20 64 6f 63 75 |ne could| be docu|
|00000640| 6d 65 6e 74 65 64 20 74 | 6f 20 72 65 74 75 72 6e |mented t|o return|
|00000650| 20 7a 65 72 6f 20 69 66 | 0a 09 74 68 65 20 61 63 | zero if|..the ac|
|00000660| 74 75 61 6c 20 74 69 6d | 65 20 77 61 73 20 67 72 |tual tim|e was gr|
|00000670| 65 61 74 65 72 20 74 68 | 61 6e 20 74 68 65 20 72 |eater th|an the r|
|00000680| 65 71 75 65 73 74 65 64 | 20 74 69 6d 65 2e 0a 0a |equested| time...|
|00000690| 50 61 75 6c 20 47 6f 6f | 74 68 65 72 74 73 0a 48 |Paul Goo|therts.H|
|000006a0| 65 77 6c 65 74 74 20 50 | 61 63 6b 61 72 64 2c 20 |ewlett P|ackard, |
|000006b0| 49 54 47 2f 49 53 4f 2f | 48 50 2d 55 58 2c 20 68 |ITG/ISO/|HP-UX, h|
|000006c0| 70 64 61 21 70 64 67 0a | 0a 2d 2d 2d 2d 2d 2d 2d |pda!pdg.|.-------|
|000006d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000710| 2d 0a 49 6e 20 74 68 65 | 20 6d 6f 73 74 20 64 65 |-.In the| most de|
|00000720| 6d 65 6e 74 65 64 20 63 | 61 74 65 67 6f 72 79 3a |mented c|ategory:|
|00000730| 0a 0a 3e 46 72 6f 6d 20 | 4d 69 63 68 61 65 6c 20 |..>From |Michael |
|00000740| 47 65 72 73 74 65 6e 2e | 20 20 28 6d 69 63 68 61 |Gersten.| (micha|
|00000750| 65 6c 40 73 74 62 20 66 | 72 6f 6d 20 77 68 61 74 |el@stb f|rom what|
|00000760| 20 49 20 63 61 6e 20 64 | 65 74 65 72 6d 69 6e 65 | I can d|etermine|
|00000770| 20 66 72 6f 6d 20 74 68 | 65 0a 6d 69 78 65 64 20 | from th|e.mixed |
|00000780| 61 64 64 72 65 73 73 20 | 49 20 68 61 76 65 3b 20 |address |I have; |
|00000790| 61 73 20 49 20 77 72 69 | 74 65 20 74 68 69 73 20 |as I wri|te this |
|000007a0| 49 20 68 61 76 6e 27 74 | 20 73 75 63 63 65 65 64 |I havn't| succeed|
|000007b0| 65 64 20 69 6e 20 63 6f | 6e 74 61 63 74 69 6e 67 |ed in co|ntacting|
|000007c0| 0a 68 69 6d 20 79 65 74 | 2e 29 20 20 28 4d 69 63 |.him yet|.) (Mic|
|000007d0| 68 61 65 6c 3a 20 70 6c | 65 61 73 65 20 77 72 69 |hael: pl|ease wri|
|000007e0| 74 65 20 6d 65 20 61 74 | 20 68 70 6c 61 62 73 21 |te me at| hplabs!|
|000007f0| 68 70 66 63 6c 61 21 64 | 6f 6e 6e 2e 29 0a 0a 0a |hpfcla!d|onn.)...|
|00000800| 4f 6b 2c 20 6c 65 74 27 | 73 20 6c 6f 6f 6b 20 61 |Ok, let'|s look a|
|00000810| 74 20 72 65 61 64 28 29 | 20 61 6e 64 20 77 72 69 |t read()| and wri|
|00000820| 74 65 28 29 2e 0a 31 2e | 20 54 68 65 72 65 20 69 |te()..1.| There i|
|00000830| 73 20 6e 6f 20 72 65 71 | 75 69 72 65 6d 65 6e 74 |s no req|uirement|
|00000840| 20 74 68 61 74 20 61 6e | 79 74 68 69 6e 67 20 77 | that an|ything w|
|00000850| 72 69 74 74 65 6e 20 77 | 69 6c 6c 20 62 65 20 61 |ritten w|ill be a|
|00000860| 76 61 69 6c 61 62 6c 65 | 20 66 6f 72 20 61 0a 72 |vailable| for a.r|
|00000870| 65 61 64 28 29 2e 0a 32 | 2e 20 54 68 65 72 65 20 |ead()..2|. There |
|00000880| 69 73 20 6e 6f 20 72 65 | 71 75 69 72 65 6d 65 6e |is no re|quiremen|
|00000890| 74 20 74 68 61 74 20 72 | 65 61 64 2f 77 72 69 74 |t that r|ead/writ|
|000008a0| 65 20 72 65 74 75 72 6e | 20 65 76 65 72 79 74 68 |e return| everyth|
|000008b0| 69 6e 67 20 74 68 61 74 | 20 74 68 65 79 20 63 61 |ing that| they ca|
|000008c0| 6e 2e 0a 0a 49 6e 20 67 | 65 6e 65 72 61 6c 2c 20 |n...In g|eneral, |
|000008d0| 79 6f 75 20 63 61 6e 27 | 74 20 72 65 71 75 69 72 |you can'|t requir|
|000008e0| 65 20 74 68 69 73 2e 20 | 54 68 65 20 74 65 72 6d |e this. |The term|
|000008f0| 69 6e 61 6c 20 6c 69 6e | 65 73 20 61 72 65 20 61 |inal lin|es are a|
|00000900| 20 67 6f 6f 64 20 65 78 | 61 6d 70 6c 65 3b 20 0a | good ex|ample; .|
|00000910| 77 72 69 74 69 6e 67 20 | 74 6f 20 61 20 74 65 72 |writing |to a ter|
|00000920| 6d 69 6e 61 6c 20 77 69 | 6c 6c 20 6e 6f 74 20 72 |minal wi|ll not r|
|00000930| 65 73 75 6c 74 20 69 6e | 20 69 74 20 62 65 69 6e |esult in| it bein|
|00000940| 67 20 72 65 61 64 61 62 | 6c 65 3b 20 74 68 65 20 |g readab|le; the |
|00000950| 74 65 72 6d 69 6e 61 6c | 0a 64 72 69 76 65 72 73 |terminal|.drivers|
|00000960| 20 6f 6e 6c 79 20 72 65 | 74 75 72 6e 20 61 20 6c | only re|turn a l|
|00000970| 69 6e 65 20 61 74 20 61 | 20 74 69 6d 65 20 6e 6f |ine at a| time no|
|00000980| 20 6d 61 74 74 65 72 20 | 68 6f 77 20 6d 75 63 68 | matter |how much|
|00000990| 20 69 73 20 72 65 71 75 | 65 73 74 65 64 2e 20 4f | is requ|ested. O|
|000009a0| 72 0a 61 74 20 6c 65 61 | 73 74 2c 20 74 68 61 74 |r.at lea|st, that|
|000009b0| 27 73 20 77 68 61 74 20 | 74 68 65 20 64 6f 63 73 |'s what |the docs|
|000009c0| 20 73 61 79 20 28 49 27 | 76 65 20 6e 65 76 65 72 | say (I'|ve never|
|000009d0| 20 61 63 74 75 61 6c 6c | 79 20 74 65 73 74 65 64 | actuall|y tested|
|000009e0| 20 69 74 2c 20 62 75 74 | 20 69 74 0a 73 65 65 6d | it, but| it.seem|
|000009f0| 73 20 74 68 61 74 20 69 | 66 20 69 74 20 77 65 72 |s that i|f it wer|
|00000a00| 65 20 66 61 6c 73 65 2c | 20 74 68 65 6e 20 74 79 |e false,| then ty|
|00000a10| 70 65 2d 61 68 65 61 64 | 20 77 6f 75 6c 64 20 6e |pe-ahead| would n|
|00000a20| 6f 74 20 77 6f 72 6b 20 | 61 73 20 77 65 6c 6c 2e |ot work |as well.|
|00000a30| 29 0a 0a 49 6e 20 67 65 | 6e 65 72 61 6c 2c 20 69 |)..In ge|neral, i|
|00000a40| 74 20 69 73 20 70 72 6f | 62 61 62 6c 79 20 73 61 |t is pro|bably sa|
|00000a50| 66 65 20 74 6f 20 72 65 | 71 75 69 72 65 20 74 68 |fe to re|quire th|
|00000a60| 61 74 20 61 6e 79 74 68 | 69 6e 67 20 77 72 69 74 |at anyth|ing writ|
|00000a70| 74 65 6e 20 74 6f 20 61 | 20 66 69 6c 65 0a 73 68 |ten to a| file.sh|
|00000a80| 6f 75 6c 64 20 62 65 20 | 61 76 61 69 6c 61 62 6c |ould be |availabl|
|00000a90| 65 20 74 6f 20 61 20 73 | 75 62 73 65 71 75 65 6e |e to a s|ubsequen|
|00000aa0| 74 20 72 65 61 64 20 70 | 72 6f 76 69 64 65 64 20 |t read p|rovided |
|00000ab0| 74 68 61 74 20 74 68 65 | 20 72 65 61 64 20 69 73 |that the| read is|
|00000ac0| 20 64 6f 6e 65 20 6f 6e | 0a 61 20 66 69 6c 65 20 | done on|.a file |
|00000ad0| 64 65 73 63 72 69 70 74 | 6f 72 20 63 6f 72 72 65 |descript|or corre|
|00000ae0| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 74 68 65 20 |sponding| to the |
|00000af0| 73 61 6d 65 20 6e 61 6d | 65 2c 20 6f 72 20 61 20 |same nam|e, or a |
|00000b00| 6c 69 6e 6b 20 74 6f 20 | 74 68 65 20 73 61 6d 65 |link to |the same|
|00000b10| 0a 6e 61 6d 65 64 20 66 | 69 6c 65 20 74 68 61 74 |.named f|ile that|
|00000b20| 20 77 61 73 20 77 72 69 | 74 74 65 6e 20 74 6f 2c | was wri|tten to,|
|00000b30| 20 61 6c 6c 20 70 72 6f | 76 69 64 69 6e 67 20 74 | all pro|viding t|
|00000b40| 68 61 74 20 69 74 20 69 | 73 20 61 20 72 65 67 75 |hat it i|s a regu|
|00000b50| 6c 61 72 20 66 69 6c 65 | 2e 0a 43 65 72 74 61 69 |lar file|..Certai|
|00000b60| 6e 6c 79 20 6e 6f 74 20 | 66 6f 72 20 64 65 76 69 |nly not |for devi|
|00000b70| 63 65 20 6f 72 20 73 70 | 65 63 69 61 6c 20 66 69 |ce or sp|ecial fi|
|00000b80| 6c 65 73 2e 0a 0a 49 6e | 63 69 64 65 6e 74 6c 79 |les...In|cidently|
|00000b90| 2c 20 64 6f 6e 27 74 20 | 74 68 69 6e 6b 20 74 68 |, don't |think th|
|00000ba0| 61 74 20 32 20 69 73 20 | 6f 62 76 69 6f 75 73 3b |at 2 is |obvious;|
|00000bb0| 20 6d 79 20 66 69 72 73 | 74 20 75 6e 69 78 20 70 | my firs|t unix p|
|00000bc0| 72 6f 67 72 61 6d 73 20 | 61 73 73 75 6d 65 64 0a |rograms |assumed.|
|00000bd0| 74 68 61 74 20 74 68 65 | 20 4f 2f 53 20 77 6f 75 |that the| O/S wou|
|00000be0| 6c 64 20 72 65 74 75 72 | 6e 20 61 20 6e 75 6d 62 |ld retur|n a numb|
|00000bf0| 65 72 20 6f 66 20 62 79 | 74 65 73 20 73 6f 20 74 |er of by|tes so t|
|00000c00| 68 61 74 20 74 68 65 20 | 72 65 61 64 73 20 77 6f |hat the |reads wo|
|00000c10| 75 6c 64 20 62 65 0a 72 | 65 2d 61 6c 69 67 6e 65 |uld be.r|e-aligne|
|00000c20| 64 20 6f 6e 20 61 20 35 | 31 32 20 62 79 74 65 20 |d on a 5|12 byte |
|00000c30| 62 6f 75 6e 64 61 72 79 | 2c 20 61 6e 64 20 74 68 |boundary|, and th|
|00000c40| 61 74 20 49 20 68 61 64 | 20 74 6f 20 63 61 6c 6c |at I had| to call|
|00000c50| 20 72 65 61 64 28 29 20 | 6d 75 6c 74 69 70 6c 65 | read() |multiple|
|00000c60| 0a 74 69 6d 65 73 20 75 | 6e 74 69 6c 20 49 20 68 |.times u|ntil I h|
|00000c70| 61 64 20 67 6f 74 74 65 | 6e 20 65 76 65 72 79 74 |ad gotte|n everyt|
|00000c80| 68 69 6e 67 2e 20 49 20 | 77 61 73 20 71 75 69 74 |hing. I |was quit|
|00000c90| 65 20 73 75 70 72 69 73 | 65 64 20 74 6f 20 66 69 |e supris|ed to fi|
|00000ca0| 6e 64 20 74 68 61 74 0a | 6f 74 68 65 72 20 70 65 |nd that.|other pe|
|00000cb0| 6f 70 6c 65 20 68 61 64 | 20 77 72 69 74 74 65 6e |ople had| written|
|00000cc0| 20 73 74 75 66 66 20 74 | 68 61 74 20 64 69 64 20 | stuff t|hat did |
|00000cd0| 6e 6f 74 20 64 6f 20 74 | 68 69 73 2c 20 61 6e 64 |not do t|his, and|
|00000ce0| 20 65 76 65 6e 20 6d 6f | 72 65 0a 73 75 70 72 69 | even mo|re.supri|
|00000cf0| 73 65 64 20 74 6f 20 66 | 69 6e 64 20 74 68 61 74 |sed to f|ind that|
|00000d00| 20 69 74 20 61 63 74 75 | 61 6c 6c 79 20 77 6f 72 | it actu|ally wor|
|00000d10| 6b 65 64 2e 20 4e 6f 20 | 3a 2d 29 0a 0a 09 09 4d |ked. No |:-)....M|
|00000d20| 69 63 68 61 65 6c 20 47 | 65 72 73 74 65 6e 0a 0a |ichael G|ersten..|
|00000d30| 56 6f 6c 75 6d 65 2d 4e | 75 6d 62 65 72 3a 20 56 |Volume-N|umber: V|
|00000d40| 6f 6c 75 6d 65 20 39 2c | 20 4e 75 6d 62 65 72 20 |olume 9,| Number |
|00000d50| 34 38 0a 0a | |48.. | |
+--------+-------------------------+-------------------------+--------+--------+