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@cs.utexas.edu Mon Jan 28 20:41:53 1991", 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 | 40 63 73 2e 75 74 65 78 |From jsq|@cs.utex|
|00000010| 61 73 2e 65 64 75 20 20 | 4d 6f 6e 20 4a 61 6e 20 |as.edu |Mon Jan |
|00000020| 32 38 20 32 30 3a 34 31 | 3a 35 33 20 31 39 39 31 |28 20:41|:53 1991|
|00000030| 0a 52 65 63 65 69 76 65 | 64 3a 20 66 72 6f 6d 20 |.Receive|d: from |
|00000040| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 20 62 79 |cs.utexa|s.edu by|
|00000050| 20 75 75 6e 65 74 2e 55 | 55 2e 4e 45 54 20 28 35 | uunet.U|U.NET (5|
|00000060| 2e 36 31 2f 31 2e 31 34 | 29 20 77 69 74 68 20 53 |.61/1.14|) with S|
|00000070| 4d 54 50 20 0a 09 69 64 | 20 41 41 32 38 32 36 36 |MTP ..id| AA28266|
|00000080| 3b 20 4d 6f 6e 2c 20 32 | 38 20 4a 61 6e 20 39 31 |; Mon, 2|8 Jan 91|
|00000090| 20 32 30 3a 34 31 3a 35 | 33 20 2d 30 35 30 30 0a | 20:41:5|3 -0500.|
|000000a0| 50 6f 73 74 65 64 2d 44 | 61 74 65 3a 20 32 32 20 |Posted-D|ate: 22 |
|000000b0| 4a 61 6e 20 39 31 20 32 | 31 3a 32 38 3a 34 39 20 |Jan 91 2|1:28:49 |
|000000c0| 47 4d 54 0a 52 65 63 65 | 69 76 65 64 3a 20 62 79 |GMT.Rece|ived: by|
|000000d0| 20 63 73 2e 75 74 65 78 | 61 73 2e 65 64 75 20 28 | cs.utex|as.edu (|
|000000e0| 35 2e 36 34 2f 31 2e 39 | 33 29 20 0a 46 72 6f 6d |5.64/1.9|3) .From|
|000000f0| 3a 20 61 75 73 70 65 78 | 21 67 75 79 40 63 73 2e |: auspex|!guy@cs.|
|00000100| 75 74 65 78 61 73 2e 65 | 64 75 20 28 47 75 79 20 |utexas.e|du (Guy |
|00000110| 48 61 72 72 69 73 29 0a | 4e 65 77 73 67 72 6f 75 |Harris).|Newsgrou|
|00000120| 70 73 3a 20 63 6f 6d 70 | 2e 73 74 64 2e 75 6e 69 |ps: comp|.std.uni|
|00000130| 78 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 53 |x.Subjec|t: Re: S|
|00000140| 68 65 6c 6c 20 73 74 61 | 6e 64 61 72 64 69 7a 61 |hell sta|ndardiza|
|00000150| 74 69 6f 6e 20 28 66 6f | 72 20 63 2e 73 74 64 2e |tion (fo|r c.std.|
|00000160| 75 6e 69 78 29 0a 4d 65 | 73 73 61 67 65 2d 49 64 |unix).Me|ssage-Id|
|00000170| 3a 20 3c 31 37 33 39 38 | 40 63 73 2e 75 74 65 78 |: <17398|@cs.utex|
|00000180| 61 73 2e 65 64 75 3e 0a | 52 65 66 65 72 65 6e 63 |as.edu>.|Referenc|
|00000190| 65 73 3a 20 3c 31 37 30 | 31 31 40 63 73 2e 75 74 |es: <170|11@cs.ut|
|000001a0| 65 78 61 73 2e 65 64 75 | 3e 20 3c 31 37 30 36 35 |exas.edu|> <17065|
|000001b0| 40 63 73 2e 75 74 65 78 | 61 73 2e 65 64 75 3e 20 |@cs.utex|as.edu> |
|000001c0| 3c 31 37 31 35 35 40 63 | 73 2e 75 74 65 78 61 73 |<17155@c|s.utexas|
|000001d0| 2e 65 64 75 3e 0a 53 65 | 6e 64 65 72 3a 20 6a 73 |.edu>.Se|nder: js|
|000001e0| 71 40 63 73 2e 75 74 65 | 78 61 73 2e 65 64 75 0a |q@cs.ute|xas.edu.|
|000001f0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 41 75 |Organiza|tion: Au|
|00000200| 73 70 65 78 20 53 79 73 | 74 65 6d 73 2c 20 53 61 |spex Sys|tems, Sa|
|00000210| 6e 74 61 20 43 6c 61 72 | 61 0a 58 2d 53 75 62 6d |nta Clar|a.X-Subm|
|00000220| 69 73 73 69 6f 6e 73 3a | 20 73 74 64 2d 75 6e 69 |issions:| std-uni|
|00000230| 78 40 75 75 6e 65 74 2e | 75 75 2e 6e 65 74 0a 44 |x@uunet.|uu.net.D|
|00000240| 61 74 65 3a 20 32 32 20 | 4a 61 6e 20 39 31 20 32 |ate: 22 |Jan 91 2|
|00000250| 31 3a 32 38 3a 34 39 20 | 47 4d 54 0a 52 65 70 6c |1:28:49 |GMT.Repl|
|00000260| 79 2d 54 6f 3a 20 73 74 | 64 2d 75 6e 69 78 40 75 |y-To: st|d-unix@u|
|00000270| 75 6e 65 74 2e 55 55 2e | 4e 45 54 0a 54 6f 3a 20 |unet.UU.|NET.To: |
|00000280| 73 74 64 2d 75 6e 69 78 | 40 75 75 6e 65 74 2e 55 |std-unix|@uunet.U|
|00000290| 55 2e 4e 45 54 0a 0a 53 | 75 62 6d 69 74 74 65 64 |U.NET..S|ubmitted|
|000002a0| 2d 62 79 3a 20 67 75 79 | 40 61 75 73 70 65 78 2e |-by: guy|@auspex.|
|000002b0| 75 75 63 70 20 28 47 75 | 79 20 48 61 72 72 69 73 |uucp (Gu|y Harris|
|000002c0| 29 0a 0a 3e 43 75 72 72 | 65 6e 74 6c 79 2c 20 77 |)..>Curr|ently, w|
|000002d0| 68 65 6e 20 74 68 65 20 | 6b 65 72 6e 65 6c 20 72 |hen the |kernel r|
|000002e0| 65 74 75 72 6e 73 20 45 | 4e 4f 45 58 45 43 20 74 |eturns E|NOEXEC t|
|000002f0| 68 65 20 73 68 65 6c 6c | 20 6a 75 73 74 20 62 6c |he shell| just bl|
|00000300| 69 6e 64 6c 79 20 61 73 | 73 75 6d 65 73 0a 3e 74 |indly as|sumes.>t|
|00000310| 68 61 74 20 77 65 20 68 | 61 76 65 20 61 20 73 68 |hat we h|ave a sh|
|00000320| 65 6c 6c 20 73 63 72 69 | 70 74 20 68 65 72 65 20 |ell scri|pt here |
|00000330| 61 6e 64 20 73 74 61 72 | 74 73 20 65 78 65 63 75 |and star|ts execu|
|00000340| 74 69 6e 67 20 69 74 2e | 20 49 20 64 6f 6e 27 74 |ting it.| I don't|
|00000350| 20 73 65 65 0a 3e 61 6e | 79 20 70 72 6f 62 6c 65 | see.>an|y proble|
|00000360| 6d 20 69 6e 20 74 68 65 | 20 73 68 65 6c 6c 20 72 |m in the| shell r|
|00000370| 65 61 64 69 6e 67 20 74 | 68 65 20 66 69 72 73 74 |eading t|he first|
|00000380| 20 6c 69 6e 65 20 61 6e | 64 20 63 68 65 63 6b 69 | line an|d checki|
|00000390| 6e 67 20 69 74 20 66 6f | 72 0a 3e 23 21 2f 62 69 |ng it fo|r.>#!/bi|
|000003a0| 6e 2f 73 68 2e 0a 0a 4f | 72 20 63 68 65 63 6b 69 |n/sh...O|r checki|
|000003b0| 6e 67 20 66 6f 72 20 22 | 23 21 22 20 69 6e 20 67 |ng for "|#!" in g|
|000003c0| 65 6e 65 72 61 6c 2c 20 | 61 6e 64 20 64 6f 69 6e |eneral, |and doin|
|000003d0| 67 20 77 68 61 74 20 69 | 73 20 64 6f 6e 65 20 69 |g what i|s done i|
|000003e0| 6e 20 74 68 65 20 22 65 | 78 65 63 2a 28 29 22 0a |n the "e|xec*()".|
|000003f0| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 73 20 |implemen|tations |
|00000400| 6f 66 20 6d 61 6e 79 20 | 73 79 73 74 65 6d 73 20 |of many |systems |
|00000410| 28 75 73 75 61 6c 6c 79 | 20 69 6e 20 74 68 65 20 |(usually| in the |
|00000420| 6b 65 72 6e 65 6c 2c 20 | 62 75 74 20 6e 6f 74 0a |kernel, |but not.|
|00000430| 6e 65 63 65 73 73 61 72 | 69 6c 79 20 73 6f 29 20 |necessar|ily so) |
|00000440| 2d 20 69 2e 65 2e 2c 20 | 68 61 76 65 20 74 68 65 |- i.e., |have the|
|00000450| 20 42 6f 75 72 6e 65 20 | 73 68 65 6c 6c 20 63 61 | Bourne |shell ca|
|00000460| 70 61 62 6c 65 20 6f 66 | 20 65 78 65 63 75 74 69 |pable of| executi|
|00000470| 6e 67 20 43 0a 73 68 65 | 6c 6c 20 73 63 72 69 70 |ng C.she|ll scrip|
|00000480| 74 73 20 28 66 6f 72 20 | 74 68 6f 73 65 20 6f 66 |ts (for |those of|
|00000490| 20 79 6f 75 20 77 68 6f | 20 77 72 69 74 65 20 74 | you who| write t|
|000004a0| 68 65 6d 20 3a 2d 29 29 | 20 74 68 61 74 20 62 65 |hem :-))| that be|
|000004b0| 67 69 6e 20 77 69 74 68 | 20 22 23 21 0a 2f 62 69 |gin with| "#!./bi|
|000004c0| 6e 2f 63 73 68 22 2c 20 | 61 6e 64 20 74 68 65 20 |n/csh", |and the |
|000004d0| 43 20 73 68 65 6c 6c 20 | 63 61 70 61 62 6c 65 20 |C shell |capable |
|000004e0| 6f 66 20 65 78 65 63 75 | 74 69 6e 67 20 42 6f 75 |of execu|ting Bou|
|000004f0| 72 6e 65 20 73 68 65 6c | 6c 20 73 63 72 69 70 74 |rne shel|l script|
|00000500| 73 0a 74 68 61 74 20 62 | 65 67 69 6e 20 77 69 74 |s.that b|egin wit|
|00000510| 68 20 22 23 21 20 2f 62 | 69 6e 2f 73 68 22 2c 20 |h "#! /b|in/sh", |
|00000520| 65 74 63 2e 2e 0a 0a 49 | 20 64 6f 6e 27 74 20 73 |etc....I| don't s|
|00000530| 74 72 6f 6e 67 6c 79 20 | 63 61 72 65 20 77 68 65 |trongly |care whe|
|00000540| 72 65 20 69 74 27 73 20 | 64 6f 6e 65 20 28 61 6c |re it's |done (al|
|00000550| 74 68 6f 75 67 68 20 49 | 20 2a 64 6f 2a 20 70 72 |though I| *do* pr|
|00000560| 65 66 65 72 20 68 61 76 | 69 6e 67 0a 22 65 78 65 |efer hav|ing."exe|
|00000570| 63 6c 28 29 22 20 41 4e | 44 20 22 65 78 65 63 76 |cl()" AN|D "execv|
|00000580| 28 29 22 20 63 61 70 61 | 62 6c 65 20 6f 66 20 72 |()" capa|ble of r|
|00000590| 75 6e 6e 69 6e 67 20 73 | 63 72 69 70 74 73 2c 20 |unning s|cripts, |
|000005a0| 65 76 65 6e 20 69 66 20 | 69 74 27 73 20 64 6f 6e |even if |it's don|
|000005b0| 65 20 62 79 0a 68 61 76 | 69 6e 67 20 74 68 65 6d |e by.hav|ing them|
|000005c0| 20 62 65 20 77 72 61 70 | 70 65 72 73 20 61 72 6f | be wrap|pers aro|
|000005d0| 75 6e 64 20 6b 65 72 6e | 65 6c 20 74 72 61 70 73 |und kern|el traps|
|000005e0| 20 77 69 74 68 20 74 68 | 65 20 77 72 61 70 70 65 | with th|e wrappe|
|000005f0| 72 73 20 63 68 65 63 6b | 69 6e 67 0a 66 6f 72 20 |rs check|ing.for |
|00000600| 74 68 65 20 22 23 21 22 | 20 6c 69 6e 65 20 69 66 |the "#!"| line if|
|00000610| 20 74 68 65 79 20 67 65 | 74 20 45 4e 4f 45 58 45 | they ge|t ENOEXE|
|00000620| 43 29 2c 20 62 75 74 20 | 69 74 20 2a 77 6f 75 6c |C), but |it *woul|
|00000630| 64 2a 20 62 65 20 6e 69 | 63 65 20 69 66 20 74 68 |d* be ni|ce if th|
|00000640| 65 0a 73 79 73 74 65 6d | 20 64 69 64 6e 27 74 20 |e.system| didn't |
|00000650| 69 6e 61 70 70 72 6f 70 | 72 69 61 74 65 6c 79 20 |inapprop|riately |
|00000660| 74 72 79 20 74 6f 20 72 | 75 6e 20 66 69 6c 65 73 |try to r|un files|
|00000670| 20 74 68 61 74 20 68 61 | 70 70 65 6e 65 64 20 74 | that ha|ppened t|
|00000680| 6f 20 68 61 76 65 0a 65 | 78 65 63 75 74 65 20 70 |o have.e|xecute p|
|00000690| 65 72 6d 69 73 73 69 6f | 6e 73 20 61 73 20 73 63 |ermissio|ns as sc|
|000006a0| 72 69 70 74 73 20 69 66 | 2c 20 69 6e 20 66 61 63 |ripts if|, in fac|
|000006b0| 74 2c 20 74 68 65 79 20 | 61 72 65 6e 27 74 20 73 |t, they |aren't s|
|000006c0| 63 72 69 70 74 73 2e 20 | 0a 0a 49 20 64 6f 6e 27 |cripts. |..I don'|
|000006d0| 74 20 6b 6e 6f 77 20 69 | 66 20 61 6e 79 74 68 69 |t know i|f anythi|
|000006e0| 6e 67 20 6d 6f 72 65 20 | 73 68 6f 75 6c 64 20 62 |ng more |should b|
|000006f0| 65 20 73 61 69 64 20 62 | 79 20 61 6e 79 20 73 74 |e said b|y any st|
|00000700| 61 6e 64 61 72 64 20 74 | 68 61 6e 20 73 69 6d 70 |andard t|han simp|
|00000710| 6c 79 0a 22 77 65 20 64 | 6f 20 6e 6f 74 20 67 75 |ly."we d|o not gu|
|00000720| 61 72 61 6e 74 65 65 20 | 74 68 61 74 20 61 6e 79 |arantee |that any|
|00000730| 20 73 68 65 6c 6c 20 77 | 69 6c 6c 20 65 78 65 63 | shell w|ill exec|
|00000740| 75 74 65 20 61 20 73 63 | 72 69 70 74 20 74 68 61 |ute a sc|ript tha|
|00000750| 74 20 64 6f 65 73 6e 27 | 74 0a 62 65 67 69 6e 20 |t doesn'|t.begin |
|00000760| 77 69 74 68 20 27 23 21 | 27 22 2c 20 73 6f 20 74 |with '#!|'", so t|
|00000770| 68 61 74 20 79 6f 75 20 | 63 61 6e 20 72 65 6d 6f |hat you |can remo|
|00000780| 76 65 20 74 68 65 20 22 | 69 66 20 69 74 20 67 65 |ve the "|if it ge|
|00000790| 74 73 20 45 4e 4f 45 58 | 45 43 2c 20 74 72 65 61 |ts ENOEX|EC, trea|
|000007a0| 74 0a 69 74 20 61 73 20 | 61 20 73 63 72 69 70 74 |t.it as |a script|
|000007b0| 22 20 73 74 75 66 66 20 | 61 6e 64 20 73 74 69 6c |" stuff |and stil|
|000007c0| 6c 20 63 6f 6d 70 6c 79 | 20 77 69 74 68 20 74 68 |l comply| with th|
|000007d0| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 50 4f |e approp|riate PO|
|000007e0| 53 49 58 0a 73 74 61 6e | 64 61 72 64 28 73 29 2e |SIX.stan|dard(s).|
|000007f0| 0a 0a 0a 56 6f 6c 75 6d | 65 2d 4e 75 6d 62 65 72 |...Volum|e-Number|
|00000800| 3a 20 56 6f 6c 75 6d 65 | 20 32 32 2c 20 4e 75 6d |: Volume| 22, Num|
|00000810| 62 65 72 20 37 39 0a 0a | |ber 79..| |
+--------+-------------------------+-------------------------+--------+--------+