home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: 1080
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 74 6e | 65 66 66 40 62 66 6d 6e |From: tn|eff@bfmn|
|00000010| 79 30 2e 55 55 2e 4e 45 | 54 20 28 54 6f 6d 20 4e |y0.UU.NE|T (Tom N|
|00000020| 65 66 66 29 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |eff).New|sgroups:|
|00000030| 20 61 6c 74 2e 73 6f 75 | 72 63 65 73 0a 53 75 62 | alt.sou|rces.Sub|
|00000040| 6a 65 63 74 3a 20 52 65 | 3a 20 67 6d 74 64 61 74 |ject: Re|: gmtdat|
|00000050| 65 28 31 29 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |e(1).Mes|sage-ID:|
|00000060| 20 3c 31 35 32 39 38 40 | 62 66 6d 6e 79 30 2e 55 | <15298@|bfmny0.U|
|00000070| 55 2e 4e 45 54 3e 0a 44 | 61 74 65 3a 20 32 38 20 |U.NET>.D|ate: 28 |
|00000080| 4d 61 72 20 39 30 20 30 | 31 3a 34 30 3a 30 36 20 |Mar 90 0|1:40:06 |
|00000090| 47 4d 54 0a 0a 54 68 65 | 72 65 20 77 65 72 65 20 |GMT..The|re were |
|000000a0| 61 20 63 6f 75 70 6c 65 | 20 6f 66 20 6c 6f 6f 70 |a couple| of loop|
|000000b0| 68 6f 6c 65 73 20 69 6e | 20 6d 79 20 72 65 63 65 |holes in| my rece|
|000000c0| 6e 74 20 6f 6e 65 2d 6c | 69 6e 65 72 20 67 6d 74 |nt one-l|iner gmt|
|000000d0| 64 61 74 65 28 31 29 0a | 70 6f 73 74 69 6e 67 2e |date(1).|posting.|
|000000e0| 20 20 4d 79 20 74 68 61 | 6e 6b 73 20 74 6f 20 72 | My tha|nks to r|
|000000f0| 65 61 64 65 72 20 47 65 | 6f 66 66 20 43 6c 61 72 |eader Ge|off Clar|
|00000100| 65 20 3c 67 77 63 40 72 | 6f 6f 74 2e 63 6f 2e 75 |e <gwc@r|oot.co.u|
|00000110| 6b 3e 20 66 6f 72 20 68 | 69 73 0a 63 61 72 65 66 |k> for h|is.caref|
|00000120| 75 6c 20 61 74 74 65 6e | 74 69 6f 6e 20 74 6f 20 |ul atten|tion to |
|00000130| 74 68 69 6e 67 73 20 6d | 79 20 61 64 64 6c 65 64 |things m|y addled|
|00000140| 20 62 72 61 69 6e 20 64 | 69 64 6e 27 74 20 6e 6f | brain d|idn't no|
|00000150| 74 69 63 65 2e 0a 0a 54 | 68 69 73 20 76 65 72 73 |tice...T|his vers|
|00000160| 69 6f 6e 20 28 61 29 20 | 65 78 70 6f 72 74 73 20 |ion (a) |exports |
|00000170| 74 68 65 20 54 5a 20 63 | 6f 72 72 65 63 74 6c 79 |the TZ c|orrectly|
|00000180| 20 66 6f 72 20 77 65 69 | 72 64 20 42 6f 75 72 6e | for wei|rd Bourn|
|00000190| 65 20 73 68 65 6c 6c 73 | 2c 20 28 62 29 0a 73 75 |e shells|, (b).su|
|000001a0| 72 76 69 76 65 73 20 42 | 72 69 74 69 73 68 20 53 |rvives B|ritish S|
|000001b0| 75 6d 6d 65 72 20 54 69 | 6d 65 20 72 69 67 68 74 |ummer Ti|me right|
|000001c0| 2c 20 61 6e 64 20 28 63 | 29 20 68 61 6e 64 6c 65 |, and (c|) handle|
|000001d0| 73 20 64 61 74 65 28 31 | 29 20 66 6f 72 6d 61 74 |s date(1|) format|
|000001e0| 73 20 77 69 74 68 0a 65 | 6d 62 65 64 64 65 64 20 |s with.e|mbedded |
|000001f0| 62 6c 61 6e 6b 73 20 2d | 20 71 75 69 74 65 20 69 |blanks -| quite i|
|00000200| 6d 70 6f 72 74 61 6e 74 | 2e 0a 0a 2d 2d 2d 20 63 |mportant|...--- c|
|00000210| 75 74 20 68 65 72 65 20 | 2d 2d 2d 20 63 75 74 20 |ut here |--- cut |
|00000220| 68 65 72 65 20 2d 2d 2d | 20 63 75 74 20 68 65 72 |here ---| cut her|
|00000230| 65 20 2d 2d 2d 20 63 75 | 74 20 68 65 72 65 20 2d |e --- cu|t here -|
|00000240| 2d 2d 20 63 75 74 20 68 | 65 72 65 20 2d 2d 2d 0a |-- cut h|ere ---.|
|00000250| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|00000260| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|00000270| 68 69 76 65 2c 20 6d 65 | 61 6e 69 6e 67 3a 0a 23 |hive, me|aning:.#|
|00000280| 20 31 2e 20 52 65 6d 6f | 76 65 20 65 76 65 72 79 | 1. Remo|ve every|
|00000290| 74 68 69 6e 67 20 61 62 | 6f 76 65 20 74 68 65 20 |thing ab|ove the |
|000002a0| 23 21 20 2f 62 69 6e 2f | 73 68 20 6c 69 6e 65 2e |#! /bin/|sh line.|
|000002b0| 0a 23 20 32 2e 20 53 61 | 76 65 20 74 68 65 20 72 |.# 2. Sa|ve the r|
|000002c0| 65 73 75 6c 74 69 6e 67 | 20 74 65 78 74 20 69 6e |esulting| text in|
|000002d0| 20 61 20 66 69 6c 65 2e | 0a 23 20 33 2e 20 45 78 | a file.|.# 3. Ex|
|000002e0| 65 63 75 74 65 20 74 68 | 65 20 66 69 6c 65 20 77 |ecute th|e file w|
|000002f0| 69 74 68 20 2f 62 69 6e | 2f 73 68 20 28 6e 6f 74 |ith /bin|/sh (not|
|00000300| 20 63 73 68 29 20 74 6f | 20 63 72 65 61 74 65 3a | csh) to| create:|
|00000310| 0a 23 09 67 6d 74 64 61 | 74 65 0a 23 20 54 68 69 |.#.gmtda|te.# Thi|
|00000320| 73 20 61 72 63 68 69 76 | 65 20 63 72 65 61 74 65 |s archiv|e create|
|00000330| 64 3a 20 57 65 64 20 4d | 61 72 20 32 38 20 31 36 |d: Wed M|ar 28 16|
|00000340| 3a 33 33 3a 32 30 20 31 | 39 39 30 0a 65 78 70 6f |:33:20 1|990.expo|
|00000350| 72 74 20 50 41 54 48 3b | 20 50 41 54 48 3d 2f 62 |rt PATH;| PATH=/b|
|00000360| 69 6e 3a 2f 75 73 72 2f | 62 69 6e 3a 24 50 41 54 |in:/usr/|bin:$PAT|
|00000370| 48 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 67 6d |H.if tes|t -f 'gm|
|00000380| 74 64 61 74 65 27 0a 74 | 68 65 6e 0a 09 65 63 68 |tdate'.t|hen..ech|
|00000390| 6f 20 73 68 61 72 3a 20 | 22 77 69 6c 6c 20 6e 6f |o shar: |"will no|
|000003a0| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|000003b0| 73 74 69 6e 67 20 66 69 | 6c 65 20 27 67 6d 74 64 |sting fi|le 'gmtd|
|000003c0| 61 74 65 27 22 0a 65 6c | 73 65 0a 73 65 64 20 27 |ate'".el|se.sed '|
|000003d0| 73 2f 5e 58 2f 2f 27 20 | 3c 3c 20 5c 53 48 41 52 |s/^X//' |<< \SHAR|
|000003e0| 5f 45 4f 46 20 3e 20 27 | 67 6d 74 64 61 74 65 27 |_EOF > '|gmtdate'|
|000003f0| 0a 58 54 5a 3d 47 4d 54 | 30 20 65 78 70 6f 72 74 |.XTZ=GMT|0 export|
|00000400| 20 54 5a 20 3b 20 65 78 | 65 63 20 2f 62 69 6e 2f | TZ ; ex|ec /bin/|
|00000410| 64 61 74 65 20 24 7b 31 | 2b 22 24 40 22 7d 0a 53 |date ${1|+"$@"}.S|
|00000420| 48 41 52 5f 45 4f 46 0a | 63 68 6d 6f 64 20 2b 78 |HAR_EOF.|chmod +x|
|00000430| 20 27 67 6d 74 64 61 74 | 65 27 0a 66 69 0a 65 78 | 'gmtdat|e'.fi.ex|
|00000440| 69 74 20 30 0a 23 09 45 | 6e 64 20 6f 66 20 73 68 |it 0.#.E|nd of sh|
|00000450| 65 6c 6c 20 61 72 63 68 | 69 76 65 0a |ell arch|ive. |
+--------+-------------------------+-------------------------+--------+--------+