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 21 22:15:09 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 31 20 32 32 3a 31 35 | 3a 30 39 20 31 39 39 31 |21 22:15|:09 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 31 36 33 35 39 |MTP ..id| AA16359|
|00000080| 3b 20 4d 6f 6e 2c 20 32 | 31 20 4a 61 6e 20 39 31 |; Mon, 2|1 Jan 91|
|00000090| 20 32 32 3a 31 35 3a 30 | 39 20 2d 30 35 30 30 0a | 22:15:0|9 -0500.|
|000000a0| 50 6f 73 74 65 64 2d 44 | 61 74 65 3a 20 32 31 20 |Posted-D|ate: 21 |
|000000b0| 4a 61 6e 20 39 31 20 31 | 30 3a 33 33 3a 34 38 20 |Jan 91 1|0:33:48 |
|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 6a 61 63 6b 40 63 | 77 69 2e 6e 6c 20 28 4a |: jack@c|wi.nl (J|
|00000100| 61 63 6b 20 4a 61 6e 73 | 65 6e 29 0a 4e 65 77 73 |ack Jans|en).News|
|00000110| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 73 74 64 |groups: |comp.std|
|00000120| 2e 75 6e 69 78 0a 53 75 | 62 6a 65 63 74 3a 20 52 |.unix.Su|bject: R|
|00000130| 65 3a 20 53 68 65 6c 6c | 20 73 74 61 6e 64 61 72 |e: Shell| standar|
|00000140| 64 69 7a 61 74 69 6f 6e | 20 28 66 6f 72 20 63 2e |dization| (for c.|
|00000150| 73 74 64 2e 75 6e 69 78 | 29 0a 4d 65 73 73 61 67 |std.unix|).Messag|
|00000160| 65 2d 49 64 3a 20 3c 31 | 37 31 35 35 40 63 73 2e |e-Id: <1|7155@cs.|
|00000170| 75 74 65 78 61 73 2e 65 | 64 75 3e 0a 52 65 66 65 |utexas.e|du>.Refe|
|00000180| 72 65 6e 63 65 73 3a 20 | 3c 31 37 30 31 31 40 63 |rences: |<17011@c|
|00000190| 73 2e 75 74 65 78 61 73 | 2e 65 64 75 3e 20 3c 31 |s.utexas|.edu> <1|
|000001a0| 37 30 36 35 40 63 73 2e | 75 74 65 78 61 73 2e 65 |7065@cs.|utexas.e|
|000001b0| 64 75 3e 0a 53 65 6e 64 | 65 72 3a 20 6a 73 71 40 |du>.Send|er: jsq@|
|000001c0| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 0a 58 2d |cs.utexa|s.edu.X-|
|000001d0| 53 75 62 6d 69 73 73 69 | 6f 6e 73 3a 20 73 74 64 |Submissi|ons: std|
|000001e0| 2d 75 6e 69 78 40 75 75 | 6e 65 74 2e 75 75 2e 6e |-unix@uu|net.uu.n|
|000001f0| 65 74 0a 44 61 74 65 3a | 20 32 31 20 4a 61 6e 20 |et.Date:| 21 Jan |
|00000200| 39 31 20 31 30 3a 33 33 | 3a 34 38 20 47 4d 54 0a |91 10:33|:48 GMT.|
|00000210| 52 65 70 6c 79 2d 54 6f | 3a 20 73 74 64 2d 75 6e |Reply-To|: std-un|
|00000220| 69 78 40 75 75 6e 65 74 | 2e 55 55 2e 4e 45 54 0a |ix@uunet|.UU.NET.|
|00000230| 54 6f 3a 20 73 74 64 2d | 75 6e 69 78 40 75 75 6e |To: std-|unix@uun|
|00000240| 65 74 2e 55 55 2e 4e 45 | 54 0a 0a 53 75 62 6d 69 |et.UU.NE|T..Submi|
|00000250| 74 74 65 64 2d 62 79 3a | 20 6a 61 63 6b 40 63 77 |tted-by:| jack@cw|
|00000260| 69 2e 6e 6c 20 28 4a 61 | 63 6b 20 4a 61 6e 73 65 |i.nl (Ja|ck Janse|
|00000270| 6e 29 0a 0a 3e 20 20 3d | 20 74 72 74 40 6d 63 6e |n)..> =| trt@mcn|
|00000280| 63 2e 6f 72 67 20 28 54 | 6f 6d 20 54 72 75 73 63 |c.org (T|om Trusc|
|00000290| 6f 74 74 29 20 77 72 69 | 74 65 73 3a 0a 3e 3e 20 |ott) wri|tes:.>> |
|000002a0| 3d 20 43 2e 52 2e 52 69 | 74 73 6f 6e 40 6e 65 77 |= C.R.Ri|tson@new|
|000002b0| 63 61 73 74 6c 65 2e 61 | 63 2e 75 6b 20 28 22 43 |castle.a|c.uk ("C|
|000002c0| 2e 52 2e 20 52 69 74 73 | 6f 6e 22 29 0a 3e 3e 20 |.R. Rits|on").>> |
|000002d0| 54 68 65 20 20 64 61 6e | 67 65 72 20 20 6f 66 20 |The dan|ger of |
|000002e0| 64 69 72 65 63 74 20 69 | 6e 74 65 72 70 72 65 74 |direct i|nterpret|
|000002f0| 61 74 69 6f 6e 20 62 79 | 20 74 68 65 20 73 68 65 |ation by| the she|
|00000300| 6c 6c 20 69 73 20 74 68 | 61 74 20 74 68 65 20 66 |ll is th|at the f|
|00000310| 69 6c 65 20 69 73 0a 3e | 3e 20 71 75 69 74 65 20 |ile is.>|> quite |
|00000320| 20 6c 69 6b 65 6c 79 20 | 20 74 6f 20 20 62 65 20 | likely | to be |
|00000330| 20 61 6e 20 20 65 78 65 | 63 75 74 61 62 6c 65 20 | an exe|cutable |
|00000340| 20 6f 62 6a 65 63 74 20 | 20 66 69 6c 65 20 20 66 | object | file f|
|00000350| 6f 72 20 20 73 6f 6d 65 | 20 20 20 6f 74 68 65 72 |or some| other|
|00000360| 0a 3e 3e 20 61 72 63 68 | 69 74 65 63 74 75 72 65 |.>> arch|itecture|
|00000370| 20 20 73 65 65 6e 20 20 | 66 72 6f 6d 20 74 68 65 | seen |from the|
|00000380| 20 77 72 6f 6e 67 20 73 | 69 64 65 20 6f 66 20 61 | wrong s|ide of a|
|00000390| 6e 20 4e 46 53 20 6d 6f | 75 6e 74 2e 20 20 57 68 |n NFS mo|unt. Wh|
|000003a0| 65 6e 20 74 68 69 73 20 | 69 73 0a 3e 3e 20 74 68 |en this |is.>> th|
|000003b0| 65 20 63 61 73 65 20 74 | 68 65 20 73 68 65 6c 6c |e case t|he shell|
|000003c0| 20 70 72 6f 64 75 63 65 | 73 20 6c 61 72 67 65 20 | produce|s large |
|000003d0| 6e 75 6d 62 65 72 73 20 | 6f 66 20 22 6e 6f 74 20 |numbers |of "not |
|000003e0| 66 6f 75 6e 64 22 20 6d | 65 73 73 61 67 65 73 20 |found" m|essages |
|000003f0| 20 61 6e 64 0a 3e 3e 20 | 6f 66 74 65 6e 20 20 65 | and.>> |often e|
|00000400| 6e 64 73 20 20 75 70 20 | 20 72 65 73 65 74 74 69 |nds up | resetti|
|00000410| 6e 67 20 20 6e 75 6d 65 | 72 6f 75 73 20 6f 70 65 |ng nume|rous ope|
|00000420| 72 61 74 69 6e 67 20 6d | 6f 64 65 73 2e 20 20 4f |rating m|odes. O|
|00000430| 75 72 20 6e 65 77 65 72 | 20 75 73 65 72 73 0a 3e |ur newer| users.>|
|00000440| 3e 20 66 69 6e 64 20 74 | 68 69 73 20 6d 6f 73 74 |> find t|his most|
|00000450| 20 63 6f 6e 66 75 73 69 | 6e 67 2e 0a 0a 3e 49 66 | confusi|ng...>If|
|00000460| 20 74 68 65 20 6b 65 72 | 6e 65 6c 20 73 69 6d 70 | the ker|nel simp|
|00000470| 6c 79 20 72 65 74 75 72 | 6e 65 64 20 45 41 43 43 |ly retur|ned EACC|
|00000480| 45 53 20 28 66 6f 72 20 | 65 78 61 6d 70 6c 65 29 |ES (for |example)|
|00000490| 20 72 61 74 68 65 72 20 | 74 68 61 6e 20 45 4e 4f | rather |than ENO|
|000004a0| 45 58 45 43 0a 3e 77 68 | 65 6e 20 74 68 65 20 66 |EXEC.>wh|en the f|
|000004b0| 69 6c 65 20 69 73 20 6e | 6f 6e 2d 61 73 63 69 69 |ile is n|on-ascii|
|000004c0| 2c 20 74 68 65 20 73 68 | 65 6c 6c 73 20 77 6f 75 |, the sh|ells wou|
|000004d0| 6c 64 20 6e 6f 74 20 61 | 74 74 65 6d 70 74 20 69 |ld not a|ttempt i|
|000004e0| 6e 74 65 72 70 72 65 74 | 61 74 69 6f 6e 2e 0a 3e |nterpret|ation..>|
|000004f0| 28 4a 75 73 74 20 63 68 | 65 63 6b 20 74 68 61 74 |(Just ch|eck that|
|00000500| 20 74 68 65 20 66 69 72 | 73 74 20 34 20 63 68 61 | the fir|st 4 cha|
|00000510| 72 61 63 74 65 72 73 20 | 68 61 76 65 20 76 61 6c |racters |have val|
|00000520| 75 65 20 3e 20 31 20 61 | 6e 64 20 3c 20 31 32 38 |ue > 1 a|nd < 128|
|00000530| 2e 29 0a 3e 44 72 6f 70 | 70 69 6e 67 20 64 69 72 |.).>Drop|ping dir|
|00000540| 65 63 74 20 69 6e 74 65 | 72 70 72 65 74 61 74 69 |ect inte|rpretati|
|00000550| 6f 6e 20 64 6f 65 73 20 | 6d 61 6b 65 20 67 6f 6f |on does |make goo|
|00000560| 64 20 73 65 6e 73 65 2e | 0a 3e 42 75 74 20 74 68 |d sense.|.>But th|
|00000570| 65 72 65 20 69 73 20 74 | 68 65 20 70 72 6f 62 6c |ere is t|he probl|
|00000580| 65 6d 20 6f 66 20 6f 6c | 64 20 6b 65 72 6e 65 6c |em of ol|d kernel|
|00000590| 73 20 28 65 2e 67 2e 20 | 53 79 73 74 65 6d 20 56 |s (e.g. |System V|
|000005a0| 2e 33 2e 32 21 21 29 20 | 6c 61 63 6b 69 6e 67 20 |.3.2!!) |lacking |
|000005b0| 23 21 2c 0a 3e 61 6e 64 | 20 49 20 74 68 69 6e 6b |#!,.>and| I think|
|000005c0| 20 61 20 73 75 72 70 72 | 69 73 69 6e 67 20 6e 75 | a surpr|ising nu|
|000005d0| 6d 62 65 72 20 6f 66 20 | 73 63 72 69 70 74 73 20 |mber of |scripts |
|000005e0| 77 69 6c 6c 20 73 74 6f | 70 20 77 6f 72 6b 69 6e |will sto|p workin|
|000005f0| 67 0a 3e 28 73 75 63 68 | 20 61 73 20 2f 62 69 6e |g.>(such| as /bin|
|00000600| 2f 74 72 75 65 20 6f 6e | 20 73 6f 6d 65 20 73 79 |/true on| some sy|
|00000610| 73 74 65 6d 73 29 2e 20 | 20 53 65 72 76 65 73 20 |stems). | Serves |
|00000620| 74 68 65 6d 20 72 69 67 | 68 74 20 49 20 73 75 70 |them rig|ht I sup|
|00000630| 70 6f 73 65 2e 0a 0a 49 | 20 74 68 69 6e 6b 20 79 |pose...I| think y|
|00000640| 6f 75 27 76 65 20 6d 69 | 73 73 65 64 20 74 68 65 |ou've mi|ssed the|
|00000650| 20 70 6f 69 6e 74 20 68 | 65 72 65 2e 20 54 68 65 | point h|ere. The|
|00000660| 20 71 75 65 73 74 69 6f | 6e 20 69 73 20 6e 6f 74 | questio|n is not|
|00000670| 20 77 65 74 68 65 72 20 | 74 68 65 0a 6b 65 72 6e | wether |the.kern|
|00000680| 65 6c 20 72 65 63 6f 67 | 6e 69 7a 65 73 20 23 21 |el recog|nizes #!|
|00000690| 2c 20 62 75 74 20 77 65 | 74 68 65 72 20 74 68 65 |, but we|ther the|
|000006a0| 20 73 68 65 6c 6c 20 72 | 65 63 6f 67 6e 69 7a 65 | shell r|ecognize|
|000006b0| 73 20 69 74 2e 0a 0a 43 | 75 72 72 65 6e 74 6c 79 |s it...C|urrently|
|000006c0| 2c 20 77 68 65 6e 20 74 | 68 65 20 6b 65 72 6e 65 |, when t|he kerne|
|000006d0| 6c 20 72 65 74 75 72 6e | 73 20 45 4e 4f 45 58 45 |l return|s ENOEXE|
|000006e0| 43 20 74 68 65 20 73 68 | 65 6c 6c 20 6a 75 73 74 |C the sh|ell just|
|000006f0| 20 62 6c 69 6e 64 6c 79 | 20 61 73 73 75 6d 65 73 | blindly| assumes|
|00000700| 0a 74 68 61 74 20 77 65 | 20 68 61 76 65 20 61 20 |.that we| have a |
|00000710| 73 68 65 6c 6c 20 73 63 | 72 69 70 74 20 68 65 72 |shell sc|ript her|
|00000720| 65 20 61 6e 64 20 73 74 | 61 72 74 73 20 65 78 65 |e and st|arts exe|
|00000730| 63 75 74 69 6e 67 20 69 | 74 2e 20 49 20 64 6f 6e |cuting i|t. I don|
|00000740| 27 74 20 73 65 65 0a 61 | 6e 79 20 70 72 6f 62 6c |'t see.a|ny probl|
|00000750| 65 6d 20 69 6e 20 74 68 | 65 20 73 68 65 6c 6c 20 |em in th|e shell |
|00000760| 72 65 61 64 69 6e 67 20 | 74 68 65 20 66 69 72 73 |reading |the firs|
|00000770| 74 20 6c 69 6e 65 20 61 | 6e 64 20 63 68 65 63 6b |t line a|nd check|
|00000780| 69 6e 67 20 69 74 20 66 | 6f 72 0a 23 21 2f 62 69 |ing it f|or.#!/bi|
|00000790| 6e 2f 73 68 2e 0a 0a 54 | 68 65 20 6f 6e 6c 79 20 |n/sh...T|he only |
|000007a0| 74 68 69 6e 67 20 74 68 | 61 74 20 74 68 69 73 20 |thing th|at this |
|000007b0| 77 6f 75 6c 64 20 62 72 | 65 61 6b 20 69 73 20 74 |would br|eak is t|
|000007c0| 68 61 74 20 6f 6c 64 20 | 73 68 65 6c 6c 20 73 63 |hat old |shell sc|
|000007d0| 72 69 70 74 73 20 77 69 | 74 68 6f 75 74 0a 61 20 |ripts wi|thout.a |
|000007e0| 23 21 20 66 69 72 73 74 | 20 6c 69 6e 65 20 77 6f |#! first| line wo|
|000007f0| 75 6c 64 6e 27 74 20 65 | 78 65 63 75 74 65 20 61 |uldn't e|xecute a|
|00000800| 6e 79 6d 6f 72 65 2c 20 | 62 75 74 20 74 68 69 73 |nymore, |but this|
|00000810| 20 69 73 20 74 72 69 76 | 69 61 6c 20 74 6f 20 66 | is triv|ial to f|
|00000820| 69 78 0a 62 79 20 61 64 | 64 69 6e 67 20 74 68 65 |ix.by ad|ding the|
|00000830| 20 23 21 20 6c 69 6e 65 | 2e 0a 2d 2d 20 0a 2d 2d | #! line|..-- .--|
|00000840| 0a 45 65 6e 20 76 6f 6c | 6b 20 64 61 74 20 76 6f |.Een vol|k dat vo|
|00000850| 6f 72 20 74 69 72 61 6e | 6e 65 6e 20 7a 77 69 63 |or tiran|nen zwic|
|00000860| 68 74 09 7c 20 4f 72 61 | 6c 3a 20 20 20 20 20 4a |ht.| Ora|l: J|
|00000870| 61 63 6b 20 4a 61 6e 73 | 65 6e 0a 7a 61 6c 20 6d |ack Jans|en.zal m|
|00000880| 65 65 72 20 64 61 6e 20 | 6c 69 6a 66 20 65 6e 20 |eer dan |lijf en |
|00000890| 67 6f 65 64 20 76 65 72 | 6c 69 65 7a 65 6e 09 7c |goed ver|liezen.||
|000008a0| 20 49 6e 74 65 72 6e 65 | 74 3a 20 6a 61 63 6b 40 | Interne|t: jack@|
|000008b0| 63 77 69 2e 6e 6c 0a 64 | 61 6e 20 64 6f 6f 66 74 |cwi.nl.d|an dooft|
|000008c0| 20 68 65 74 20 6c 69 63 | 68 74 09 09 09 7c 20 55 | het lic|ht...| U|
|000008d0| 75 63 70 3a 20 20 20 20 | 20 68 70 34 6e 6c 21 63 |ucp: | hp4nl!c|
|000008e0| 77 69 2e 6e 6c 21 6a 61 | 63 6b 0a 0a 0a 56 6f 6c |wi.nl!ja|ck...Vol|
|000008f0| 75 6d 65 2d 4e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ume-Numb|er: Volu|
|00000900| 6d 65 20 32 32 2c 20 4e | 75 6d 62 65 72 20 37 38 |me 22, N|umber 78|
|00000910| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+