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: SHell self-extracting ARchive
(archive/shar).
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 text
| default
| |
99%
| file
| C source text
| default
| |
98%
| 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
| 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 6d 61 | 73 6f 6e 40 74 6d 73 6f |From: ma|son@tmso|
|00000010| 66 74 2e 75 75 63 70 20 | 28 44 61 76 65 20 4d 61 |ft.uucp |(Dave Ma|
|00000020| 73 6f 6e 29 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |son).New|sgroups:|
|00000030| 20 6e 65 77 73 2e 73 6f | 66 74 77 61 72 65 2e 62 | news.so|ftware.b|
|00000040| 2c 6f 6e 74 2e 75 75 63 | 70 2c 63 61 6e 2e 75 75 |,ont.uuc|p,can.uu|
|00000050| 63 70 2c 61 6c 74 2e 73 | 6f 75 72 63 65 73 0a 53 |cp,alt.s|ources.S|
|00000060| 75 62 6a 65 63 74 3a 20 | 50 72 6f 67 72 61 6d 20 |ubject: |Program |
|00000070| 74 6f 20 72 65 6d 6f 76 | 65 20 61 72 74 69 63 6c |to remov|e articl|
|00000080| 65 73 20 74 68 61 74 20 | 68 61 76 65 20 62 65 65 |es that |have bee|
|00000090| 6e 20 73 74 75 63 6b 20 | 69 6e 20 73 6f 6d 65 20 |n stuck |in some |
|000000a0| 62 61 63 6b 77 61 74 65 | 72 0a 4d 65 73 73 61 67 |backwate|r.Messag|
|000000b0| 65 2d 49 44 3a 20 3c 31 | 39 39 31 46 65 62 32 32 |e-ID: <1|991Feb22|
|000000c0| 2e 30 30 35 37 33 34 2e | 34 33 34 37 40 74 6d 73 |.005734.|4347@tms|
|000000d0| 6f 66 74 2e 75 75 63 70 | 3e 0a 44 61 74 65 3a 20 |oft.uucp|>.Date: |
|000000e0| 32 32 20 46 65 62 20 39 | 31 20 30 30 3a 35 37 3a |22 Feb 9|1 00:57:|
|000000f0| 33 34 20 47 4d 54 0a 0a | 23 20 41 70 6f 6c 6f 67 |34 GMT..|# Apolog|
|00000100| 69 65 73 20 74 6f 20 6e | 65 77 73 2e 73 6f 66 74 |ies to n|ews.soft|
|00000110| 77 61 72 65 2e 62 20 69 | 66 20 74 68 69 73 20 69 |ware.b i|f this i|
|00000120| 73 20 74 68 65 20 32 37 | 74 68 20 70 72 6f 67 72 |s the 27|th progr|
|00000130| 61 6d 20 6c 69 6b 65 20 | 74 68 69 73 2e 0a 0a 23 |am like |this...#|
|00000140| 20 54 68 69 73 20 75 73 | 65 73 20 74 68 65 20 6c | This us|es the l|
|00000150| 69 62 72 61 72 69 65 73 | 20 74 68 61 74 20 63 6f |ibraries| that co|
|00000160| 6d 65 20 77 69 74 68 20 | 43 20 6e 65 77 73 2c 20 |me with |C news, |
|00000170| 73 6f 20 42 20 6e 65 77 | 73 20 73 69 74 65 73 20 |so B new|s sites |
|00000180| 6d 61 79 0a 23 20 68 61 | 76 65 20 74 6f 20 64 6f |may.# ha|ve to do|
|00000190| 20 61 20 6c 6f 74 20 6f | 66 20 68 61 63 6b 69 6e | a lot o|f hackin|
|000001a0| 67 20 74 6f 20 6d 61 6b | 65 20 69 74 20 77 6f 72 |g to mak|e it wor|
|000001b0| 6b 2e 0a 0a 23 20 54 68 | 65 72 65 20 68 61 73 20 |k...# Th|ere has |
|000001c0| 72 65 63 65 6e 74 6c 79 | 20 28 61 6c 77 61 79 73 |recently| (always|
|000001d0| 3f 29 20 62 65 65 6e 20 | 61 20 70 72 6f 62 6c 65 |?) been |a proble|
|000001e0| 6d 20 6f 66 20 74 68 65 | 20 6f 64 64 20 73 69 74 |m of the| odd sit|
|000001f0| 65 20 74 68 61 74 20 68 | 61 73 0a 23 20 72 65 61 |e that h|as.# rea|
|00000200| 6c 6c 79 20 62 61 64 20 | 6e 65 77 73 20 63 6f 6e |lly bad |news con|
|00000210| 6e 65 63 74 69 6f 6e 73 | 20 61 6e 64 20 65 76 65 |nections| and eve|
|00000220| 6e 74 75 61 6c 6c 79 20 | 70 61 73 73 65 73 20 6f |ntually |passes o|
|00000230| 6e 20 6e 65 77 73 20 74 | 68 61 74 20 69 73 20 73 |n news t|hat is s|
|00000240| 6f 0a 23 20 6f 6c 64 20 | 74 68 61 74 20 74 68 65 |o.# old |that the|
|00000250| 20 4d 65 73 73 61 67 65 | 2d 49 44 27 73 20 61 72 | Message|-ID's ar|
|00000260| 65 20 67 6f 6e 65 20 66 | 72 6f 6d 20 65 76 65 72 |e gone f|rom ever|
|00000270| 79 6f 6e 65 27 73 20 68 | 69 73 74 6f 72 79 20 66 |yone's h|istory f|
|00000280| 69 6c 65 2e 0a 0a 23 20 | 54 68 69 73 20 69 72 72 |ile...# |This irr|
|00000290| 69 74 61 74 65 64 20 6d | 65 20 65 6e 6f 75 67 68 |itated m|e enough|
|000002a0| 20 74 6f 64 61 79 20 74 | 68 61 74 20 49 20 64 69 | today t|hat I di|
|000002b0| 64 20 73 6f 6d 65 74 68 | 69 6e 67 20 61 62 6f 75 |d someth|ing abou|
|000002c0| 74 20 69 74 2e 0a 0a 23 | 20 54 68 69 73 20 70 72 |t it...#| This pr|
|000002d0| 6f 67 72 61 6d 20 69 73 | 20 74 6f 20 6e 75 6b 65 |ogram is| to nuke|
|000002e0| 20 74 68 6f 73 65 20 6f | 6c 64 20 61 72 74 69 63 | those o|ld artic|
|000002f0| 6c 65 73 2e 0a 0a 23 20 | 09 2e 2e 2f 44 61 76 65 |les...# |.../Dave|
|00000300| 0a 0a 23 21 2f 62 69 6e | 2f 73 68 0a 23 20 54 68 |..#!/bin|/sh.# Th|
|00000310| 69 73 20 69 73 20 61 20 | 73 68 65 6c 6c 20 61 72 |is is a |shell ar|
|00000320| 63 68 69 76 65 20 28 70 | 72 6f 64 75 63 65 64 20 |chive (p|roduced |
|00000330| 62 79 20 73 68 61 72 20 | 33 2e 34 39 29 0a 23 20 |by shar |3.49).# |
|00000340| 54 6f 20 65 78 74 72 61 | 63 74 20 74 68 65 20 66 |To extra|ct the f|
|00000350| 69 6c 65 73 20 66 72 6f | 6d 20 74 68 69 73 20 61 |iles fro|m this a|
|00000360| 72 63 68 69 76 65 2c 20 | 73 61 76 65 20 69 74 20 |rchive, |save it |
|00000370| 74 6f 20 61 20 66 69 6c | 65 2c 20 72 65 6d 6f 76 |to a fil|e, remov|
|00000380| 65 0a 23 20 65 76 65 72 | 79 74 68 69 6e 67 20 61 |e.# ever|ything a|
|00000390| 62 6f 76 65 20 74 68 65 | 20 22 21 2f 62 69 6e 2f |bove the| "!/bin/|
|000003a0| 73 68 22 20 6c 69 6e 65 | 20 61 62 6f 76 65 2c 20 |sh" line| above, |
|000003b0| 61 6e 64 20 74 79 70 65 | 20 22 73 68 20 66 69 6c |and type| "sh fil|
|000003c0| 65 5f 6e 61 6d 65 22 2e | 0a 23 0a 23 20 6d 61 64 |e_name".|.#.# mad|
|000003d0| 65 20 30 32 2f 32 32 2f | 31 39 39 31 20 30 30 3a |e 02/22/|1991 00:|
|000003e0| 35 32 20 55 54 43 20 62 | 79 20 6d 61 73 6f 6e 40 |52 UTC b|y mason@|
|000003f0| 74 6d 73 6f 66 74 0a 23 | 20 53 6f 75 72 63 65 20 |tmsoft.#| Source |
|00000400| 64 69 72 65 63 74 6f 72 | 79 20 2f 73 72 63 2f 70 |director|y /src/p|
|00000410| 75 62 2f 6e 65 77 73 2f | 63 2f 65 78 70 69 72 65 |ub/news/|c/expire|
|00000420| 0a 23 0a 23 20 65 78 69 | 73 74 69 6e 67 20 66 69 |.#.# exi|sting fi|
|00000430| 6c 65 73 20 77 69 6c 6c | 20 4e 4f 54 20 62 65 20 |les will| NOT be |
|00000440| 6f 76 65 72 77 72 69 74 | 74 65 6e 20 75 6e 6c 65 |overwrit|ten unle|
|00000450| 73 73 20 2d 63 20 69 73 | 20 73 70 65 63 69 66 69 |ss -c is| specifi|
|00000460| 65 64 0a 23 0a 23 20 54 | 68 69 73 20 73 68 61 72 |ed.#.# T|his shar|
|00000470| 20 63 6f 6e 74 61 69 6e | 73 3a 0a 23 20 6c 65 6e | contain|s:.# len|
|00000480| 67 74 68 20 20 6d 6f 64 | 65 20 20 20 20 20 20 20 |gth mod|e |
|00000490| 6e 61 6d 65 0a 23 20 2d | 2d 2d 2d 2d 2d 20 2d 2d |name.# -|----- --|
|000004a0| 2d 2d 2d 2d 2d 2d 2d 2d | 20 2d 2d 2d 2d 2d 2d 2d |--------| -------|
|000004b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004d0| 2d 2d 2d 0a 23 20 20 20 | 32 35 32 35 20 2d 72 77 |---.# |2525 -rw|
|000004e0| 2d 72 2d 2d 72 2d 2d 20 | 52 45 41 44 4d 45 2e 62 |-r--r-- |README.b|
|000004f0| 61 63 6b 77 61 74 65 72 | 0a 23 20 20 20 20 31 37 |ackwater|.# 17|
|00000500| 35 20 2d 72 77 78 72 2d | 78 72 2d 78 20 68 69 73 |5 -rwxr-|xr-x his|
|00000510| 74 66 69 6c 65 73 0a 23 | 20 20 20 32 36 33 34 20 |tfiles.#| 2634 |
|00000520| 2d 72 77 2d 72 77 2d 72 | 2d 2d 20 62 61 63 6b 77 |-rw-rw-r|-- backw|
|00000530| 61 74 65 72 2e 63 0a 23 | 20 20 20 39 38 31 36 20 |ater.c.#| 9816 |
|00000540| 2d 72 77 2d 72 77 2d 72 | 2d 2d 20 4d 61 6b 65 66 |-rw-rw-r|-- Makef|
|00000550| 69 6c 65 0a 23 0a 23 20 | 3d 3d 3d 3d 3d 3d 3d 3d |ile.#.# |========|
|00000560| 3d 3d 3d 3d 3d 20 52 45 | 41 44 4d 45 2e 62 61 63 |===== RE|ADME.bac|
|00000570| 6b 77 61 74 65 72 20 3d | 3d 3d 3d 3d 3d 3d 3d 3d |kwater =|========|
|00000580| 3d 3d 3d 3d 3d 0a 69 66 | 20 74 65 73 74 20 2d 66 |=====.if| test -f|
|00000590| 20 27 52 45 41 44 4d 45 | 2e 62 61 63 6b 77 61 74 | 'README|.backwat|
|000005a0| 65 72 27 20 2d 61 20 58 | 22 24 31 22 20 21 3d 20 |er' -a X|"$1" != |
|000005b0| 58 22 2d 63 22 3b 20 74 | 68 65 6e 0a 09 65 63 68 |X"-c"; t|hen..ech|
|000005c0| 6f 20 27 78 20 2d 20 73 | 6b 69 70 70 69 6e 67 20 |o 'x - s|kipping |
|000005d0| 52 45 41 44 4d 45 2e 62 | 61 63 6b 77 61 74 65 72 |README.b|ackwater|
|000005e0| 20 28 46 69 6c 65 20 61 | 6c 72 65 61 64 79 20 65 | (File a|lready e|
|000005f0| 78 69 73 74 73 29 27 0a | 65 6c 73 65 0a 65 63 68 |xists)'.|else.ech|
|00000600| 6f 20 27 78 20 2d 20 65 | 78 74 72 61 63 74 69 6e |o 'x - e|xtractin|
|00000610| 67 20 52 45 41 44 4d 45 | 2e 62 61 63 6b 77 61 74 |g README|.backwat|
|00000620| 65 72 20 28 54 65 78 74 | 29 27 0a 73 65 64 20 27 |er (Text|)'.sed '|
|00000630| 73 2f 5e 58 2f 2f 27 20 | 3c 3c 20 27 53 48 41 52 |s/^X//' |<< 'SHAR|
|00000640| 5f 45 4f 46 27 20 3e 20 | 27 52 45 41 44 4d 45 2e |_EOF' > |'README.|
|00000650| 62 61 63 6b 77 61 74 65 | 72 27 20 26 26 0a 4e 6f |backwate|r' &&.No|
|00000660| 20 57 61 72 72 61 6e 74 | 79 20 6f 6e 20 74 68 69 | Warrant|y on thi|
|00000670| 73 20 63 6f 64 65 2c 20 | 75 73 65 20 61 74 20 79 |s code, |use at y|
|00000680| 6f 75 72 20 6f 77 6e 20 | 72 69 73 6b 2e 0a 57 72 |our own |risk..Wr|
|00000690| 69 74 74 65 6e 20 31 39 | 39 31 2e 30 32 2e 32 31 |itten 19|91.02.21|
|000006a0| 20 44 61 76 65 20 4d 61 | 73 6f 6e 20 3c 6d 61 73 | Dave Ma|son <mas|
|000006b0| 6f 6e 40 74 6d 73 6f 66 | 74 3e 0a 58 0a 54 68 69 |on@tmsof|t>.X.Thi|
|000006c0| 73 20 75 73 65 73 20 74 | 68 65 20 6c 69 62 72 61 |s uses t|he libra|
|000006d0| 72 69 65 73 20 74 68 61 | 74 20 63 6f 6d 65 20 77 |ries tha|t come w|
|000006e0| 69 74 68 20 43 20 6e 65 | 77 73 2c 20 73 6f 20 42 |ith C ne|ws, so B|
|000006f0| 20 6e 65 77 73 20 73 69 | 74 65 73 20 6d 61 79 0a | news si|tes may.|
|00000700| 68 61 76 65 20 74 6f 20 | 64 6f 20 61 20 6c 6f 74 |have to |do a lot|
|00000710| 20 6f 66 20 68 61 63 6b | 69 6e 67 20 74 6f 20 6d | of hack|ing to m|
|00000720| 61 6b 65 20 69 74 20 77 | 6f 72 6b 2e 0a 58 0a 54 |ake it w|ork..X.T|
|00000730| 68 65 72 65 20 68 61 73 | 20 72 65 63 65 6e 74 6c |here has| recentl|
|00000740| 79 20 28 61 6c 77 61 79 | 73 3f 29 20 62 65 65 6e |y (alway|s?) been|
|00000750| 20 61 20 70 72 6f 62 6c | 65 6d 20 6f 66 20 74 68 | a probl|em of th|
|00000760| 65 20 6f 64 64 20 73 69 | 74 65 20 74 68 61 74 20 |e odd si|te that |
|00000770| 68 61 73 0a 72 65 61 6c | 6c 79 20 62 61 64 20 6e |has.real|ly bad n|
|00000780| 65 77 73 20 63 6f 6e 6e | 65 63 74 69 6f 6e 73 20 |ews conn|ections |
|00000790| 61 6e 64 20 65 76 65 6e | 74 75 61 6c 6c 79 20 70 |and even|tually p|
|000007a0| 61 73 73 65 73 20 6f 6e | 20 6e 65 77 73 20 74 68 |asses on| news th|
|000007b0| 61 74 20 69 73 20 73 6f | 0a 6f 6c 64 20 74 68 61 |at is so|.old tha|
|000007c0| 74 20 74 68 65 20 4d 65 | 73 73 61 67 65 2d 49 44 |t the Me|ssage-ID|
|000007d0| 27 73 20 61 72 65 20 67 | 6f 6e 65 20 66 72 6f 6d |'s are g|one from|
|000007e0| 20 65 76 65 72 79 6f 6e | 65 27 73 20 68 69 73 74 | everyon|e's hist|
|000007f0| 6f 72 79 20 66 69 6c 65 | 2e 0a 58 0a 54 68 69 73 |ory file|..X.This|
|00000800| 20 69 72 72 69 74 61 74 | 65 64 20 6d 65 20 65 6e | irritat|ed me en|
|00000810| 6f 75 67 68 20 74 6f 64 | 61 79 20 74 68 61 74 20 |ough tod|ay that |
|00000820| 49 20 64 69 64 20 73 6f | 6d 65 74 68 69 6e 67 20 |I did so|mething |
|00000830| 61 62 6f 75 74 20 69 74 | 2e 20 20 4f 6e 20 74 68 |about it|. On th|
|00000840| 69 73 0a 73 79 73 74 65 | 6d 20 69 74 20 64 69 64 |is.syste|m it did|
|00000850| 6e 27 74 20 6d 61 6b 65 | 20 61 20 48 55 47 45 20 |n't make| a HUGE |
|00000860| 63 68 61 6e 67 65 2c 20 | 62 75 74 20 69 74 20 72 |change, |but it r|
|00000870| 65 6d 6f 76 65 64 20 61 | 62 6f 75 74 20 36 30 30 |emoved a|bout 600|
|00000880| 4b 20 66 72 6f 6d 0a 74 | 68 65 20 32 35 4d 42 20 |K from.t|he 25MB |
|00000890| 74 68 61 74 20 77 61 73 | 20 73 69 74 74 69 6e 67 |that was| sitting|
|000008a0| 20 69 6e 20 74 68 65 20 | 6e 65 77 73 20 70 61 72 | in the |news par|
|000008b0| 74 69 74 69 6f 6e 20 61 | 74 20 74 68 65 20 74 69 |tition a|t the ti|
|000008c0| 6d 65 2e 20 20 49 0a 73 | 75 73 70 65 63 74 20 69 |me. I.s|uspect i|
|000008d0| 74 20 77 6f 75 6c 64 20 | 68 61 76 65 20 6d 6f 72 |t would |have mor|
|000008e0| 65 20 65 66 66 65 63 74 | 20 6f 6e 20 73 79 73 74 |e effect| on syst|
|000008f0| 65 6d 73 20 74 68 61 74 | 20 64 6f 6e 27 74 20 65 |ems that| don't e|
|00000900| 78 70 69 72 65 20 71 75 | 69 74 65 0a 73 6f 20 61 |xpire qu|ite.so a|
|00000910| 67 67 72 65 73 73 69 76 | 65 6c 79 2e 0a 58 0a 54 |ggressiv|ely..X.T|
|00000920| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 74 61 6b 65 |his prog|ram take|
|00000930| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 66 69 6c 65 |s a list| of file|
|00000940| 20 6e 61 6d 65 73 20 6f | 6e 20 73 74 64 69 6e 2c | names o|n stdin,|
|00000950| 20 63 68 65 63 6b 73 20 | 74 68 65 20 44 61 74 65 | checks |the Date|
|00000960| 3a 0a 66 69 65 6c 64 20 | 69 6e 20 65 61 63 68 20 |:.field |in each |
|00000970| 66 69 6c 65 2c 20 63 68 | 65 63 6b 73 20 74 68 65 |file, ch|ecks the|
|00000980| 20 64 61 74 65 20 74 68 | 65 20 66 69 6c 65 20 77 | date th|e file w|
|00000990| 61 73 20 63 72 65 61 74 | 65 64 2c 20 61 6e 64 20 |as creat|ed, and |
|000009a0| 69 66 20 74 68 65 0a 44 | 61 74 65 20 69 73 20 3e |if the.D|ate is >|
|000009b0| 31 30 20 64 61 79 73 20 | 6f 6c 64 65 72 20 74 68 |10 days |older th|
|000009c0| 61 6e 20 74 68 65 20 6d | 6f 64 69 66 79 20 74 69 |an the m|odify ti|
|000009d0| 6d 65 2c 20 64 65 74 65 | 72 6d 69 6e 65 73 20 74 |me, dete|rmines t|
|000009e0| 68 61 74 20 74 68 69 73 | 20 66 69 6c 65 0a 68 61 |hat this| file.ha|
|000009f0| 73 20 74 61 6b 65 6e 20 | 74 6f 6f 20 6c 6f 6e 67 |s taken |too long|
|00000a00| 20 69 6e 20 74 72 61 6e | 73 69 74 20 26 20 73 70 | in tran|sit & sp|
|00000a10| 69 74 73 20 69 74 73 20 | 6e 61 6d 65 20 6f 6e 20 |its its |name on |
|00000a20| 73 74 64 6f 75 74 2e 20 | 20 28 49 66 20 79 6f 75 |stdout. | (If you|
|00000a30| 0a 6b 65 65 70 20 6d 6f | 72 65 20 74 68 61 6e 20 |.keep mo|re than |
|00000a40| 31 30 20 64 61 79 73 20 | 69 6e 20 79 6f 75 72 20 |10 days |in your |
|00000a50| 68 69 73 74 6f 72 79 20 | 66 69 6c 65 20 79 6f 75 |history |file you|
|00000a60| 20 63 61 6e 20 72 75 6e | 20 74 68 65 20 70 72 6f | can run| the pro|
|00000a70| 67 72 61 6d 0a 77 69 74 | 68 20 74 68 65 20 6e 75 |gram.wit|h the nu|
|00000a80| 6d 62 65 72 20 6f 66 20 | 64 61 79 73 20 61 73 20 |mber of |days as |
|00000a90| 61 20 70 61 72 61 6d 65 | 74 65 72 2e 29 0a 58 0a |a parame|ter.).X.|
|00000aa0| 54 79 70 69 63 61 6c 20 | 75 73 61 67 65 20 74 6f |Typical |usage to|
|00000ab0| 20 63 6c 65 61 6e 20 6f | 75 74 20 61 6c 6c 20 74 | clean o|ut all t|
|00000ac0| 68 6f 73 65 20 70 65 73 | 6b 79 20 6a 75 6e 6b 20 |hose pes|ky junk |
|00000ad0| 66 69 6c 65 73 20 77 6f | 75 6c 64 20 62 65 3a 0a |files wo|uld be:.|
|00000ae0| 58 09 63 64 20 2f 75 73 | 72 2f 73 70 6f 6f 6c 2f |X.cd /us|r/spool/|
|00000af0| 6e 65 77 73 0a 58 09 68 | 69 73 74 66 69 6c 65 73 |news.X.h|istfiles|
|00000b00| 20 2f 75 73 72 2f 6c 69 | 62 2f 6e 65 77 73 2f 68 | /usr/li|b/news/h|
|00000b10| 69 73 74 6f 72 79 20 7c | 0a 58 09 62 61 63 6b 77 |istory ||.X.backw|
|00000b20| 61 74 65 72 20 31 30 20 | 7c 0a 58 09 78 61 72 67 |ater 10 ||.X.xarg|
|00000b30| 73 20 72 6d 20 2d 66 0a | 58 0a 49 20 6c 6f 6f 6b |s rm -f.|X.I look|
|00000b40| 65 64 20 69 6e 20 65 78 | 70 69 72 65 20 61 6e 64 |ed in ex|pire and|
|00000b50| 20 72 65 6c 61 79 6e 65 | 77 73 20 74 6f 20 73 65 | relayne|ws to se|
|00000b60| 65 20 69 66 20 49 20 63 | 6f 75 6c 64 20 67 65 74 |e if I c|ould get|
|00000b70| 20 74 68 65 6d 20 74 6f | 20 64 6f 20 74 68 65 0a | them to| do the.|
|00000b80| 77 6f 72 6b 20 6d 6f 72 | 65 20 65 61 73 69 6c 79 |work mor|e easily|
|00000b90| 2c 20 62 75 74 20 74 68 | 65 20 61 6e 73 77 65 72 |, but th|e answer|
|00000ba0| 20 69 73 20 6e 6f 2e 20 | 20 72 65 6c 61 79 6e 65 | is no. | relayne|
|00000bb0| 77 73 20 64 6f 65 73 6e | 27 74 20 65 76 65 6e 20 |ws doesn|'t even |
|00000bc0| 6c 6f 6f 6b 0a 61 74 20 | 64 61 74 65 73 2c 20 61 |look.at |dates, a|
|00000bd0| 6e 64 20 65 78 70 69 72 | 65 20 64 6f 65 73 6e 27 |nd expir|e doesn'|
|00000be0| 74 20 6c 6f 6f 6b 20 61 | 74 20 74 68 65 20 66 69 |t look a|t the fi|
|00000bf0| 6c 65 73 2e 0a 58 0a 54 | 68 65 20 72 69 67 68 74 |les..X.T|he right|
|00000c00| 20 70 6c 61 63 65 20 74 | 6f 20 70 75 74 20 74 68 | place t|o put th|
|00000c10| 69 73 20 69 73 20 69 6e | 20 72 65 6c 61 79 6e 65 |is is in| relayne|
|00000c20| 77 73 20 28 73 6f 20 77 | 65 20 64 6f 6e 27 74 20 |ws (so w|e don't |
|00000c30| 63 72 65 61 74 65 20 74 | 68 65 0a 66 69 6c 65 20 |create t|he.file |
|00000c40| 69 6e 20 74 68 65 20 66 | 69 72 73 74 70 6c 61 63 |in the f|irstplac|
|00000c50| 65 29 2c 20 62 75 74 20 | 74 68 61 74 20 77 61 73 |e), but |that was|
|00000c60| 20 61 20 6c 69 74 74 6c | 65 20 6d 6f 72 65 20 77 | a littl|e more w|
|00000c70| 6f 72 6b 20 61 6e 64 20 | 77 6f 75 6c 64 0a 69 6e |ork and |would.in|
|00000c80| 63 72 65 61 73 65 20 69 | 74 73 20 73 69 7a 65 20 |crease i|ts size |
|00000c90| 28 73 69 6e 63 65 20 69 | 74 20 77 6f 75 6c 64 20 |(since i|t would |
|00000ca0| 72 65 71 75 69 72 65 20 | 67 65 74 64 61 74 65 29 |require |getdate)|
|00000cb0| 20 74 68 6f 75 67 68 20 | 69 74 20 77 6f 75 6c 64 | though |it would|
|00000cc0| 6e 27 74 0a 73 6c 6f 77 | 20 69 74 20 64 6f 77 6e |n't.slow| it down|
|00000cd0| 20 28 77 68 65 6e 20 79 | 6f 75 20 64 69 64 6e 27 | (when y|ou didn'|
|00000ce0| 74 20 77 61 6e 74 20 69 | 74 29 20 69 66 20 69 74 |t want i|t) if it|
|00000cf0| 20 77 61 73 20 6d 61 64 | 65 20 61 20 73 77 69 74 | was mad|e a swit|
|00000d00| 63 68 20 28 61 6e 64 0a | 70 72 6f 62 61 62 6c 79 |ch (and.|probably|
|00000d10| 20 6e 6f 74 20 54 4f 4f | 20 6d 75 63 68 20 65 76 | not TOO| much ev|
|00000d20| 65 6e 20 77 68 65 6e 20 | 79 6f 75 20 64 69 64 20 |en when |you did |
|00000d30| 77 61 6e 74 20 69 74 29 | 2e 20 20 48 65 6e 63 65 |want it)|. Hence|
|00000d40| 20 74 68 69 73 20 71 75 | 69 63 6b 20 26 20 64 69 | this qu|ick & di|
|00000d50| 72 74 79 2e 20 0a 58 0a | 68 69 73 74 66 69 6c 65 |rty. .X.|histfile|
|00000d60| 73 20 6a 75 73 74 20 65 | 78 74 72 61 63 74 73 20 |s just e|xtracts |
|00000d70| 66 69 6c 65 6e 61 6d 65 | 73 20 66 72 6f 6d 20 74 |filename|s from t|
|00000d80| 68 65 20 68 69 73 74 6f | 72 79 20 66 69 6c 65 20 |he histo|ry file |
|00000d90| 28 6a 75 73 74 20 74 68 | 65 0a 66 69 72 73 74 20 |(just th|e.first |
|00000da0| 6e 61 6d 65 29 20 72 65 | 70 6c 61 63 69 6e 67 20 |name) re|placing |
|00000db0| 60 2e 27 20 77 69 74 68 | 20 60 2f 27 2e 20 20 41 |`.' with| `/'. A|
|00000dc0| 6c 74 68 6f 75 67 68 20 | 69 74 27 73 20 61 6e 20 |lthough |it's an |
|00000dd0| 65 61 73 79 20 68 61 63 | 6b 2c 20 69 74 20 6d 61 |easy hac|k, it ma|
|00000de0| 79 0a 62 65 20 6f 66 20 | 73 6f 6d 65 20 73 6d 61 |y.be of |some sma|
|00000df0| 6c 6c 20 76 61 6c 75 65 | 20 6f 6e 20 69 74 73 20 |ll value| on its |
|00000e00| 6f 77 6e 2e 0a 58 0a 49 | 20 70 75 74 20 62 61 63 |own..X.I| put bac|
|00000e10| 6b 77 61 74 65 72 2e 63 | 20 69 6e 20 6e 65 77 73 |kwater.c| in news|
|00000e20| 2f 63 2f 65 78 70 69 72 | 65 20 61 6e 64 20 6d 6f |/c/expir|e and mo|
|00000e30| 64 69 66 69 65 64 20 74 | 68 65 20 4d 61 6b 65 66 |dified t|he Makef|
|00000e40| 69 6c 65 20 28 69 6e 63 | 6c 75 64 65 64 0a 68 65 |ile (inc|luded.he|
|00000e50| 72 65 29 2e 20 20 49 20 | 6d 69 67 68 74 20 77 72 |re). I |might wr|
|00000e60| 69 74 65 20 61 20 6c 69 | 74 74 6c 65 20 70 72 6f |ite a li|ttle pro|
|00000e70| 67 72 61 6d 20 74 6f 20 | 61 6c 6c 6f 77 20 79 6f |gram to |allow yo|
|00000e80| 75 20 74 6f 20 72 75 6e | 20 62 61 63 6b 6c 6f 67 |u to run| backlog|
|00000e90| 0a 6f 6e 6c 79 20 6f 6e | 20 74 68 65 20 66 69 6c |.only on| the fil|
|00000ea0| 65 73 20 74 68 61 74 20 | 68 61 76 65 20 61 72 72 |es that |have arr|
|00000eb0| 69 76 65 64 20 73 69 6e | 63 65 20 74 68 65 20 6c |ived sin|ce the l|
|00000ec0| 61 73 74 20 74 72 79 20 | 28 69 6d 70 72 6f 76 69 |ast try |(improvi|
|00000ed0| 6e 67 20 6f 6e 0a 60 60 | 68 69 73 74 66 69 6c 65 |ng on.``|histfile|
|00000ee0| 73 27 27 29 2c 20 62 75 | 74 20 49 20 6d 61 79 20 |s''), bu|t I may |
|00000ef0| 6a 75 73 74 20 6d 61 6b | 65 20 74 68 65 20 63 68 |just mak|e the ch|
|00000f00| 61 6e 67 65 20 74 6f 20 | 72 65 6c 61 79 6e 65 77 |ange to |relaynew|
|00000f10| 73 20 26 20 73 65 6e 64 | 20 69 74 20 74 6f 0a 47 |s & send| it to.G|
|00000f20| 65 6f 66 66 2e 0a 58 0a | 46 69 6e 61 6c 20 63 6f |eoff..X.|Final co|
|00000f30| 6d 6d 65 6e 74 3a 20 49 | 20 68 61 76 65 20 6e 6f |mment: I| have no|
|00000f40| 74 20 74 65 73 74 65 64 | 20 62 61 63 6b 77 61 74 |t tested| backwat|
|00000f50| 65 72 20 77 69 74 68 20 | 74 68 65 20 70 61 72 61 |er with |the para|
|00000f60| 6d 65 74 65 72 20 6f 6e | 20 74 68 65 0a 63 6f 6d |meter on| the.com|
|00000f70| 6d 61 6e 64 20 6c 69 6e | 65 2e 20 20 54 68 65 20 |mand lin|e. The |
|00000f80| 63 6f 64 65 20 6c 6f 6f | 6b 73 20 72 69 67 68 74 |code loo|ks right|
|00000f90| 2c 20 62 75 74 20 49 27 | 76 65 20 70 75 74 20 6d |, but I'|ve put m|
|00000fa0| 6f 72 65 20 74 69 6d 65 | 20 69 6e 74 6f 20 74 68 |ore time| into th|
|00000fb0| 69 73 0a 74 68 61 6e 20 | 49 20 63 61 6e 20 61 66 |is.than |I can af|
|00000fc0| 66 6f 72 64 20 61 6c 72 | 65 61 64 79 2e 20 20 42 |ford alr|eady. B|
|00000fd0| 75 79 65 72 20 62 65 77 | 61 72 65 21 0a 58 0a 4f |uyer bew|are!.X.O|
|00000fe0| 68 2c 20 61 6e 64 20 74 | 68 61 6e 6b 73 20 48 65 |h, and t|hanks He|
|00000ff0| 6e 72 79 20 26 20 47 65 | 6f 66 66 20 66 6f 72 20 |nry & Ge|off for |
|00001000| 6d 61 6b 69 6e 67 20 63 | 6f 64 65 20 74 68 61 74 |making c|ode that|
|00001010| 27 73 20 6e 69 63 65 20 | 26 20 65 61 73 79 20 74 |'s nice |& easy t|
|00001020| 6f 20 68 61 63 6b 2e 0a | 58 0a 48 6f 70 65 20 74 |o hack..|X.Hope t|
|00001030| 68 69 73 20 68 65 6c 70 | 73 20 73 6f 6d 65 6f 6e |his help|s someon|
|00001040| 65 2e 09 2e 2e 2f 44 61 | 76 65 0a 53 48 41 52 5f |e..../Da|ve.SHAR_|
|00001050| 45 4f 46 0a 63 68 6d 6f | 64 20 30 36 34 34 20 52 |EOF.chmo|d 0644 R|
|00001060| 45 41 44 4d 45 2e 62 61 | 63 6b 77 61 74 65 72 20 |EADME.ba|ckwater |
|00001070| 7c 7c 0a 65 63 68 6f 20 | 27 72 65 73 74 6f 72 65 |||.echo |'restore|
|00001080| 20 6f 66 20 52 45 41 44 | 4d 45 2e 62 61 63 6b 77 | of READ|ME.backw|
|00001090| 61 74 65 72 20 66 61 69 | 6c 65 64 27 0a 57 63 5f |ater fai|led'.Wc_|
|000010a0| 63 3d 22 60 77 63 20 2d | 63 20 3c 20 27 52 45 41 |c="`wc -|c < 'REA|
|000010b0| 44 4d 45 2e 62 61 63 6b | 77 61 74 65 72 27 60 22 |DME.back|water'`"|
|000010c0| 0a 74 65 73 74 20 32 35 | 32 35 20 2d 65 71 20 22 |.test 25|25 -eq "|
|000010d0| 24 57 63 5f 63 22 20 7c | 7c 0a 09 65 63 68 6f 20 |$Wc_c" |||..echo |
|000010e0| 27 52 45 41 44 4d 45 2e | 62 61 63 6b 77 61 74 65 |'README.|backwate|
|000010f0| 72 3a 20 6f 72 69 67 69 | 6e 61 6c 20 73 69 7a 65 |r: origi|nal size|
|00001100| 20 32 35 32 35 2c 20 63 | 75 72 72 65 6e 74 20 73 | 2525, c|urrent s|
|00001110| 69 7a 65 27 20 22 24 57 | 63 5f 63 22 0a 66 69 0a |ize' "$W|c_c".fi.|
|00001120| 23 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 20 |# ======|======= |
|00001130| 68 69 73 74 66 69 6c 65 | 73 20 3d 3d 3d 3d 3d 3d |histfile|s ======|
|00001140| 3d 3d 3d 3d 3d 3d 3d 3d | 0a 69 66 20 74 65 73 74 |========|.if test|
|00001150| 20 2d 66 20 27 68 69 73 | 74 66 69 6c 65 73 27 20 | -f 'his|tfiles' |
|00001160| 2d 61 20 58 22 24 31 22 | 20 21 3d 20 58 22 2d 63 |-a X"$1"| != X"-c|
|00001170| 22 3b 20 74 68 65 6e 0a | 09 65 63 68 6f 20 27 78 |"; then.|.echo 'x|
|00001180| 20 2d 20 73 6b 69 70 70 | 69 6e 67 20 68 69 73 74 | - skipp|ing hist|
|00001190| 66 69 6c 65 73 20 28 46 | 69 6c 65 20 61 6c 72 65 |files (F|ile alre|
|000011a0| 61 64 79 20 65 78 69 73 | 74 73 29 27 0a 65 6c 73 |ady exis|ts)'.els|
|000011b0| 65 0a 65 63 68 6f 20 27 | 78 20 2d 20 65 78 74 72 |e.echo '|x - extr|
|000011c0| 61 63 74 69 6e 67 20 68 | 69 73 74 66 69 6c 65 73 |acting h|istfiles|
|000011d0| 20 28 54 65 78 74 29 27 | 0a 73 65 64 20 27 73 2f | (Text)'|.sed 's/|
|000011e0| 5e 58 2f 2f 27 20 3c 3c | 20 27 53 48 41 52 5f 45 |^X//' <<| 'SHAR_E|
|000011f0| 4f 46 27 20 3e 20 27 68 | 69 73 74 66 69 6c 65 73 |OF' > 'h|istfiles|
|00001200| 27 20 26 26 0a 61 77 6b | 20 2d 46 74 20 27 0a 58 |' &&.awk| -Ft '.X|
|00001210| 09 4e 46 3d 3d 33 20 7b | 69 3d 69 6e 64 65 78 28 |.NF==3 {|i=index(|
|00001220| 24 33 2c 22 20 22 29 0a | 58 09 09 69 66 20 28 69 |$3," ").|X..if (i|
|00001230| 29 20 78 3d 73 75 62 73 | 74 72 28 24 33 2c 31 2c |) x=subs|tr($3,1,|
|00001240| 69 2d 31 29 3b 65 6c 73 | 65 20 78 3d 24 33 0a 58 |i-1);els|e x=$3.X|
|00001250| 09 09 69 3d 69 6e 64 65 | 78 28 78 2c 22 2e 22 29 |..i=inde|x(x,".")|
|00001260| 0a 58 09 09 77 68 69 6c | 65 20 28 69 29 20 7b 78 |.X..whil|e (i) {x|
|00001270| 3d 73 75 62 73 74 72 28 | 78 2c 31 2c 69 2d 31 29 |=substr(|x,1,i-1)|
|00001280| 20 22 2f 22 20 73 75 62 | 73 74 72 28 78 2c 69 2b | "/" sub|str(x,i+|
|00001290| 31 29 3b 69 3d 69 6e 64 | 65 78 28 78 2c 22 2e 22 |1);i=ind|ex(x,"."|
|000012a0| 29 7d 0a 58 09 09 70 72 | 69 6e 74 20 78 0a 58 09 |)}.X..pr|int x.X.|
|000012b0| 7d 27 20 24 7b 31 3a 2d | 7d 0a 53 48 41 52 5f 45 |}' ${1:-|}.SHAR_E|
|000012c0| 4f 46 0a 63 68 6d 6f 64 | 20 30 37 35 35 20 68 69 |OF.chmod| 0755 hi|
|000012d0| 73 74 66 69 6c 65 73 20 | 7c 7c 0a 65 63 68 6f 20 |stfiles |||.echo |
|000012e0| 27 72 65 73 74 6f 72 65 | 20 6f 66 20 68 69 73 74 |'restore| of hist|
|000012f0| 66 69 6c 65 73 20 66 61 | 69 6c 65 64 27 0a 57 63 |files fa|iled'.Wc|
|00001300| 5f 63 3d 22 60 77 63 20 | 2d 63 20 3c 20 27 68 69 |_c="`wc |-c < 'hi|
|00001310| 73 74 66 69 6c 65 73 27 | 60 22 0a 74 65 73 74 20 |stfiles'|`".test |
|00001320| 31 37 35 20 2d 65 71 20 | 22 24 57 63 5f 63 22 20 |175 -eq |"$Wc_c" |
|00001330| 7c 7c 0a 09 65 63 68 6f | 20 27 68 69 73 74 66 69 |||..echo| 'histfi|
|00001340| 6c 65 73 3a 20 6f 72 69 | 67 69 6e 61 6c 20 73 69 |les: ori|ginal si|
|00001350| 7a 65 20 31 37 35 2c 20 | 63 75 72 72 65 6e 74 20 |ze 175, |current |
|00001360| 73 69 7a 65 27 20 22 24 | 57 63 5f 63 22 0a 66 69 |size' "$|Wc_c".fi|
|00001370| 0a 23 20 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.# =====|========|
|00001380| 20 62 61 63 6b 77 61 74 | 65 72 2e 63 20 3d 3d 3d | backwat|er.c ===|
|00001390| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 69 66 20 74 |========|===.if t|
|000013a0| 65 73 74 20 2d 66 20 27 | 62 61 63 6b 77 61 74 65 |est -f '|backwate|
|000013b0| 72 2e 63 27 20 2d 61 20 | 58 22 24 31 22 20 21 3d |r.c' -a |X"$1" !=|
|000013c0| 20 58 22 2d 63 22 3b 20 | 74 68 65 6e 0a 09 65 63 | X"-c"; |then..ec|
|000013d0| 68 6f 20 27 78 20 2d 20 | 73 6b 69 70 70 69 6e 67 |ho 'x - |skipping|
|000013e0| 20 62 61 63 6b 77 61 74 | 65 72 2e 63 20 28 46 69 | backwat|er.c (Fi|
|000013f0| 6c 65 20 61 6c 72 65 61 | 64 79 20 65 78 69 73 74 |le alrea|dy exist|
|00001400| 73 29 27 0a 65 6c 73 65 | 0a 65 63 68 6f 20 27 78 |s)'.else|.echo 'x|
|00001410| 20 2d 20 65 78 74 72 61 | 63 74 69 6e 67 20 62 61 | - extra|cting ba|
|00001420| 63 6b 77 61 74 65 72 2e | 63 20 28 54 65 78 74 29 |ckwater.|c (Text)|
|00001430| 27 0a 73 65 64 20 27 73 | 2f 5e 58 2f 2f 27 20 3c |'.sed 's|/^X//' <|
|00001440| 3c 20 27 53 48 41 52 5f | 45 4f 46 27 20 3e 20 27 |< 'SHAR_|EOF' > '|
|00001450| 62 61 63 6b 77 61 74 65 | 72 2e 63 27 20 26 26 0a |backwate|r.c' &&.|
|00001460| 2f 2a 0a 58 20 2a 20 62 | 61 63 6b 77 61 74 65 72 |/*.X * b|ackwater|
|00001470| 20 2d 20 70 72 69 6e 74 | 20 66 69 6c 65 20 6e 61 | - print| file na|
|00001480| 6d 65 73 20 66 6f 72 20 | 61 72 74 69 63 6c 65 73 |mes for |articles|
|00001490| 20 74 68 61 74 20 67 6f | 74 20 73 74 75 63 6b 20 | that go|t stuck |
|000014a0| 69 6e 20 61 20 6e 65 74 | 20 62 61 63 6b 77 61 74 |in a net| backwat|
|000014b0| 65 72 0a 58 20 2a 2f 0a | 58 0a 23 69 6e 63 6c 75 |er.X */.|X.#inclu|
|000014c0| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0a 23 69 6e |de <stdi|o.h>.#in|
|000014d0| 63 6c 75 64 65 20 3c 73 | 79 73 2f 74 79 70 65 73 |clude <s|ys/types|
|000014e0| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |.h>.#inc|lude <sy|
|000014f0| 73 2f 74 69 6d 65 62 2e | 68 3e 0a 23 69 6e 63 6c |s/timeb.|h>.#incl|
|00001500| 75 64 65 20 3c 73 79 73 | 2f 73 74 61 74 2e 68 3e |ude <sys|/stat.h>|
|00001510| 09 09 2f 2a 20 66 6f 72 | 20 6d 6f 64 69 66 69 65 |../* for| modifie|
|00001520| 64 20 74 69 6d 65 20 28 | 64 61 74 65 20 72 65 63 |d time (|date rec|
|00001530| 65 69 76 65 64 29 20 2a | 2f 0a 23 69 6e 63 6c 75 |eived) *|/.#inclu|
|00001540| 64 65 20 3c 73 74 72 69 | 6e 67 2e 68 3e 0a 23 69 |de <stri|ng.h>.#i|
|00001550| 6e 63 6c 75 64 65 20 22 | 63 6f 6e 66 69 67 2e 68 |nclude "|config.h|
|00001560| 22 0a 23 69 6e 63 6c 75 | 64 65 20 22 66 67 65 74 |".#inclu|de "fget|
|00001570| 6d 66 73 2e 68 22 0a 23 | 69 6e 63 6c 75 64 65 20 |mfs.h".#|include |
|00001580| 22 61 6c 6c 6f 63 2e 68 | 22 0a 23 69 6e 63 6c 75 |"alloc.h|".#inclu|
|00001590| 64 65 20 22 63 61 73 65 | 2e 68 22 0a 58 0a 23 64 |de "case|.h".X.#d|
|000015a0| 65 66 69 6e 65 20 53 54 | 52 4c 45 4e 28 73 29 20 |efine ST|RLEN(s) |
|000015b0| 28 73 69 7a 65 6f 66 28 | 73 29 20 2d 20 31 29 09 |(sizeof(|s) - 1).|
|000015c0| 2f 2a 20 73 20 6d 75 73 | 74 20 62 65 20 61 20 63 |/* s mus|t be a c|
|000015d0| 68 61 72 20 61 72 72 61 | 79 20 2a 2f 0a 23 64 65 |har arra|y */.#de|
|000015e0| 66 69 6e 65 09 44 41 59 | 53 45 43 53 09 28 36 30 |fine.DAY|SECS.(60|
|000015f0| 2a 36 30 2a 32 34 4c 29 | 0a 58 0a 6c 6f 6e 67 09 |*60*24L)|.X.long.|
|00001600| 64 61 74 65 6f 66 66 73 | 65 74 20 3d 20 44 41 59 |dateoffs|et = DAY|
|00001610| 53 45 43 53 2a 31 30 3b | 0a 63 68 61 72 20 2a 70 |SECS*10;|.char *p|
|00001620| 72 6f 67 6e 61 6d 65 3b | 0a 69 6e 74 20 64 65 62 |rogname;|.int deb|
|00001630| 75 67 3b 0a 73 74 72 75 | 63 74 20 74 69 6d 65 62 |ug;.stru|ct timeb|
|00001640| 20 66 74 6e 6f 77 3b 09 | 09 2f 2a 20 66 74 69 6d | ftnow;.|./* ftim|
|00001650| 65 28 29 20 72 65 73 75 | 6c 74 20 66 6f 72 20 67 |e() resu|lt for g|
|00001660| 65 74 64 61 74 65 28 29 | 20 2a 2f 0a 58 0a 46 49 |etdate()| */.X.FI|
|00001670| 4c 45 20 2a 65 66 6f 70 | 65 6e 28 29 3b 0a 58 0a |LE *efop|en();.X.|
|00001680| 63 68 61 72 20 2a 73 70 | 64 69 72 3b 0a 69 6e 74 |char *sp|dir;.int|
|00001690| 20 73 70 64 69 72 6c 65 | 6e 3b 0a 58 0a 2f 2a 0a | spdirle|n;.X./*.|
|000016a0| 58 20 2a 20 6d 61 69 6e | 20 2d 20 70 61 72 73 65 |X * main| - parse|
|000016b0| 20 61 72 67 75 6d 65 6e | 74 73 20 61 6e 64 20 68 | argumen|ts and h|
|000016c0| 61 6e 64 6c 65 20 6f 70 | 74 69 6f 6e 73 0a 58 20 |andle op|tions.X |
|000016d0| 2a 2f 0a 6d 61 69 6e 28 | 61 72 67 63 2c 20 61 72 |*/.main(|argc, ar|
|000016e0| 67 76 29 0a 69 6e 74 20 | 61 72 67 63 3b 0a 63 68 |gv).int |argc;.ch|
|000016f0| 61 72 20 2a 61 72 67 76 | 5b 5d 3b 0a 7b 0a 58 09 |ar *argv|[];.{.X.|
|00001700| 69 6e 74 20 63 3b 0a 58 | 09 69 6e 74 20 65 72 72 |int c;.X|.int err|
|00001710| 66 6c 67 20 3d 20 30 3b | 0a 58 09 46 49 4c 45 20 |flg = 0;|.X.FILE |
|00001720| 2a 69 6e 3b 0a 58 09 63 | 68 61 72 20 2a 69 6e 6e |*in;.X.c|har *inn|
|00001730| 61 6d 65 3b 0a 58 09 65 | 78 74 65 72 6e 20 69 6e |ame;.X.e|xtern in|
|00001740| 74 20 6f 70 74 69 6e 64 | 3b 0a 58 09 65 78 74 65 |t optind|;.X.exte|
|00001750| 72 6e 20 63 68 61 72 20 | 2a 6f 70 74 61 72 67 3b |rn char |*optarg;|
|00001760| 0a 58 0a 58 09 70 72 6f | 67 6e 61 6d 65 20 3d 20 |.X.X.pro|gname = |
|00001770| 61 72 67 76 5b 30 5d 3b | 0a 58 09 66 74 69 6d 65 |argv[0];|.X.ftime|
|00001780| 28 26 66 74 6e 6f 77 29 | 3b 0a 58 09 77 68 69 6c |(&ftnow)|;.X.whil|
|00001790| 65 20 28 28 63 20 3d 20 | 67 65 74 6f 70 74 28 61 |e ((c = |getopt(a|
|000017a0| 72 67 63 2c 20 61 72 67 | 76 2c 20 22 64 22 29 29 |rgc, arg|v, "d"))|
|000017b0| 20 21 3d 20 45 4f 46 29 | 0a 58 09 09 73 77 69 74 | != EOF)|.X..swit|
|000017c0| 63 68 20 28 63 29 20 7b | 0a 58 09 09 63 61 73 65 |ch (c) {|.X..case|
|000017d0| 20 27 64 27 3a 0a 58 09 | 09 09 2b 2b 64 65 62 75 | 'd':.X.|..++debu|
|000017e0| 67 3b 0a 58 09 09 09 62 | 72 65 61 6b 3b 0a 58 09 |g;.X...b|reak;.X.|
|000017f0| 09 64 65 66 61 75 6c 74 | 3a 0a 58 09 09 09 65 72 |.default|:.X...er|
|00001800| 72 66 6c 67 2b 2b 3b 0a | 58 09 09 09 62 72 65 61 |rflg++;.|X...brea|
|00001810| 6b 3b 0a 58 09 09 7d 0a | 58 09 69 66 20 28 6f 70 |k;.X..}.|X.if (op|
|00001820| 74 69 6e 64 20 3c 20 61 | 72 67 63 29 20 7b 0a 58 |tind < a|rgc) {.X|
|00001830| 09 09 64 61 74 65 6f 66 | 66 73 65 74 3d 61 74 6f |..dateof|fset=ato|
|00001840| 69 28 61 72 67 76 5b 6f | 70 74 69 6e 64 2b 2b 5d |i(argv[o|ptind++]|
|00001850| 29 2a 44 41 59 53 45 43 | 53 3b 0a 58 09 09 69 66 |)*DAYSEC|S;.X..if|
|00001860| 20 28 64 61 74 65 6f 66 | 66 73 65 74 3c 44 41 59 | (dateof|fset<DAY|
|00001870| 53 45 43 53 29 20 2b 2b | 65 72 72 66 6c 67 3b 0a |SECS) ++|errflg;.|
|00001880| 58 09 7d 0a 58 09 69 66 | 20 28 6f 70 74 69 6e 64 |X.}.X.if| (optind|
|00001890| 20 3c 20 61 72 67 63 20 | 7c 7c 20 65 72 72 66 6c | < argc ||| errfl|
|000018a0| 67 29 20 7b 0a 58 09 09 | 28 76 6f 69 64 29 20 66 |g) {.X..|(void) f|
|000018b0| 70 72 69 6e 74 66 28 73 | 74 64 65 72 72 2c 20 22 |printf(s|tderr, "|
|000018c0| 75 73 61 67 65 3a 20 25 | 73 20 5b 2d 64 5d 20 5b |usage: %|s [-d] [|
|000018d0| 64 61 79 73 5d 5c 6e 22 | 2c 20 70 72 6f 67 6e 61 |days]\n"|, progna|
|000018e0| 6d 65 29 3b 0a 58 09 09 | 65 78 69 74 28 32 29 3b |me);.X..|exit(2);|
|000018f0| 0a 58 09 7d 0a 58 0a 58 | 09 73 70 64 69 72 20 3d |.X.}.X.X|.spdir =|
|00001900| 20 61 72 74 66 69 6c 65 | 28 28 63 68 61 72 20 2a | artfile|((char *|
|00001910| 29 4e 55 4c 4c 29 3b 0a | 58 09 73 70 64 69 72 6c |)NULL);.|X.spdirl|
|00001920| 65 6e 20 3d 20 73 74 72 | 6c 65 6e 28 73 70 64 69 |en = str|len(spdi|
|00001930| 72 29 3b 0a 58 09 0a 58 | 09 77 68 69 6c 65 20 28 |r);.X..X|.while (|
|00001940| 28 69 6e 6e 61 6d 65 20 | 3d 20 66 67 65 74 6d 73 |(inname |= fgetms|
|00001950| 28 73 74 64 69 6e 29 29 | 20 21 3d 20 4e 55 4c 4c |(stdin))| != NULL|
|00001960| 29 20 7b 0a 58 09 09 69 | 6e 6e 61 6d 65 5b 73 74 |) {.X..i|nname[st|
|00001970| 72 6c 65 6e 28 69 6e 6e | 61 6d 65 29 2d 31 5d 20 |rlen(inn|ame)-1] |
|00001980| 3d 20 27 5c 30 27 3b 09 | 2f 2a 20 6b 69 6c 6c 20 |= '\0';.|/* kill |
|00001990| 6e 65 77 6c 69 6e 65 20 | 2a 2f 0a 58 09 09 69 66 |newline |*/.X..if|
|000019a0| 20 28 73 74 72 63 68 72 | 28 69 6e 6e 61 6d 65 2c | (strchr|(inname,|
|000019b0| 20 27 2e 27 29 20 3d 3d | 20 4e 55 4c 4c 29 20 7b | '.') ==| NULL) {|
|000019c0| 09 2f 2a 20 73 6b 69 70 | 20 64 6f 74 20 6e 61 6d |./* skip| dot nam|
|000019d0| 65 73 20 2a 2f 0a 58 09 | 09 09 69 6e 20 3d 20 65 |es */.X.|..in = e|
|000019e0| 66 6f 70 65 6e 28 69 6e | 6e 61 6d 65 2c 20 22 72 |fopen(in|name, "r|
|000019f0| 22 29 3b 0a 58 09 09 09 | 70 72 6f 63 65 73 73 28 |");.X...|process(|
|00001a00| 69 6e 2c 20 69 6e 6e 61 | 6d 65 29 3b 0a 58 09 09 |in, inna|me);.X..|
|00001a10| 09 28 76 6f 69 64 29 20 | 66 63 6c 6f 73 65 28 69 |.(void) |fclose(i|
|00001a20| 6e 29 3b 0a 58 09 09 7d | 0a 58 09 09 66 72 65 65 |n);.X..}|.X..free|
|00001a30| 28 69 6e 6e 61 6d 65 29 | 3b 0a 58 09 7d 0a 58 09 |(inname)|;.X.}.X.|
|00001a40| 65 78 69 74 28 30 29 3b | 0a 7d 0a 58 0a 2f 2a 0a |exit(0);|.}.X./*.|
|00001a50| 58 20 2a 20 70 72 6f 63 | 65 73 73 20 2d 20 70 72 |X * proc|ess - pr|
|00001a60| 6f 63 65 73 73 20 69 6e | 70 75 74 20 66 69 6c 65 |ocess in|put file|
|00001a70| 0a 58 20 2a 2f 0a 70 72 | 6f 63 65 73 73 28 69 6e |.X */.pr|ocess(in|
|00001a80| 2c 20 69 6e 6e 61 6d 65 | 29 0a 46 49 4c 45 20 2a |, inname|).FILE *|
|00001a90| 69 6e 3b 0a 63 68 61 72 | 20 2a 69 6e 6e 61 6d 65 |in;.char| *inname|
|00001aa0| 3b 0a 7b 0a 58 09 63 68 | 61 72 20 2a 6e 61 6d 65 |;.{.X.ch|ar *name|
|00001ab0| 3b 0a 58 09 63 68 61 72 | 20 2a 6c 69 6e 65 3b 0a |;.X.char| *line;.|
|00001ac0| 58 09 63 68 61 72 20 2a | 64 61 74 65 3b 0a 58 09 |X.char *|date;.X.|
|00001ad0| 74 69 6d 65 5f 74 20 64 | 61 74 65 72 63 76 2c 6f |time_t d|atercv,o|
|00001ae0| 72 69 67 64 61 74 65 3b | 0a 58 09 73 74 72 75 63 |rigdate;|.X.struc|
|00001af0| 74 20 73 74 61 74 20 73 | 74 61 74 62 3b 0a 58 09 |t stat s|tatb;.X.|
|00001b00| 73 74 61 74 69 63 20 63 | 68 61 72 20 64 61 74 65 |static c|har date|
|00001b10| 6e 6d 5b 5d 20 3d 20 20 | 20 20 22 44 61 74 65 3a |nm[] = | "Date:|
|00001b20| 20 22 3b 0a 58 09 72 65 | 67 69 73 74 65 72 20 63 | ";.X.re|gister c|
|00001b30| 68 61 72 20 2a 70 3b 0a | 58 0a 58 09 64 61 74 65 |har *p;.|X.X.date|
|00001b40| 20 3d 20 4e 55 4c 4c 3b | 0a 58 0a 58 09 2f 2a 20 | = NULL;|.X.X./* |
|00001b50| 72 65 61 64 20 75 6e 74 | 69 6c 20 45 4f 46 20 6f |read unt|il EOF o|
|00001b60| 72 20 62 6c 61 6e 6b 20 | 6c 69 6e 65 20 28 65 6e |r blank |line (en|
|00001b70| 64 20 6f 66 20 68 65 61 | 64 65 72 73 29 20 2a 2f |d of hea|ders) */|
|00001b80| 0a 58 09 77 68 69 6c 65 | 20 28 28 6c 69 6e 65 20 |.X.while| ((line |
|00001b90| 3d 20 66 67 65 74 6d 73 | 28 69 6e 29 29 20 21 3d |= fgetms|(in)) !=|
|00001ba0| 20 4e 55 4c 4c 20 26 26 | 20 73 74 72 63 6d 70 28 | NULL &&| strcmp(|
|00001bb0| 6c 69 6e 65 2c 20 22 5c | 6e 22 29 20 21 3d 20 30 |line, "\|n") != 0|
|00001bc0| 29 20 7b 0a 58 09 09 6c | 69 6e 65 5b 73 74 72 6c |) {.X..l|ine[strl|
|00001bd0| 65 6e 28 6c 69 6e 65 29 | 2d 31 5d 20 3d 20 27 5c |en(line)|-1] = '\|
|00001be0| 30 27 3b 09 09 2f 2a 20 | 74 72 69 6d 20 6e 65 77 |0';../* |trim new|
|00001bf0| 6c 69 6e 65 20 2a 2f 0a | 58 09 09 69 66 20 28 43 |line */.|X..if (C|
|00001c00| 49 53 54 52 45 51 4e 28 | 6c 69 6e 65 2c 20 64 61 |ISTREQN(|line, da|
|00001c10| 74 65 6e 6d 2c 20 53 54 | 52 4c 45 4e 28 64 61 74 |tenm, ST|RLEN(dat|
|00001c20| 65 6e 6d 29 29 29 20 7b | 0a 58 09 09 09 69 66 20 |enm))) {|.X...if |
|00001c30| 28 64 61 74 65 20 21 3d | 20 4e 55 4c 4c 29 0a 58 |(date !=| NULL).X|
|00001c40| 09 09 09 09 66 72 65 65 | 28 64 61 74 65 29 3b 0a |....free|(date);.|
|00001c50| 58 09 09 09 64 61 74 65 | 20 3d 20 73 74 72 73 61 |X...date| = strsa|
|00001c60| 76 65 28 6c 69 6e 65 2b | 53 54 52 4c 45 4e 28 64 |ve(line+|STRLEN(d|
|00001c70| 61 74 65 6e 6d 29 29 3b | 0a 58 09 09 7d 0a 58 09 |atenm));|.X..}.X.|
|00001c80| 09 66 72 65 65 28 6c 69 | 6e 65 29 3b 0a 58 09 7d |.free(li|ne);.X.}|
|00001c90| 0a 58 09 69 66 20 28 6c | 69 6e 65 20 21 3d 20 4e |.X.if (l|ine != N|
|00001ca0| 55 4c 4c 29 0a 58 09 09 | 66 72 65 65 28 6c 69 6e |ULL).X..|free(lin|
|00001cb0| 65 29 3b 0a 58 0a 58 09 | 69 66 20 28 64 61 74 65 |e);.X.X.|if (date|
|00001cc0| 21 3d 4e 55 4c 4c 29 20 | 7b 0a 58 09 09 2f 2a 20 |!=NULL) |{.X../* |
|00001cd0| 67 65 6e 65 72 61 74 65 | 20 74 68 65 20 64 61 74 |generate| the dat|
|00001ce0| 65 20 72 65 63 65 69 76 | 65 64 20 2a 2f 0a 58 09 |e receiv|ed */.X.|
|00001cf0| 09 28 76 6f 69 64 29 20 | 66 73 74 61 74 28 66 69 |.(void) |fstat(fi|
|00001d00| 6c 65 6e 6f 28 69 6e 29 | 2c 20 26 73 74 61 74 62 |leno(in)|, &statb|
|00001d10| 29 3b 0a 58 09 09 64 61 | 74 65 72 63 76 20 3d 20 |);.X..da|tercv = |
|00001d20| 73 74 61 74 62 2e 73 74 | 5f 6d 74 69 6d 65 3b 0a |statb.st|_mtime;.|
|00001d30| 58 0a 58 09 09 2f 2a 20 | 66 69 6e 64 20 6f 75 74 |X.X../* |find out|
|00001d40| 20 77 68 65 6e 20 69 74 | 20 77 61 73 20 70 6f 73 | when it| was pos|
|00001d50| 74 65 64 20 2a 2f 0a 58 | 09 09 6f 72 69 67 64 61 |ted */.X|..origda|
|00001d60| 74 65 20 3d 20 67 65 74 | 64 61 74 65 28 64 61 74 |te = get|date(dat|
|00001d70| 65 2c 20 26 66 74 6e 6f | 77 29 3b 0a 58 0a 58 09 |e, &ftno|w);.X.X.|
|00001d80| 09 69 66 20 28 6f 72 69 | 67 64 61 74 65 20 3d 3d |.if (ori|gdate ==|
|00001d90| 20 2d 31 29 0a 58 09 09 | 09 66 70 72 69 6e 74 66 | -1).X..|.fprintf|
|00001da0| 28 73 74 64 65 72 72 2c | 22 25 73 3a 20 49 6e 76 |(stderr,|"%s: Inv|
|00001db0| 61 6c 69 64 20 64 61 74 | 65 20 69 6e 20 25 73 3a |alid dat|e in %s:|
|00001dc0| 60 25 73 27 5c 6e 22 2c | 70 72 6f 67 6e 61 6d 65 |`%s'\n",|progname|
|00001dd0| 2c 69 6e 6e 61 6d 65 2c | 64 61 74 65 29 3b 0a 58 |,inname,|date);.X|
|00001de0| 09 09 65 6c 73 65 20 69 | 66 20 28 6f 72 69 67 64 |..else i|f (origd|
|00001df0| 61 74 65 2b 64 61 74 65 | 6f 66 66 73 65 74 3c 64 |ate+date|offset<d|
|00001e00| 61 74 65 72 63 76 29 20 | 7b 0a 58 09 09 09 2f 2a |atercv) |{.X.../*|
|00001e10| 20 77 68 6f 6d 70 20 6f | 75 74 20 74 68 65 20 66 | whomp o|ut the f|
|00001e20| 69 6c 65 20 6e 61 6d 65 | 20 2a 2f 0a 58 09 09 09 |ile name| */.X...|
|00001e30| 28 76 6f 69 64 29 20 66 | 70 75 74 73 28 69 6e 6e |(void) f|puts(inn|
|00001e40| 61 6d 65 2c 20 73 74 64 | 6f 75 74 29 3b 0a 58 09 |ame, std|out);.X.|
|00001e50| 09 09 28 76 6f 69 64 29 | 20 70 75 74 63 68 61 72 |..(void)| putchar|
|00001e60| 28 27 5c 6e 27 29 3b 0a | 58 09 09 09 28 76 6f 69 |('\n');.|X...(voi|
|00001e70| 64 29 20 66 66 6c 75 73 | 68 28 73 74 64 6f 75 74 |d) fflus|h(stdout|
|00001e80| 29 3b 0a 58 09 09 20 20 | 7d 0a 58 09 09 66 72 65 |);.X.. |}.X..fre|
|00001e90| 65 28 64 61 74 65 29 3b | 0a 58 09 7d 0a 7d 0a 58 |e(date);|.X.}.}.X|
|00001ea0| 0a 2f 2a 0a 58 20 2a 20 | 75 6e 70 72 69 76 69 6c |./*.X * |unprivil|
|00001eb0| 65 67 65 64 20 2d 20 6e | 6f 2d 6f 70 20 74 6f 20 |eged - n|o-op to |
|00001ec0| 6b 65 65 70 20 70 61 74 | 68 6e 61 6d 65 20 73 74 |keep pat|hname st|
|00001ed0| 75 66 66 20 68 61 70 70 | 79 0a 58 20 2a 2f 0a 76 |uff happ|y.X */.v|
|00001ee0| 6f 69 64 0a 75 6e 70 72 | 69 76 69 6c 65 67 65 64 |oid.unpr|ivileged|
|00001ef0| 28 72 65 61 73 6f 6e 29 | 0a 63 68 61 72 20 2a 72 |(reason)|.char *r|
|00001f00| 65 61 73 6f 6e 3b 0a 7b | 0a 7d 0a 53 48 41 52 5f |eason;.{|.}.SHAR_|
|00001f10| 45 4f 46 0a 63 68 6d 6f | 64 20 30 36 36 34 20 62 |EOF.chmo|d 0664 b|
|00001f20| 61 63 6b 77 61 74 65 72 | 2e 63 20 7c 7c 0a 65 63 |ackwater|.c ||.ec|
|00001f30| 68 6f 20 27 72 65 73 74 | 6f 72 65 20 6f 66 20 62 |ho 'rest|ore of b|
|00001f40| 61 63 6b 77 61 74 65 72 | 2e 63 20 66 61 69 6c 65 |ackwater|.c faile|
|00001f50| 64 27 0a 57 63 5f 63 3d | 22 60 77 63 20 2d 63 20 |d'.Wc_c=|"`wc -c |
|00001f60| 3c 20 27 62 61 63 6b 77 | 61 74 65 72 2e 63 27 60 |< 'backw|ater.c'`|
|00001f70| 22 0a 74 65 73 74 20 32 | 36 33 34 20 2d 65 71 20 |".test 2|634 -eq |
|00001f80| 22 24 57 63 5f 63 22 20 | 7c 7c 0a 09 65 63 68 6f |"$Wc_c" |||..echo|
|00001f90| 20 27 62 61 63 6b 77 61 | 74 65 72 2e 63 3a 20 6f | 'backwa|ter.c: o|
|00001fa0| 72 69 67 69 6e 61 6c 20 | 73 69 7a 65 20 32 36 33 |riginal |size 263|
|00001fb0| 34 2c 20 63 75 72 72 65 | 6e 74 20 73 69 7a 65 27 |4, curre|nt size'|
|00001fc0| 20 22 24 57 63 5f 63 22 | 0a 66 69 0a 23 20 3d 3d | "$Wc_c"|.fi.# ==|
|00001fd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 20 4d 61 6b 65 |========|=== Make|
|00001fe0| 66 69 6c 65 20 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |file ===|========|
|00001ff0| 3d 3d 3d 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |===.if t|est -f '|
|00002000| 4d 61 6b 65 66 69 6c 65 | 27 20 2d 61 20 58 22 24 |Makefile|' -a X"$|
|00002010| 31 22 20 21 3d 20 58 22 | 2d 63 22 3b 20 74 68 65 |1" != X"|-c"; the|
|00002020| 6e 0a 09 65 63 68 6f 20 | 27 78 20 2d 20 73 6b 69 |n..echo |'x - ski|
|00002030| 70 70 69 6e 67 20 4d 61 | 6b 65 66 69 6c 65 20 28 |pping Ma|kefile (|
|00002040| 46 69 6c 65 20 61 6c 72 | 65 61 64 79 20 65 78 69 |File alr|eady exi|
|00002050| 73 74 73 29 27 0a 65 6c | 73 65 0a 65 63 68 6f 20 |sts)'.el|se.echo |
|00002060| 27 78 20 2d 20 65 78 74 | 72 61 63 74 69 6e 67 20 |'x - ext|racting |
|00002070| 4d 61 6b 65 66 69 6c 65 | 20 28 54 65 78 74 29 27 |Makefile| (Text)'|
|00002080| 0a 73 65 64 20 27 73 2f | 5e 58 2f 2f 27 20 3c 3c |.sed 's/|^X//' <<|
|00002090| 20 27 53 48 41 52 5f 45 | 4f 46 27 20 3e 20 27 4d | 'SHAR_E|OF' > 'M|
|000020a0| 61 6b 65 66 69 6c 65 27 | 20 26 26 0a 50 52 4f 46 |akefile'| &&.PROF|
|000020b0| 20 3d 20 0a 43 4f 50 54 | 53 20 3d 20 2d 4f 0a 43 | = .COPT|S = -O.C|
|000020c0| 46 4c 41 47 53 20 3d 20 | 24 28 43 4f 50 54 53 29 |FLAGS = |$(COPTS)|
|000020d0| 20 2d 49 2e 2e 2f 69 6e | 63 6c 75 64 65 20 24 28 | -I../in|clude $(|
|000020e0| 50 52 4f 46 29 0a 4c 49 | 4e 54 46 4c 41 47 53 20 |PROF).LI|NTFLAGS |
|000020f0| 3d 20 2d 49 2e 2e 2f 69 | 6e 63 6c 75 64 65 0a 4a |= -I../i|nclude.J|
|00002100| 55 4e 4b 4c 49 4e 54 20 | 3d 20 27 70 6f 73 73 69 |UNKLINT |= 'possi|
|00002110| 62 6c 65 20 70 6f 69 6e | 74 65 72 20 61 6c 69 67 |ble poin|ter alig|
|00002120| 6e 27 0a 44 42 4d 20 3d | 0a 4c 49 42 53 3d 20 2e |n'.DBM =|.LIBS= .|
|00002130| 2e 2f 6c 69 62 63 6e 65 | 77 73 2e 61 0a 54 48 45 |./libcne|ws.a.THE|
|00002140| 4d 20 3d 20 65 78 70 69 | 72 65 20 68 69 73 74 64 |M = expi|re histd|
|00002150| 75 70 73 20 68 69 73 74 | 69 6e 66 6f 20 68 69 73 |ups hist|info his|
|00002160| 74 73 6c 61 73 68 20 6d | 6b 64 62 6d 20 6d 6b 68 |tslash m|kdbm mkh|
|00002170| 69 73 74 6f 72 79 20 5c | 0a 58 09 75 70 61 63 74 |istory \|.X.upact|
|00002180| 20 64 6f 65 78 70 69 72 | 65 20 6d 6b 61 64 69 72 | doexpir|e mkadir|
|00002190| 20 72 65 63 6f 76 61 63 | 74 20 62 61 63 6b 77 61 | recovac|t backwa|
|000021a0| 74 65 72 0a 44 54 52 20 | 3d 20 52 45 41 44 4d 45 |ter.DTR |= README|
|000021b0| 20 4d 61 6b 65 66 69 6c | 65 20 64 69 72 63 68 65 | Makefil|e dirche|
|000021c0| 63 6b 20 64 6f 65 78 70 | 69 72 65 20 65 78 70 69 |ck doexp|ire expi|
|000021d0| 72 65 2e 63 20 68 69 73 | 74 64 75 70 73 20 68 69 |re.c his|tdups hi|
|000021e0| 73 74 69 6e 66 6f 2e 63 | 20 5c 0a 58 09 68 69 73 |stinfo.c| \.X.his|
|000021f0| 74 73 6c 61 73 68 2e 63 | 20 6d 6b 64 62 6d 2e 63 |tslash.c| mkdbm.c|
|00002200| 20 6d 6b 68 69 73 74 6f | 72 79 20 70 67 6f 6f 64 | mkhisto|ry pgood|
|00002210| 20 74 67 6f 6f 64 20 75 | 70 61 63 74 20 5c 0a 58 | tgood u|pact \.X|
|00002220| 09 6d 6b 61 64 69 72 20 | 75 70 64 61 74 65 6d 69 |.mkadir |updatemi|
|00002230| 6e 2e 63 20 72 65 63 6f | 76 61 63 74 20 62 61 63 |n.c reco|vact bac|
|00002240| 6b 77 61 74 65 72 2e 63 | 0a 55 50 41 43 54 3d 75 |kwater.c|.UPACT=u|
|00002250| 70 61 63 74 0a 23 20 3d | 28 29 3c 4e 45 57 53 41 |pact.# =|()<NEWSA|
|00002260| 52 54 53 20 3d 20 40 3c | 4e 45 57 53 41 52 54 53 |RTS = @<|NEWSARTS|
|00002270| 3e 40 3e 28 29 3d 0a 4e | 45 57 53 41 52 54 53 20 |>@>()=.N|EWSARTS |
|00002280| 3d 20 2f 75 73 72 2f 73 | 70 6f 6f 6c 2f 6e 65 77 |= /usr/s|pool/new|
|00002290| 73 0a 23 20 3d 28 29 3c | 4e 45 57 53 53 50 4f 4f |s.# =()<|NEWSSPOO|
|000022a0| 4c 20 3d 20 40 3c 4e 45 | 57 53 53 50 4f 4f 4c 3e |L = @<NE|WSSPOOL>|
|000022b0| 40 3e 28 29 3d 0a 4e 45 | 57 53 53 50 4f 4f 4c 20 |@>()=.NE|WSSPOOL |
|000022c0| 3d 20 2f 75 73 72 2f 6c | 69 62 2f 6e 65 77 73 0a |= /usr/l|ib/news.|
|000022d0| 23 20 3d 28 29 3c 4e 45 | 57 53 42 49 4e 20 3d 20 |# =()<NE|WSBIN = |
|000022e0| 40 3c 4e 45 57 53 42 49 | 4e 3e 40 3e 28 29 3d 0a |@<NEWSBI|N>@>()=.|
|000022f0| 4e 45 57 53 42 49 4e 20 | 3d 20 2f 75 73 72 2f 6c |NEWSBIN |= /usr/l|
|00002300| 69 62 2f 6e 65 77 73 62 | 69 6e 0a 23 20 3d 28 29 |ib/newsb|in.# =()|
|00002310| 3c 4e 45 57 53 43 54 4c | 20 3d 20 40 3c 4e 45 57 |<NEWSCTL| = @<NEW|
|00002320| 53 43 54 4c 3e 40 3e 28 | 29 3d 0a 4e 45 57 53 43 |SCTL>@>(|)=.NEWSC|
|00002330| 54 4c 20 3d 20 2f 75 73 | 72 2f 6c 69 62 2f 6e 65 |TL = /us|r/lib/ne|
|00002340| 77 73 0a 23 20 77 6f 72 | 6b 61 72 6f 75 6e 64 20 |ws.# wor|karound |
|00002350| 66 6f 72 20 53 79 73 74 | 65 6d 20 56 20 6d 61 6b |for Syst|em V mak|
|00002360| 65 20 62 75 67 0a 53 48 | 45 4c 4c 20 3d 20 2f 62 |e bug.SH|ELL = /b|
|00002370| 69 6e 2f 73 68 0a 58 0a | 61 6c 6c 3a 09 24 28 54 |in/sh.X.|all:.$(T|
|00002380| 48 45 4d 29 0a 58 09 63 | 68 6d 6f 64 20 2b 78 20 |HEM).X.c|hmod +x |
|00002390| 24 28 54 48 45 4d 29 0a | 58 0a 62 69 6e 69 6e 73 |$(THEM).|X.binins|
|000023a0| 74 61 6c 6c 3a 09 24 28 | 54 48 45 4d 29 0a 58 09 |tall:.$(|THEM).X.|
|000023b0| 2d 69 66 20 74 65 73 74 | 20 21 20 2d 64 20 24 28 |-if test| ! -d $(|
|000023c0| 4e 45 57 53 42 49 4e 29 | 2f 65 78 70 69 72 65 20 |NEWSBIN)|/expire |
|000023d0| 3b 20 74 68 65 6e 20 6d | 6b 64 69 72 20 24 28 4e |; then m|kdir $(N|
|000023e0| 45 57 53 42 49 4e 29 2f | 65 78 70 69 72 65 3b 20 |EWSBIN)/|expire; |
|000023f0| 66 69 0a 58 09 63 70 20 | 24 28 54 48 45 4d 29 20 |fi.X.cp |$(THEM) |
|00002400| 24 28 4e 45 57 53 42 49 | 4e 29 2f 65 78 70 69 72 |$(NEWSBI|N)/expir|
|00002410| 65 0a 58 0a 65 78 70 6c | 69 73 74 73 3a 09 65 78 |e.X.expl|ists:.ex|
|00002420| 70 6c 69 73 74 2e 6e 6f | 20 65 78 70 6c 69 73 74 |plist.no| explist|
|00002430| 2e 79 65 73 0a 58 0a 63 | 6d 70 3a 09 24 28 54 48 |.yes.X.c|mp:.$(TH|
|00002440| 45 4d 29 0a 58 09 66 6f | 72 20 66 20 69 6e 20 24 |EM).X.fo|r f in $|
|00002450| 28 54 48 45 4d 29 20 3b | 20 64 6f 20 63 6d 70 20 |(THEM) ;| do cmp |
|00002460| 24 28 4e 45 57 53 42 49 | 4e 29 2f 65 78 70 69 72 |$(NEWSBI|N)/expir|
|00002470| 65 2f 24 24 66 20 24 24 | 66 20 3b 20 64 6f 6e 65 |e/$$f $$|f ; done|
|00002480| 0a 58 0a 63 68 65 63 6b | 3a 09 24 28 54 48 45 4d |.X.check|:.$(THEM|
|00002490| 29 0a 58 09 66 6f 72 20 | 66 20 69 6e 20 24 28 54 |).X.for |f in $(T|
|000024a0| 48 45 4d 29 20 3b 20 64 | 6f 20 63 6d 70 20 24 28 |HEM) ; d|o cmp $(|
|000024b0| 4e 45 57 53 42 49 4e 29 | 2f 65 78 70 69 72 65 2f |NEWSBIN)|/expire/|
|000024c0| 24 24 66 20 24 24 66 20 | 7c 7c 20 74 72 75 65 20 |$$f $$f ||| true |
|000024d0| 3b 20 64 6f 6e 65 0a 58 | 0a 6e 65 77 73 69 6e 73 |; done.X|.newsins|
|000024e0| 74 61 6c 6c 3a 09 65 78 | 70 6c 69 73 74 0a 58 09 |tall:.ex|plist.X.|
|000024f0| 2d 69 66 20 74 65 73 74 | 20 21 20 2d 72 20 24 28 |-if test| ! -r $(|
|00002500| 4e 45 57 53 43 54 4c 29 | 2f 65 78 70 6c 69 73 74 |NEWSCTL)|/explist|
|00002510| 20 3b 20 74 68 65 6e 20 | 63 70 20 65 78 70 6c 69 | ; then |cp expli|
|00002520| 73 74 20 24 28 4e 45 57 | 53 43 54 4c 29 2f 65 78 |st $(NEW|SCTL)/ex|
|00002530| 70 6c 69 73 74 20 3b 20 | 66 69 0a 58 0a 65 78 70 |plist ; |fi.X.exp|
|00002540| 69 72 65 3a 20 65 78 70 | 69 72 65 2e 6f 20 24 28 |ire: exp|ire.o $(|
|00002550| 4c 49 42 53 29 0a 58 09 | 24 28 43 43 29 20 24 28 |LIBS).X.|$(CC) $(|
|00002560| 43 46 4c 41 47 53 29 20 | 24 28 4c 44 46 4c 41 47 |CFLAGS) |$(LDFLAG|
|00002570| 53 29 20 65 78 70 69 72 | 65 2e 6f 20 24 28 50 52 |S) expir|e.o $(PR|
|00002580| 45 29 20 24 28 44 42 4d | 29 20 24 28 4c 49 42 53 |E) $(DBM|) $(LIBS|
|00002590| 29 20 24 28 50 4f 53 54 | 29 20 2d 6f 20 24 40 0a |) $(POST|) -o $@.|
|000025a0| 58 0a 68 69 73 74 69 6e | 66 6f 3a 20 68 69 73 74 |X.histin|fo: hist|
|000025b0| 69 6e 66 6f 2e 6f 20 24 | 28 4c 49 42 53 29 0a 58 |info.o $|(LIBS).X|
|000025c0| 09 24 28 43 43 29 20 24 | 28 43 46 4c 41 47 53 29 |.$(CC) $|(CFLAGS)|
|000025d0| 20 24 28 4c 44 46 4c 41 | 47 53 29 20 68 69 73 74 | $(LDFLA|GS) hist|
|000025e0| 69 6e 66 6f 2e 6f 20 24 | 28 50 52 45 29 20 24 28 |info.o $|(PRE) $(|
|000025f0| 4c 49 42 53 29 20 24 28 | 50 4f 53 54 29 20 2d 6f |LIBS) $(|POST) -o|
|00002600| 20 24 40 0a 58 0a 62 61 | 63 6b 77 61 74 65 72 3a | $@.X.ba|ckwater:|
|00002610| 20 62 61 63 6b 77 61 74 | 65 72 2e 6f 20 24 28 4c | backwat|er.o $(L|
|00002620| 49 42 53 29 0a 58 09 24 | 28 43 43 29 20 24 28 43 |IBS).X.$|(CC) $(C|
|00002630| 46 4c 41 47 53 29 20 24 | 28 4c 44 46 4c 41 47 53 |FLAGS) $|(LDFLAGS|
|00002640| 29 20 62 61 63 6b 77 61 | 74 65 72 2e 6f 20 24 28 |) backwa|ter.o $(|
|00002650| 50 52 45 29 20 24 28 4c | 49 42 53 29 20 24 28 50 |PRE) $(L|IBS) $(P|
|00002660| 4f 53 54 29 20 2d 6f 20 | 24 40 0a 58 0a 75 70 64 |OST) -o |$@.X.upd|
|00002670| 61 74 65 6d 69 6e 3a 09 | 75 70 64 61 74 65 6d 69 |atemin:.|updatemi|
|00002680| 6e 2e 6f 20 24 28 4c 49 | 42 53 29 0a 58 09 24 28 |n.o $(LI|BS).X.$(|
|00002690| 43 43 29 20 24 28 43 46 | 4c 41 47 53 29 20 24 28 |CC) $(CF|LAGS) $(|
|000026a0| 4c 44 46 4c 41 47 53 29 | 20 75 70 64 61 74 65 6d |LDFLAGS)| updatem|
|000026b0| 69 6e 2e 6f 20 24 28 50 | 52 45 29 20 24 28 4c 49 |in.o $(P|RE) $(LI|
|000026c0| 42 53 29 20 24 28 50 4f | 53 54 29 20 2d 6f 20 24 |BS) $(PO|ST) -o $|
|000026d0| 40 0a 58 0a 68 69 73 74 | 73 6c 61 73 68 3a 09 68 |@.X.hist|slash:.h|
|000026e0| 69 73 74 73 6c 61 73 68 | 2e 6f 20 24 28 4c 49 42 |istslash|.o $(LIB|
|000026f0| 53 29 0a 58 09 24 28 43 | 43 29 20 24 28 43 46 4c |S).X.$(C|C) $(CFL|
|00002700| 41 47 53 29 20 24 28 4c | 44 46 4c 41 47 53 29 20 |AGS) $(L|DFLAGS) |
|00002710| 68 69 73 74 73 6c 61 73 | 68 2e 6f 20 24 28 50 52 |histslas|h.o $(PR|
|00002720| 45 29 20 24 28 4c 49 42 | 53 29 20 24 28 50 4f 53 |E) $(LIB|S) $(POS|
|00002730| 54 29 20 2d 6f 20 24 40 | 0a 58 0a 6d 6b 64 62 6d |T) -o $@|.X.mkdbm|
|00002740| 3a 09 6d 6b 64 62 6d 2e | 6f 20 24 28 4c 49 42 53 |:.mkdbm.|o $(LIBS|
|00002750| 29 0a 58 09 24 28 43 43 | 29 20 24 28 43 46 4c 41 |).X.$(CC|) $(CFLA|
|00002760| 47 53 29 20 24 28 4c 44 | 46 4c 41 47 53 29 20 6d |GS) $(LD|FLAGS) m|
|00002770| 6b 64 62 6d 2e 6f 20 24 | 28 50 52 45 29 20 24 28 |kdbm.o $|(PRE) $(|
|00002780| 4c 49 42 53 29 20 24 28 | 44 42 4d 29 20 24 28 50 |LIBS) $(|DBM) $(P|
|00002790| 4f 53 54 29 20 2d 6f 20 | 24 40 0a 58 0a 6c 69 6e |OST) -o |$@.X.lin|
|000027a0| 74 3a 09 65 78 70 69 72 | 65 2e 63 0a 58 09 6c 69 |t:.expir|e.c.X.li|
|000027b0| 6e 74 20 2d 68 61 20 24 | 28 4c 49 4e 54 46 4c 41 |nt -ha $|(LINTFLA|
|000027c0| 47 53 29 20 65 78 70 69 | 72 65 2e 63 20 32 3e 26 |GS) expi|re.c 2>&|
|000027d0| 31 20 7c 20 65 67 72 65 | 70 20 2d 76 20 24 28 4a |1 | egre|p -v $(J|
|000027e0| 55 4e 4b 4c 49 4e 54 29 | 20 7c 20 74 65 65 20 24 |UNKLINT)| | tee $|
|000027f0| 40 0a 58 0a 65 78 70 6c | 69 73 74 2e 79 65 73 3a |@.X.expl|ist.yes:|
|00002800| 0a 58 09 65 63 68 6f 20 | 22 23 20 68 6f 6c 64 20 |.X.echo |"# hold |
|00002810| 6f 6e 74 6f 20 68 69 73 | 74 6f 72 79 20 6c 69 6e |onto his|tory lin|
|00002820| 65 73 20 31 34 20 64 61 | 79 73 2c 20 6e 6f 62 6f |es 14 da|ys, nobo|
|00002830| 64 79 20 67 65 74 73 20 | 3e 39 30 20 64 61 79 73 |dy gets |>90 days|
|00002840| 22 20 3e 24 40 0a 58 09 | 65 63 68 6f 20 22 2f 65 |" >$@.X.|echo "/e|
|00002850| 78 70 69 72 65 64 2f 09 | 09 09 78 09 31 34 09 2d |xpired/.|..x.14.-|
|00002860| 22 20 3e 3e 24 40 0a 58 | 09 65 63 68 6f 20 22 2f |" >>$@.X|.echo "/|
|00002870| 62 6f 75 6e 64 73 2f 09 | 09 09 78 09 30 2d 31 2d |bounds/.|..x.0-1-|
|00002880| 39 30 09 2d 22 20 3e 3e | 24 40 0a 58 09 65 63 68 |90.-" >>|$@.X.ech|
|00002890| 6f 20 3e 3e 24 40 0a 58 | 09 65 63 68 6f 20 22 23 |o >>$@.X|.echo "#|
|000028a0| 20 6f 76 65 72 72 69 64 | 65 20 6c 61 74 65 72 20 | overrid|e later |
|000028b0| 64 65 66 61 75 6c 74 73 | 20 66 6f 72 20 73 6f 6d |defaults| for som|
|000028c0| 65 20 67 72 6f 75 70 73 | 20 6f 66 20 6e 6f 74 65 |e groups| of note|
|000028d0| 22 20 3e 3e 24 40 0a 58 | 09 65 63 68 6f 20 22 73 |" >>$@.X|.echo "s|
|000028e0| 63 69 2e 73 70 61 63 65 | 2e 73 68 75 74 74 6c 65 |ci.space|.shuttle|
|000028f0| 2c 72 65 63 2e 62 69 72 | 64 73 09 78 09 37 09 40 |,rec.bir|ds.x.7.@|
|00002900| 22 20 3e 3e 24 40 0a 58 | 09 65 63 68 6f 20 3e 3e |" >>$@.X|.echo >>|
|00002910| 24 40 0a 58 09 65 63 68 | 6f 20 22 23 20 62 69 67 |$@.X.ech|o "# big|
|00002920| 20 6e 6f 6e 2d 74 65 63 | 68 20 67 72 6f 75 70 73 | non-tec|h groups|
|00002930| 20 68 65 6c 64 20 6c 6f | 6e 67 20 65 6e 6f 75 67 | held lo|ng enoug|
|00002940| 68 20 66 6f 72 20 61 20 | 6c 6f 6e 67 20 77 65 65 |h for a |long wee|
|00002950| 6b 65 6e 64 22 20 3e 3e | 24 40 0a 58 09 65 63 68 |kend" >>|$@.X.ech|
|00002960| 6f 20 22 73 63 69 2c 72 | 65 63 2c 74 61 6c 6b 2c |o "sci,r|ec,talk,|
|00002970| 73 6f 63 2c 6d 69 73 63 | 2c 61 6c 74 09 75 09 34 |soc,misc|,alt.u.4|
|00002980| 09 2d 22 20 3e 3e 24 40 | 0a 58 09 65 63 68 6f 20 |.-" >>$@|.X.echo |
|00002990| 3e 3e 24 40 0a 58 09 65 | 63 68 6f 20 22 23 20 72 |>>$@.X.e|cho "# r|
|000029a0| 65 61 6c 20 6e 6f 69 73 | 65 20 67 65 74 73 20 74 |eal nois|e gets t|
|000029b0| 68 72 6f 77 6e 20 61 77 | 61 79 20 66 61 73 74 22 |hrown aw|ay fast"|
|000029c0| 20 3e 3e 24 40 0a 58 09 | 65 63 68 6f 20 22 6e 65 | >>$@.X.|echo "ne|
|000029d0| 77 73 2e 67 72 6f 75 70 | 73 09 09 09 78 09 32 09 |ws.group|s...x.2.|
|000029e0| 2d 22 20 3e 3e 24 40 0a | 58 09 65 63 68 6f 20 22 |-" >>$@.|X.echo "|
|000029f0| 6a 75 6e 6b 2c 74 6f 72 | 2e 6e 65 77 73 2e 73 74 |junk,tor|.news.st|
|00002a00| 61 74 73 09 09 78 09 32 | 09 2d 22 20 3e 3e 24 40 |ats..x.2|.-" >>$@|
|00002a10| 0a 58 09 65 63 68 6f 20 | 3e 3e 24 40 0a 58 09 65 |.X.echo |>>$@.X.e|
|00002a20| 63 68 6f 20 22 23 20 74 | 68 72 6f 77 20 61 77 61 |cho "# t|hrow awa|
|00002a30| 79 20 73 6f 6d 65 20 74 | 65 63 68 6e 69 63 61 6c |y some t|echnical|
|00002a40| 20 73 74 75 66 66 20 6e | 6f 74 20 77 6f 72 74 68 | stuff n|ot worth|
|00002a50| 20 61 72 63 68 69 76 69 | 6e 67 22 20 3e 3e 24 40 | archivi|ng" >>$@|
|00002a60| 0a 58 09 65 63 68 6f 20 | 22 63 6f 6d 70 2e 6f 73 |.X.echo |"comp.os|
|00002a70| 2e 76 6d 73 2c 63 6f 6d | 70 2e 6d 61 69 6c 2e 6d |.vms,com|p.mail.m|
|00002a80| 61 70 73 09 78 09 37 09 | 2d 22 20 3e 3e 24 40 0a |aps.x.7.|-" >>$@.|
|00002a90| 58 09 65 63 68 6f 20 3e | 3e 24 40 0a 58 09 65 63 |X.echo >|>$@.X.ec|
|00002aa0| 68 6f 20 22 23 20 64 65 | 66 61 75 6c 74 3a 20 20 |ho "# de|fault: |
|00002ab0| 37 20 64 61 79 73 20 61 | 6e 64 20 61 72 63 68 69 |7 days a|nd archi|
|00002ac0| 76 65 22 20 3e 3e 24 40 | 0a 58 09 65 63 68 6f 20 |ve" >>$@|.X.echo |
|00002ad0| 22 61 6c 6c 09 09 09 09 | 78 09 37 09 40 22 20 3e |"all....|x.7.@" >|
|00002ae0| 3e 24 40 0a 58 0a 65 78 | 70 6c 69 73 74 2e 6e 6f |>$@.X.ex|plist.no|
|00002af0| 3a 09 65 78 70 6c 69 73 | 74 2e 79 65 73 0a 58 09 |:.explis|t.yes.X.|
|00002b00| 65 63 68 6f 20 27 23 20 | 6d 6f 64 69 66 69 65 64 |echo '# |modified|
|00002b10| 20 76 65 72 73 69 6f 6e | 2c 20 6e 6f 20 61 72 63 | version|, no arc|
|00002b20| 68 69 76 69 6e 67 27 20 | 3e 24 40 0a 58 09 65 63 |hiving' |>$@.X.ec|
|00002b30| 68 6f 20 27 23 27 20 3e | 3e 24 40 0a 58 09 73 65 |ho '#' >|>$@.X.se|
|00002b40| 64 20 27 73 2f 40 2f 2d | 2f 27 20 65 78 70 6c 69 |d 's/@/-|/' expli|
|00002b50| 73 74 2e 79 65 73 20 3e | 3e 24 40 0a 58 0a 65 78 |st.yes >|>$@.X.ex|
|00002b60| 70 6c 69 73 74 3a 09 65 | 78 70 6c 69 73 74 2e 6e |plist:.e|xplist.n|
|00002b70| 6f 0a 58 09 63 70 20 65 | 78 70 6c 69 73 74 2e 6e |o.X.cp e|xplist.n|
|00002b80| 6f 20 24 40 0a 58 0a 23 | 20 73 65 74 75 70 20 66 |o $@.X.#| setup f|
|00002b90| 6f 72 20 72 65 67 72 65 | 73 73 69 6f 6e 20 74 65 |or regre|ssion te|
|00002ba0| 73 74 0a 73 65 74 75 70 | 3a 0a 58 09 72 6d 20 2d |st.setup|:.X.rm -|
|00002bb0| 66 20 65 78 70 6c 69 73 | 74 20 68 69 73 74 6f 72 |f explis|t histor|
|00002bc0| 79 20 61 63 74 69 76 65 | 20 61 63 74 69 76 65 2e |y active| active.|
|00002bd0| 61 66 74 65 72 20 68 69 | 73 74 6f 72 79 2e 70 72 |after hi|story.pr|
|00002be0| 6f 74 6f 0a 58 09 72 6d | 20 2d 72 66 20 61 72 74 |oto.X.rm| -rf art|
|00002bf0| 73 20 61 72 63 68 20 61 | 72 63 68 32 20 61 72 63 |s arch a|rch2 arc|
|00002c00| 68 33 20 6e 62 69 6e 0a | 58 09 3e 68 69 73 74 6f |h3 nbin.|X.>histo|
|00002c10| 72 79 2e 70 61 67 0a 58 | 09 3e 68 69 73 74 6f 72 |ry.pag.X|.>histor|
|00002c20| 79 2e 64 69 72 0a 58 09 | 65 63 68 6f 20 22 2f 65 |y.dir.X.|echo "/e|
|00002c30| 78 70 69 72 65 64 2f 09 | 78 09 30 2e 30 38 09 2d |xpired/.|x.0.08.-|
|00002c40| 22 20 3e 3e 65 78 70 6c | 69 73 74 0a 58 09 65 63 |" >>expl|ist.X.ec|
|00002c50| 68 6f 20 27 2f 62 6f 75 | 6e 64 73 2f 09 78 09 30 |ho '/bou|nds/.x.0|
|00002c60| 2e 30 31 2d 30 2e 31 2d | 30 2e 31 31 09 2d 27 20 |.01-0.1-|0.11.-' |
|00002c70| 3e 3e 65 78 70 6c 69 73 | 74 0a 58 09 65 63 68 6f |>>explis|t.X.echo|
|00002c80| 20 22 62 61 72 2c 21 62 | 61 72 2e 75 67 68 09 78 | "bar,!b|ar.ugh.x|
|00002c90| 09 30 2e 30 35 09 60 70 | 77 64 60 2f 61 72 63 68 |.0.05.`p|wd`/arch|
|00002ca0| 32 22 20 3e 3e 65 78 70 | 6c 69 73 74 0a 58 09 65 |2" >>exp|list.X.e|
|00002cb0| 63 68 6f 20 27 6d 6f 64 | 09 6d 09 30 2e 31 09 40 |cho 'mod|.m.0.1.@|
|00002cc0| 27 20 3e 3e 65 78 70 6c | 69 73 74 0a 58 09 65 63 |' >>expl|ist.X.ec|
|00002cd0| 68 6f 20 27 6d 6f 64 09 | 75 09 30 2e 30 35 09 2d |ho 'mod.|u.0.05.-|
|00002ce0| 27 20 3e 3e 65 78 70 6c | 69 73 74 0a 58 09 65 63 |' >>expl|ist.X.ec|
|00002cf0| 68 6f 20 27 75 72 70 09 | 78 09 30 2e 30 31 2d 30 |ho 'urp.|x.0.01-0|
|00002d00| 2e 30 35 2d 30 2e 31 09 | 2d 27 20 3e 3e 65 78 70 |.05-0.1.|-' >>exp|
|00002d10| 6c 69 73 74 0a 58 09 65 | 63 68 6f 20 22 62 6c 65 |list.X.e|cho "ble|
|00002d20| 74 63 68 09 78 09 30 2e | 31 09 3d 60 70 77 64 60 |tch.x.0.|1.=`pwd`|
|00002d30| 2f 61 72 63 68 33 2f 62 | 6c 65 74 63 68 22 20 3e |/arch3/b|letch" >|
|00002d40| 3e 65 78 70 6c 69 73 74 | 0a 58 09 65 63 68 6f 20 |>explist|.X.echo |
|00002d50| 27 61 6c 6c 09 78 09 30 | 2e 31 09 40 27 20 3e 3e |'all.x.0|.1.@' >>|
|00002d60| 65 78 70 6c 69 73 74 0a | 58 09 6d 6b 64 69 72 20 |explist.|X.mkdir |
|00002d70| 6e 62 69 6e 20 6e 62 69 | 6e 2f 65 78 70 69 72 65 |nbin nbi|n/expire|
|00002d80| 0a 58 09 66 6f 72 20 66 | 20 69 6e 20 24 28 54 48 |.X.for f| in $(TH|
|00002d90| 45 4d 29 20 3b 20 64 6f | 20 6c 6e 20 24 24 66 20 |EM) ; do| ln $$f |
|00002da0| 6e 62 69 6e 2f 65 78 70 | 69 72 65 2f 24 24 66 20 |nbin/exp|ire/$$f |
|00002db0| 3b 20 64 6f 6e 65 0a 58 | 09 65 63 68 6f 20 27 6c |; done.X|.echo 'l|
|00002dc0| 6e 20 24 24 2a 20 3e 2f | 64 65 76 2f 6e 75 6c 6c |n $$* >/|dev/null|
|00002dd0| 20 32 3e 2f 64 65 76 2f | 6e 75 6c 6c 27 20 3e 6e | 2>/dev/|null' >n|
|00002de0| 62 69 6e 2f 6e 65 77 73 | 6c 6f 63 6b 0a 58 09 65 |bin/news|lock.X.e|
|00002df0| 63 68 6f 20 27 65 63 68 | 6f 20 31 30 27 20 3e 6e |cho 'ech|o 10' >n|
|00002e00| 62 69 6e 2f 73 70 61 63 | 65 66 6f 72 0a 58 09 63 |bin/spac|efor.X.c|
|00002e10| 68 6d 6f 64 20 2b 78 20 | 6e 62 69 6e 2f 2a 20 6e |hmod +x |nbin/* n|
|00002e20| 62 69 6e 2f 65 78 70 69 | 72 65 2f 2a 0a 58 09 6d |bin/expi|re/*.X.m|
|00002e30| 6b 64 69 72 20 61 72 74 | 73 20 61 72 74 73 2f 66 |kdir art|s arts/f|
|00002e40| 6f 6f 20 61 72 74 73 2f | 62 61 72 20 61 72 74 73 |oo arts/|bar arts|
|00002e50| 2f 62 61 72 2f 75 67 68 | 20 61 72 74 73 2f 75 72 |/bar/ugh| arts/ur|
|00002e60| 70 20 61 72 63 68 20 61 | 72 63 68 32 0a 58 09 6d |p arch a|rch2.X.m|
|00002e70| 6b 64 69 72 20 61 72 74 | 73 2f 6d 6f 64 20 61 72 |kdir art|s/mod ar|
|00002e80| 74 73 2f 6d 6f 64 2f 6d | 6f 64 20 61 72 74 73 2f |ts/mod/m|od arts/|
|00002e90| 6d 6f 64 2f 75 6e 6d 6f | 64 20 61 72 63 68 33 20 |mod/unmo|d arch3 |
|00002ea0| 61 72 63 68 33 2f 62 6c | 65 74 63 68 0a 58 09 6d |arch3/bl|etch.X.m|
|00002eb0| 6b 64 69 72 20 61 72 74 | 73 2f 62 6c 65 74 63 68 |kdir art|s/bletch|
|00002ec0| 0a 58 09 65 63 68 6f 20 | 27 66 6f 6f 20 30 30 30 |.X.echo |'foo 000|
|00002ed0| 39 39 20 30 30 30 30 30 | 20 79 27 20 3e 3e 61 63 |99 00000| y' >>ac|
|00002ee0| 74 69 76 65 0a 58 09 65 | 63 68 6f 20 27 66 6f 6f |tive.X.e|cho 'foo|
|00002ef0| 20 30 30 30 39 39 20 30 | 30 30 30 31 20 79 27 20 | 00099 0|0001 y' |
|00002f00| 3e 3e 61 63 74 69 76 65 | 2e 61 66 74 65 72 0a 58 |>>active|.after.X|
|00002f10| 09 65 63 68 6f 20 27 62 | 61 72 20 30 30 30 39 39 |.echo 'b|ar 00099|
|00002f20| 20 30 30 30 30 30 20 6d | 27 20 3e 3e 61 63 74 69 | 00000 m|' >>acti|
|00002f30| 76 65 0a 58 09 65 63 68 | 6f 20 27 62 61 72 20 30 |ve.X.ech|o 'bar 0|
|00002f40| 30 30 39 39 20 30 30 31 | 30 30 20 6d 27 20 3e 3e |0099 001|00 m' >>|
|00002f50| 61 63 74 69 76 65 2e 61 | 66 74 65 72 0a 58 09 65 |active.a|fter.X.e|
|00002f60| 63 68 6f 20 27 62 61 72 | 2e 75 67 68 20 30 30 30 |cho 'bar|.ugh 000|
|00002f70| 39 39 20 30 30 30 30 30 | 20 6d 27 20 3e 3e 61 63 |99 00000| m' >>ac|
|00002f80| 74 69 76 65 0a 58 09 65 | 63 68 6f 20 27 62 61 72 |tive.X.e|cho 'bar|
|00002f90| 2e 75 67 68 20 30 30 30 | 39 39 20 30 30 30 39 39 |.ugh 000|99 00099|
|00002fa0| 20 6d 27 20 3e 3e 61 63 | 74 69 76 65 2e 61 66 74 | m' >>ac|tive.aft|
|00002fb0| 65 72 0a 58 09 65 63 68 | 6f 20 27 75 72 70 20 30 |er.X.ech|o 'urp 0|
|00002fc0| 30 30 39 39 20 30 30 30 | 30 30 20 6e 27 20 3e 3e |0099 000|00 n' >>|
|00002fd0| 61 63 74 69 76 65 0a 58 | 09 65 63 68 6f 20 27 75 |active.X|.echo 'u|
|00002fe0| 72 70 20 30 30 30 39 39 | 20 30 30 30 30 37 20 6e |rp 00099| 00007 n|
|00002ff0| 27 20 3e 3e 61 63 74 69 | 76 65 2e 61 66 74 65 72 |' >>acti|ve.after|
|00003000| 0a 58 09 65 63 68 6f 20 | 27 6d 6f 64 2e 6d 6f 64 |.X.echo |'mod.mod|
|00003010| 20 30 30 30 31 33 20 30 | 30 30 30 30 20 6d 27 20 | 00013 0|0000 m' |
|00003020| 3e 3e 61 63 74 69 76 65 | 0a 58 09 65 63 68 6f 20 |>>active|.X.echo |
|00003030| 27 6d 6f 64 2e 6d 6f 64 | 20 30 30 30 31 33 20 30 |'mod.mod| 00013 0|
|00003040| 30 30 31 33 20 6d 27 20 | 3e 3e 61 63 74 69 76 65 |0013 m' |>>active|
|00003050| 2e 61 66 74 65 72 0a 58 | 09 65 63 68 6f 20 27 6d |.after.X|.echo 'm|
|00003060| 6f 64 2e 75 6e 6d 6f 64 | 20 30 30 30 31 36 20 30 |od.unmod| 00016 0|
|00003070| 30 30 30 30 20 79 27 20 | 3e 3e 61 63 74 69 76 65 |0000 y' |>>active|
|00003080| 0a 58 09 65 63 68 6f 20 | 27 6d 6f 64 2e 75 6e 6d |.X.echo |'mod.unm|
|00003090| 6f 64 20 30 30 30 31 36 | 20 30 30 30 31 36 20 79 |od 00016| 00016 y|
|000030a0| 27 20 3e 3e 61 63 74 69 | 76 65 2e 61 66 74 65 72 |' >>acti|ve.after|
|000030b0| 0a 58 09 65 63 68 6f 20 | 27 62 6c 65 74 63 68 20 |.X.echo |'bletch |
|000030c0| 30 30 30 39 39 20 30 30 | 30 30 30 20 79 27 20 3e |00099 00|000 y' >|
|000030d0| 3e 61 63 74 69 76 65 0a | 58 09 65 63 68 6f 20 27 |>active.|X.echo '|
|000030e0| 62 6c 65 74 63 68 20 30 | 30 30 39 39 20 30 30 31 |bletch 0|0099 001|
|000030f0| 30 30 20 79 27 20 3e 3e | 61 63 74 69 76 65 2e 61 |00 y' >>|active.a|
|00003100| 66 74 65 72 0a 58 09 65 | 63 68 6f 20 27 3c 77 6f |fter.X.e|cho '<wo|
|00003110| 6e 74 31 3e 09 39 39 39 | 39 7e 2d 09 66 6f 6f 2f |nt1>.999|9~-.foo/|
|00003120| 31 27 20 3e 3e 68 69 73 | 74 6f 72 79 2e 70 72 6f |1' >>his|tory.pro|
|00003130| 74 6f 0a 58 09 65 63 68 | 6f 20 3a 66 6f 6f 2f 31 |to.X.ech|o :foo/1|
|00003140| 3a 20 3e 61 72 74 73 2f | 66 6f 6f 2f 31 0a 58 09 |: >arts/|foo/1.X.|
|00003150| 65 63 68 6f 20 27 4d 65 | 53 73 41 67 65 2d 49 44 |echo 'Me|SsAge-ID|
|00003160| 3a 20 3c 77 6f 6e 74 31 | 3e 27 20 3e 3e 61 72 74 |: <wont1|>' >>art|
|00003170| 73 2f 66 6f 6f 2f 31 0a | 58 09 65 63 68 6f 20 27 |s/foo/1.|X.echo '|
|00003180| 3c 77 69 6c 6c 32 3e 09 | 31 30 30 30 7e 2d 09 66 |<will2>.|1000~-.f|
|00003190| 6f 6f 2f 32 27 20 3e 3e | 68 69 73 74 6f 72 79 2e |oo/2' >>|history.|
|000031a0| 70 72 6f 74 6f 0a 58 09 | 65 63 68 6f 20 66 6f 6f |proto.X.|echo foo|
|000031b0| 2f 32 20 3e 61 72 74 73 | 2f 66 6f 6f 2f 32 0a 58 |/2 >arts|/foo/2.X|
|000031c0| 09 65 63 68 6f 20 27 3c | 77 69 6c 6c 33 3e 09 31 |.echo '<|will3>.1|
|000031d0| 30 30 30 7e 31 30 30 09 | 66 6f 6f 2f 33 27 20 3e |000~100.|foo/3' >|
|000031e0| 3e 68 69 73 74 6f 72 79 | 2e 70 72 6f 74 6f 0a 58 |>history|.proto.X|
|000031f0| 09 65 63 68 6f 20 66 6f | 6f 2f 33 20 3e 61 72 74 |.echo fo|o/3 >art|
|00003200| 73 2f 66 6f 6f 2f 33 0a | 58 09 65 63 68 6f 20 27 |s/foo/3.|X.echo '|
|00003210| 3c 74 77 6f 34 3e 09 31 | 30 30 09 62 61 72 2f 34 |<two4>.1|00.bar/4|
|00003220| 27 20 3e 3e 68 69 73 74 | 6f 72 79 2e 70 72 6f 74 |' >>hist|ory.prot|
|00003230| 6f 0a 58 09 65 63 68 6f | 20 3a 62 61 72 2f 34 3a |o.X.echo| :bar/4:|
|00003240| 20 3e 61 72 74 73 2f 62 | 61 72 2f 34 0a 58 09 65 | >arts/b|ar/4.X.e|
|00003250| 63 68 6f 20 27 53 75 42 | 6a 65 43 74 3a 20 79 65 |cho 'SuB|jeCt: ye|
|00003260| 73 27 20 3e 3e 61 72 74 | 73 2f 62 61 72 2f 34 0a |s' >>art|s/bar/4.|
|00003270| 58 09 65 63 68 6f 20 27 | 3c 77 69 6c 6c 35 3e 09 |X.echo '|<will5>.|
|00003280| 31 30 30 7e 09 62 61 72 | 2e 75 67 68 2f 35 27 20 |100~.bar|.ugh/5' |
|00003290| 3e 3e 68 69 73 74 6f 72 | 79 2e 70 72 6f 74 6f 0a |>>histor|y.proto.|
|000032a0| 58 09 65 63 68 6f 20 3a | 62 61 72 2f 75 67 68 2f |X.echo :|bar/ugh/|
|000032b0| 35 3a 20 3e 61 72 74 73 | 2f 62 61 72 2f 75 67 68 |5: >arts|/bar/ugh|
|000032c0| 2f 35 0a 58 09 65 63 68 | 6f 20 3e 3e 61 72 74 73 |/5.X.ech|o >>arts|
|000032d0| 2f 62 61 72 2f 75 67 68 | 2f 35 0a 58 09 65 63 68 |/bar/ugh|/5.X.ech|
|000032e0| 6f 20 27 53 75 62 6a 65 | 63 74 3a 20 6e 6f 27 20 |o 'Subje|ct: no' |
|000032f0| 3e 3e 61 72 74 73 2f 62 | 61 72 2f 75 67 68 2f 35 |>>arts/b|ar/ugh/5|
|00003300| 0a 58 09 65 63 68 6f 20 | 27 3c 67 6f 6e 65 36 3e |.X.echo |'<gone6>|
|00003310| 09 31 30 30 7e 2d 09 75 | 72 70 2f 36 27 20 3e 3e |.100~-.u|rp/6' >>|
|00003320| 68 69 73 74 6f 72 79 2e | 70 72 6f 74 6f 0a 58 09 |history.|proto.X.|
|00003330| 65 63 68 6f 20 75 72 70 | 2f 36 20 3e 61 72 74 73 |echo urp|/6 >arts|
|00003340| 2f 75 72 70 2f 36 0a 58 | 09 65 63 68 6f 20 27 3c |/urp/6.X|.echo '<|
|00003350| 77 6f 6e 74 37 3e 09 39 | 39 39 39 7e 39 39 39 39 |wont7>.9|999~9999|
|00003360| 7e 78 78 7e 61 09 75 72 | 70 2f 37 27 20 3e 3e 68 |~xx~a.ur|p/7' >>h|
|00003370| 69 73 74 6f 72 79 2e 70 | 72 6f 74 6f 0a 58 09 65 |istory.p|roto.X.e|
|00003380| 63 68 6f 20 3a 75 72 70 | 2f 37 3a 20 3e 61 72 74 |cho :urp|/7: >art|
|00003390| 73 2f 75 72 70 2f 37 0a | 58 09 65 63 68 6f 20 27 |s/urp/7.|X.echo '|
|000033a0| 6d 45 73 73 61 47 65 2d | 69 64 3a 20 3c 77 6f 6e |mEssaGe-|id: <won|
|000033b0| 74 37 3e 27 20 3e 3e 61 | 72 74 73 2f 75 72 70 2f |t7>' >>a|rts/urp/|
|000033c0| 37 0a 58 09 65 63 68 6f | 20 27 65 78 50 69 52 65 |7.X.echo| 'exPiRe|
|000033d0| 73 3a 20 39 39 39 39 27 | 20 3e 3e 61 72 74 73 2f |s: 9999'| >>arts/|
|000033e0| 75 72 70 2f 37 0a 58 09 | 65 63 68 6f 20 27 3c 67 |urp/7.X.|echo '<g|
|000033f0| 6f 6e 65 38 3e 09 31 30 | 30 7e 32 30 30 30 30 09 |one8>.10|0~20000.|
|00003400| 75 72 70 2f 38 27 20 3e | 3e 68 69 73 74 6f 72 79 |urp/8' >|>history|
|00003410| 2e 70 72 6f 74 6f 0a 58 | 09 65 63 68 6f 20 75 72 |.proto.X|.echo ur|
|00003420| 70 2f 38 20 3e 61 72 74 | 73 2f 75 72 70 2f 38 0a |p/8 >art|s/urp/8.|
|00003430| 58 09 65 63 68 6f 20 27 | 3c 67 6f 6e 65 39 3e 09 |X.echo '|<gone9>.|
|00003440| 31 30 30 7e 2d 09 75 72 | 70 2f 39 27 20 3e 3e 68 |100~-.ur|p/9' >>h|
|00003450| 69 73 74 6f 72 79 2e 70 | 72 6f 74 6f 0a 58 09 65 |istory.p|roto.X.e|
|00003460| 63 68 6f 20 27 3c 77 6f | 6e 74 31 30 3e 09 31 30 |cho '<wo|nt10>.10|
|00003470| 30 30 7e 32 30 30 30 30 | 09 66 6f 6f 2f 31 30 27 |00~20000|.foo/10'|
|00003480| 20 3e 3e 68 69 73 74 6f | 72 79 2e 70 72 6f 74 6f | >>histo|ry.proto|
|00003490| 0a 58 09 65 63 68 6f 20 | 3a 66 6f 6f 2f 31 30 3a |.X.echo |:foo/10:|
|000034a0| 20 3e 61 72 74 73 2f 66 | 6f 6f 2f 31 30 0a 58 09 | >arts/f|oo/10.X.|
|000034b0| 65 63 68 6f 20 27 4d 65 | 73 73 61 67 65 2d 49 44 |echo 'Me|ssage-ID|
|000034c0| 3a 20 3c 77 6f 6e 74 31 | 30 3e 27 20 3e 3e 61 72 |: <wont1|0>' >>ar|
|000034d0| 74 73 2f 66 6f 6f 2f 31 | 30 0a 58 09 65 63 68 6f |ts/foo/1|0.X.echo|
|000034e0| 20 27 45 78 70 69 72 65 | 73 3a 20 32 30 30 30 30 | 'Expire|s: 20000|
|000034f0| 27 20 3e 3e 61 72 74 73 | 2f 66 6f 6f 2f 31 30 0a |' >>arts|/foo/10.|
|00003500| 58 09 65 63 68 6f 20 27 | 53 75 70 65 72 73 65 64 |X.echo '|Supersed|
|00003510| 65 73 3a 20 3c 77 6f 6e | 74 31 3e 27 20 3e 3e 61 |es: <won|t1>' >>a|
|00003520| 72 74 73 2f 66 6f 6f 2f | 31 30 0a 58 09 65 63 68 |rts/foo/|10.X.ech|
|00003530| 6f 20 3e 3e 61 72 74 73 | 2f 66 6f 6f 2f 31 30 0a |o >>arts|/foo/10.|
|00003540| 58 09 65 63 68 6f 20 27 | 3c 77 69 6c 6c 31 31 3e |X.echo '|<will11>|
|00003550| 09 31 30 30 7e 32 30 30 | 30 30 09 66 6f 6f 2f 31 |.100~200|00.foo/1|
|00003560| 31 27 20 3e 3e 68 69 73 | 74 6f 72 79 2e 70 72 6f |1' >>his|tory.pro|
|00003570| 74 6f 0a 58 09 65 63 68 | 6f 20 66 6f 6f 2f 31 31 |to.X.ech|o foo/11|
|00003580| 20 3e 61 72 74 73 2f 66 | 6f 6f 2f 31 31 0a 58 09 | >arts/f|oo/11.X.|
|00003590| 65 63 68 6f 20 27 3c 77 | 69 6c 6c 31 32 3e 09 31 |echo '<w|ill12>.1|
|000035a0| 30 30 7e 2d 09 6d 6f 64 | 2e 6d 6f 64 2f 31 32 27 |00~-.mod|.mod/12'|
|000035b0| 20 3e 3e 68 69 73 74 6f | 72 79 2e 70 72 6f 74 6f | >>histo|ry.proto|
|000035c0| 0a 58 09 65 63 68 6f 20 | 6d 6f 64 2f 6d 6f 64 2f |.X.echo |mod/mod/|
|000035d0| 31 32 20 3e 61 72 74 73 | 2f 6d 6f 64 2f 6d 6f 64 |12 >arts|/mod/mod|
|000035e0| 2f 31 32 0a 58 09 65 63 | 68 6f 20 27 3c 77 6f 6e |/12.X.ec|ho '<won|
|000035f0| 74 31 33 3e 09 32 30 30 | 30 09 6d 6f 64 2e 6d 6f |t13>.200|0.mod.mo|
|00003600| 64 2f 31 33 27 20 3e 3e | 68 69 73 74 6f 72 79 2e |d/13' >>|history.|
|00003610| 70 72 6f 74 6f 0a 58 09 | 65 63 68 6f 20 3a 6d 6f |proto.X.|echo :mo|
|00003620| 64 2f 6d 6f 64 2f 31 33 | 3a 20 3e 61 72 74 73 2f |d/mod/13|: >arts/|
|00003630| 6d 6f 64 2f 6d 6f 64 2f | 31 33 0a 58 09 65 63 68 |mod/mod/|13.X.ech|
|00003640| 6f 20 27 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |o 'Messa|ge-ID: <|
|00003650| 77 6f 6e 74 31 33 3e 27 | 20 3e 3e 61 72 74 73 2f |wont13>'| >>arts/|
|00003660| 6d 6f 64 2f 6d 6f 64 2f | 31 33 0a 58 09 65 63 68 |mod/mod/|13.X.ech|
|00003670| 6f 20 27 3c 67 6f 6e 65 | 31 34 3e 09 31 30 30 7e |o '<gone|14>.100~|
|00003680| 2d 09 6d 6f 64 2e 75 6e | 6d 6f 64 2f 31 34 27 20 |-.mod.un|mod/14' |
|00003690| 3e 3e 68 69 73 74 6f 72 | 79 2e 70 72 6f 74 6f 0a |>>histor|y.proto.|
|000036a0| 58 09 65 63 68 6f 20 6d | 6f 64 2f 75 6e 6d 6f 64 |X.echo m|od/unmod|
|000036b0| 2f 31 34 20 3e 61 72 74 | 73 2f 6d 6f 64 2f 75 6e |/14 >art|s/mod/un|
|000036c0| 6d 6f 64 2f 31 34 0a 58 | 09 65 63 68 6f 20 27 3c |mod/14.X|.echo '<|
|000036d0| 67 6f 6e 65 31 35 3e 09 | 32 30 30 30 09 6d 6f 64 |gone15>.|2000.mod|
|000036e0| 2e 75 6e 6d 6f 64 2f 31 | 35 27 20 3e 3e 68 69 73 |.unmod/1|5' >>his|
|000036f0| 74 6f 72 79 2e 70 72 6f | 74 6f 0a 58 09 65 63 68 |tory.pro|to.X.ech|
|00003700| 6f 20 6d 6f 64 2f 75 6e | 6d 6f 64 2f 31 35 20 3e |o mod/un|mod/15 >|
|00003710| 61 72 74 73 2f 6d 6f 64 | 2f 75 6e 6d 6f 64 2f 31 |arts/mod|/unmod/1|
|00003720| 35 0a 58 09 65 63 68 6f | 20 27 3c 77 6f 6e 74 31 |5.X.echo| '<wont1|
|00003730| 36 3e 09 39 39 39 39 7e | 2d 09 6d 6f 64 2e 75 6e |6>.9999~|-.mod.un|
|00003740| 6d 6f 64 2f 31 36 27 20 | 3e 3e 68 69 73 74 6f 72 |mod/16' |>>histor|
|00003750| 79 2e 70 72 6f 74 6f 0a | 58 09 65 63 68 6f 20 3a |y.proto.|X.echo :|
|00003760| 6d 6f 64 2f 75 6e 6d 6f | 64 2f 31 36 3a 20 3e 61 |mod/unmo|d/16: >a|
|00003770| 72 74 73 2f 6d 6f 64 2f | 75 6e 6d 6f 64 2f 31 36 |rts/mod/|unmod/16|
|00003780| 0a 58 09 65 63 68 6f 20 | 27 4d 65 73 73 61 67 65 |.X.echo |'Message|
|00003790| 2d 49 44 3a 20 3c 77 6f | 6e 74 31 36 3e 27 20 3e |-ID: <wo|nt16>' >|
|000037a0| 3e 61 72 74 73 2f 6d 6f | 64 2f 75 6e 6d 6f 64 2f |>arts/mo|d/unmod/|
|000037b0| 31 36 0a 58 09 65 63 68 | 6f 20 27 3c 74 68 72 65 |16.X.ech|o '<thre|
|000037c0| 65 31 37 3e 09 31 30 30 | 7e 2d 09 62 6c 65 74 63 |e17>.100|~-.bletc|
|000037d0| 68 2f 31 37 27 20 3e 3e | 68 69 73 74 6f 72 79 2e |h/17' >>|history.|
|000037e0| 70 72 6f 74 6f 0a 58 09 | 65 63 68 6f 20 62 6c 65 |proto.X.|echo ble|
|000037f0| 74 63 68 2f 31 37 20 3e | 61 72 74 73 2f 62 6c 65 |tch/17 >|arts/ble|
|00003800| 74 63 68 2f 31 37 0a 58 | 09 65 67 72 65 70 20 77 |tch/17.X|.egrep w|
|00003810| 6f 6e 74 20 68 69 73 74 | 6f 72 79 2e 70 72 6f 74 |ont hist|ory.prot|
|00003820| 6f 20 3e 68 69 73 74 6f | 72 79 2e 61 66 74 65 72 |o >histo|ry.after|
|00003830| 0a 58 09 65 63 68 6f 20 | 27 3c 67 6f 6e 65 39 36 |.X.echo |'<gone96|
|00003840| 3e 09 35 30 30 30 7e 2d | 09 2f 27 20 3e 3e 68 69 |>.5000~-|./' >>hi|
|00003850| 73 74 6f 72 79 2e 70 72 | 6f 74 6f 0a 58 09 65 63 |story.pr|oto.X.ec|
|00003860| 68 6f 20 27 3c 67 6f 6e | 65 39 36 3e 09 35 30 30 |ho '<gon|e96>.500|
|00003870| 30 7e 2d 27 20 3e 3e 68 | 69 73 74 6f 72 79 2e 61 |0~-' >>h|istory.a|
|00003880| 66 74 65 72 0a 58 09 65 | 63 68 6f 20 27 3c 67 6f |fter.X.e|cho '<go|
|00003890| 6e 65 39 37 3e 09 35 30 | 30 30 7e 2d 27 20 3e 3e |ne97>.50|00~-' >>|
|000038a0| 68 69 73 74 6f 72 79 2e | 70 72 6f 74 6f 0a 58 09 |history.|proto.X.|
|000038b0| 65 63 68 6f 20 27 3c 67 | 6f 6e 65 39 37 3e 09 35 |echo '<g|one97>.5|
|000038c0| 30 30 30 7e 2d 27 20 3e | 3e 68 69 73 74 6f 72 79 |000~-' >|>history|
|000038d0| 2e 61 66 74 65 72 0a 58 | 09 65 63 68 6f 20 27 3c |.after.X|.echo '<|
|000038e0| 67 6f 6e 65 39 38 3e 09 | 35 30 30 30 7e 2d 09 75 |gone98>.|5000~-.u|
|000038f0| 72 70 2f 39 38 27 20 3e | 3e 68 69 73 74 6f 72 79 |rp/98' >|>history|
|00003900| 2e 70 72 6f 74 6f 0a 58 | 09 65 63 68 6f 20 27 3c |.proto.X|.echo '<|
|00003910| 67 6f 6e 65 39 38 3e 09 | 35 30 30 30 7e 2d 27 20 |gone98>.|5000~-' |
|00003920| 3e 3e 68 69 73 74 6f 72 | 79 2e 61 66 74 65 72 0a |>>histor|y.after.|
|00003930| 58 09 65 63 68 6f 20 75 | 72 70 2f 39 38 20 3e 61 |X.echo u|rp/98 >a|
|00003940| 72 74 73 2f 75 72 70 2f | 39 38 0a 58 09 65 63 68 |rts/urp/|98.X.ech|
|00003950| 6f 20 27 3c 6d 75 6c 74 | 69 39 39 3e 09 35 30 30 |o '<mult|i99>.500|
|00003960| 30 7e 2d 09 62 61 72 2f | 39 39 2c 20 62 61 72 2e |0~-.bar/|99, bar.|
|00003970| 75 67 68 2f 39 39 20 20 | 66 6f 6f 2f 39 39 20 75 |ugh/99 |foo/99 u|
|00003980| 72 70 2f 39 39 27 20 3e | 3e 68 69 73 74 6f 72 79 |rp/99' >|>history|
|00003990| 2e 70 72 6f 74 6f 0a 58 | 09 65 63 68 6f 20 27 3c |.proto.X|.echo '<|
|000039a0| 6d 75 6c 74 69 39 39 3e | 09 35 30 30 30 7e 2d 09 |multi99>|.5000~-.|
|000039b0| 62 61 72 2e 75 67 68 2f | 39 39 20 66 6f 6f 2f 39 |bar.ugh/|99 foo/9|
|000039c0| 39 27 20 3e 3e 68 69 73 | 74 6f 72 79 2e 61 66 74 |9' >>his|tory.aft|
|000039d0| 65 72 0a 58 09 65 63 68 | 6f 20 3a 66 6f 6f 2f 39 |er.X.ech|o :foo/9|
|000039e0| 39 3a 62 61 72 2f 39 39 | 3a 62 61 72 2f 75 67 68 |9:bar/99|:bar/ugh|
|000039f0| 2f 39 39 3a 75 72 70 2f | 39 39 3a 20 3e 61 72 74 |/99:urp/|99: >art|
|00003a00| 73 2f 66 6f 6f 2f 39 39 | 0a 58 09 65 63 68 6f 20 |s/foo/99|.X.echo |
|00003a10| 27 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 6d 75 |'Message|-ID: <mu|
|00003a20| 6c 74 69 39 39 3e 27 20 | 3e 3e 61 72 74 73 2f 66 |lti99>' |>>arts/f|
|00003a30| 6f 6f 2f 39 39 0a 58 09 | 6c 6e 20 61 72 74 73 2f |oo/99.X.|ln arts/|
|00003a40| 66 6f 6f 2f 39 39 20 61 | 72 74 73 2f 62 61 72 2f |foo/99 a|rts/bar/|
|00003a50| 39 39 0a 58 09 6c 6e 20 | 61 72 74 73 2f 66 6f 6f |99.X.ln |arts/foo|
|00003a60| 2f 39 39 20 61 72 74 73 | 2f 62 61 72 2f 75 67 68 |/99 arts|/bar/ugh|
|00003a70| 2f 39 39 0a 58 09 6c 6e | 20 61 72 74 73 2f 66 6f |/99.X.ln| arts/fo|
|00003a80| 6f 2f 39 39 20 61 72 74 | 73 2f 75 72 70 2f 39 39 |o/99 art|s/urp/99|
|00003a90| 0a 58 09 63 70 20 68 69 | 73 74 6f 72 79 2e 70 72 |.X.cp hi|story.pr|
|00003aa0| 6f 74 6f 20 68 69 73 74 | 6f 72 79 0a 58 0a 23 20 |oto hist|ory.X.# |
|00003ab0| 72 65 67 72 65 73 73 69 | 6f 6e 20 74 65 73 74 20 |regressi|on test |
|00003ac0| 6d 61 63 68 69 6e 65 72 | 79 0a 44 20 3d 20 4e 45 |machiner|y.D = NE|
|00003ad0| 57 53 41 52 54 53 3d 60 | 70 77 64 60 2f 61 72 74 |WSARTS=`|pwd`/art|
|00003ae0| 73 20 4e 45 57 53 43 54 | 4c 3d 60 70 77 64 60 20 |s NEWSCT|L=`pwd` |
|00003af0| 4e 45 57 53 53 50 4f 4f | 4c 3d 60 70 77 64 60 20 |NEWSSPOO|L=`pwd` |
|00003b00| 4e 45 57 53 42 49 4e 3d | 60 70 77 64 60 2f 6e 62 |NEWSBIN=|`pwd`/nb|
|00003b10| 69 6e 0a 52 55 4e 20 3d | 20 24 28 44 29 20 2e 2f |in.RUN =| $(D) ./|
|00003b20| 65 78 70 69 72 65 20 2d | 61 20 60 70 77 64 60 2f |expire -|a `pwd`/|
|00003b30| 61 72 63 68 20 2d 6e 20 | 31 30 30 30 30 0a 46 49 |arch -n |10000.FI|
|00003b40| 58 4d 49 44 46 49 45 4c | 44 20 3d 20 27 73 2f 09 |XMIDFIEL|D = 's/.|
|00003b50| 5b 30 2d 39 5d 2a 7e 2a | 2f 09 7e 2f 3b 73 2f 7e |[0-9]*~*|/.~/;s/~|
|00003b60| 09 2f 7e 2d 09 2f 3b 73 | 2f 7e 78 78 7e 61 2f 2f |./~-./;s|/~xx~a//|
|00003b70| 27 0a 46 49 58 50 41 54 | 48 53 20 3d 20 22 73 3b |'.FIXPAT|HS = "s;|
|00003b80| 60 70 77 64 60 3b 50 3b | 67 22 0a 67 6f 6f 64 74 |`pwd`;P;|g".goodt|
|00003b90| 3a 09 65 78 70 69 72 65 | 20 73 65 74 75 70 09 23 |:.expire| setup.#|
|00003ba0| 20 64 6f 20 4e 4f 54 20 | 72 75 6e 20 74 68 69 73 | do NOT |run this|
|00003bb0| 20 75 6e 6c 65 73 73 20 | 79 6f 75 20 6b 6e 6f 77 | unless |you know|
|00003bc0| 20 77 68 61 74 20 79 6f | 75 27 72 65 20 64 6f 69 | what yo|u're doi|
|00003bd0| 6e 67 0a 58 09 24 28 52 | 55 4e 29 20 2d 74 20 65 |ng.X.$(R|UN) -t e|
|00003be0| 78 70 6c 69 73 74 20 32 | 3e 26 31 20 7c 20 73 65 |xplist 2|>&1 | se|
|00003bf0| 64 20 24 28 46 49 58 50 | 41 54 48 53 29 20 3e 74 |d $(FIXP|ATHS) >t|
|00003c00| 67 6f 6f 64 0a 58 09 63 | 68 6d 6f 64 20 2d 77 20 |good.X.c|hmod -w |
|00003c10| 74 67 6f 6f 64 0a 67 6f | 6f 64 70 3a 09 65 78 70 |tgood.go|odp:.exp|
|00003c20| 69 72 65 20 73 65 74 75 | 70 09 23 20 64 6f 20 4e |ire setu|p.# do N|
|00003c30| 4f 54 20 72 75 6e 20 74 | 68 69 73 20 75 6e 6c 65 |OT run t|his unle|
|00003c40| 73 73 20 79 6f 75 20 6b | 6e 6f 77 20 77 68 61 74 |ss you k|now what|
|00003c50| 20 79 6f 75 27 72 65 20 | 64 6f 69 6e 67 0a 58 09 | you're |doing.X.|
|00003c60| 24 28 52 55 4e 29 20 2d | 70 20 65 78 70 6c 69 73 |$(RUN) -|p explis|
|00003c70| 74 20 3e 70 67 6f 6f 64 | 20 32 3e 26 31 0a 58 09 |t >pgood| 2>&1.X.|
|00003c80| 63 68 6d 6f 64 20 2d 77 | 20 70 67 6f 6f 64 0a 64 |chmod -w| pgood.d|
|00003c90| 6f 69 74 3a 09 65 78 70 | 69 72 65 09 09 23 20 66 |oit:.exp|ire..# f|
|00003ca0| 6f 72 20 64 65 62 75 67 | 67 69 6e 67 0a 58 09 65 |or debug|ging.X.e|
|00003cb0| 63 68 6f 20 22 24 28 52 | 55 4e 29 20 2d 74 20 65 |cho "$(R|UN) -t e|
|00003cc0| 78 70 6c 69 73 74 22 20 | 3e 24 40 0a 58 09 63 68 |xplist" |>$@.X.ch|
|00003cd0| 6d 6f 64 20 2b 78 20 24 | 40 0a 58 0a 23 20 74 68 |mod +x $|@.X.# th|
|00003ce0| 65 20 72 65 67 72 65 73 | 73 69 6f 6e 20 74 65 73 |e regres|sion tes|
|00003cf0| 74 20 70 72 6f 70 65 72 | 0a 72 3a 09 24 28 54 48 |t proper|.r:.$(TH|
|00003d00| 45 4d 29 20 24 28 55 50 | 41 43 54 29 20 64 69 72 |EM) $(UP|ACT) dir|
|00003d10| 63 68 65 63 6b 20 73 65 | 74 75 70 20 74 67 6f 6f |check se|tup tgoo|
|00003d20| 64 20 70 67 6f 6f 64 0a | 58 09 63 68 6d 6f 64 20 |d pgood.|X.chmod |
|00003d30| 2b 78 20 64 69 72 63 68 | 65 63 6b 20 24 28 54 48 |+x dirch|eck $(TH|
|00003d40| 45 4d 29 0a 58 09 24 28 | 52 55 4e 29 20 2d 63 20 |EM).X.$(|RUN) -c |
|00003d50| 65 78 70 6c 69 73 74 0a | 58 09 3a 20 22 6f 6b 61 |explist.|X.: "oka|
|00003d60| 79 2c 20 69 74 27 73 20 | 73 61 6e 65 22 0a 58 09 |y, it's |sane".X.|
|00003d70| 24 28 52 55 4e 29 20 2d | 74 20 65 78 70 6c 69 73 |$(RUN) -|t explis|
|00003d80| 74 20 3e 74 65 73 74 2e | 6f 75 74 20 32 3e 26 31 |t >test.|out 2>&1|
|00003d90| 0a 58 09 73 65 64 20 24 | 28 46 49 58 50 41 54 48 |.X.sed $|(FIXPATH|
|00003da0| 53 29 20 74 65 73 74 2e | 6f 75 74 20 7c 20 63 6d |S) test.|out | cm|
|00003db0| 70 20 2d 20 74 67 6f 6f | 64 0a 58 09 3a 20 22 6f |p - tgoo|d.X.: "o|
|00003dc0| 6b 61 79 2c 20 69 74 20 | 73 65 65 6d 73 20 74 6f |kay, it |seems to|
|00003dd0| 20 6b 6e 6f 77 20 77 68 | 61 74 20 69 74 27 73 20 | know wh|at it's |
|00003de0| 64 6f 69 6e 67 20 2d 2d | 20 6e 6f 77 2c 20 63 61 |doing --| now, ca|
|00003df0| 6e 20 69 74 20 64 6f 20 | 69 74 3f 22 0a 58 09 24 |n it do |it?".X.$|
|00003e00| 28 52 55 4e 29 20 2d 70 | 20 65 78 70 6c 69 73 74 |(RUN) -p| explist|
|00003e10| 20 3e 74 65 73 74 2e 6f | 75 74 20 32 3e 74 65 73 | >test.o|ut 2>tes|
|00003e20| 74 2e 73 74 64 65 72 72 | 0a 58 09 74 65 73 74 20 |t.stderr|.X.test |
|00003e30| 21 20 2d 73 20 74 65 73 | 74 2e 73 74 64 65 72 72 |! -s tes|t.stderr|
|00003e40| 20 3b 0a 58 09 63 6d 70 | 20 74 65 73 74 2e 6f 75 | ;.X.cmp| test.ou|
|00003e50| 74 20 70 67 6f 6f 64 0a | 58 09 74 65 73 74 20 21 |t pgood.|X.test !|
|00003e60| 20 2d 66 20 68 69 73 74 | 6f 72 79 2e 6e 20 3b 0a | -f hist|ory.n ;.|
|00003e70| 58 09 63 6d 70 20 68 69 | 73 74 6f 72 79 2e 70 72 |X.cmp hi|story.pr|
|00003e80| 6f 74 6f 20 68 69 73 74 | 6f 72 79 2e 6f 0a 58 09 |oto hist|ory.o.X.|
|00003e90| 65 67 72 65 70 20 77 6f | 6e 74 20 68 69 73 74 6f |egrep wo|nt histo|
|00003ea0| 72 79 2e 70 72 6f 74 6f | 20 7c 20 2e 2f 64 69 72 |ry.proto| | ./dir|
|00003eb0| 63 68 65 63 6b 20 61 72 | 74 73 0a 58 09 65 67 72 |check ar|ts.X.egr|
|00003ec0| 65 70 20 27 77 69 6c 6c | 7c 74 77 6f 7c 67 6f 6e |ep 'will||two|gon|
|00003ed0| 65 7c 74 68 72 65 65 27 | 20 68 69 73 74 6f 72 79 |e|three'| history|
|00003ee0| 2e 70 72 6f 74 6f 20 7c | 20 2e 2f 64 69 72 63 68 |.proto || ./dirch|
|00003ef0| 65 63 6b 20 2d 6e 20 61 | 72 74 73 0a 58 09 65 67 |eck -n a|rts.X.eg|
|00003f00| 72 65 70 20 77 69 6c 6c | 20 68 69 73 74 6f 72 79 |rep will| history|
|00003f10| 2e 70 72 6f 74 6f 20 7c | 20 2e 2f 64 69 72 63 68 |.proto || ./dirch|
|00003f20| 65 63 6b 20 61 72 63 68 | 0a 58 09 65 67 72 65 70 |eck arch|.X.egrep|
|00003f30| 20 27 77 6f 6e 74 7c 74 | 77 6f 7c 67 6f 6e 65 7c | 'wont|t|wo|gone||
|00003f40| 74 68 72 65 65 27 20 68 | 69 73 74 6f 72 79 2e 70 |three' h|istory.p|
|00003f50| 72 6f 74 6f 20 7c 20 2e | 2f 64 69 72 63 68 65 63 |roto | .|/dirchec|
|00003f60| 6b 20 2d 6e 20 61 72 63 | 68 0a 58 09 65 67 72 65 |k -n arc|h.X.egre|
|00003f70| 70 20 74 77 6f 20 68 69 | 73 74 6f 72 79 2e 70 72 |p two hi|story.pr|
|00003f80| 6f 74 6f 20 7c 20 2e 2f | 64 69 72 63 68 65 63 6b |oto | ./|dircheck|
|00003f90| 20 61 72 63 68 32 0a 58 | 09 65 67 72 65 70 20 27 | arch2.X|.egrep '|
|00003fa0| 77 69 6c 6c 7c 77 6f 6e | 74 7c 67 6f 6e 65 7c 74 |will|won|t|gone|t|
|00003fb0| 68 72 65 65 27 20 68 69 | 73 74 6f 72 79 2e 70 72 |hree' hi|story.pr|
|00003fc0| 6f 74 6f 20 7c 20 2e 2f | 64 69 72 63 68 65 63 6b |oto | ./|dircheck|
|00003fd0| 20 2d 6e 20 61 72 63 68 | 32 0a 58 09 65 67 72 65 | -n arch|2.X.egre|
|00003fe0| 70 20 74 68 72 65 65 20 | 68 69 73 74 6f 72 79 2e |p three |history.|
|00003ff0| 70 72 6f 74 6f 20 7c 20 | 2e 2f 64 69 72 63 68 65 |proto | |./dirche|
|00004000| 63 6b 20 61 72 63 68 33 | 0a 58 09 65 67 72 65 70 |ck arch3|.X.egrep|
|00004010| 20 27 77 69 6c 6c 7c 77 | 6f 6e 74 7c 67 6f 6e 65 | 'will|w|ont|gone|
|00004020| 7c 74 77 6f 27 20 68 69 | 73 74 6f 72 79 2e 70 72 ||two' hi|story.pr|
|00004030| 6f 74 6f 20 7c 20 2e 2f | 64 69 72 63 68 65 63 6b |oto | ./|dircheck|
|00004040| 20 2d 6e 20 61 72 63 68 | 33 0a 58 09 74 65 73 74 | -n arch|3.X.test|
|00004050| 20 2d 66 20 61 72 74 73 | 2f 66 6f 6f 2f 39 39 20 | -f arts|/foo/99 |
|00004060| 3b 0a 58 09 74 65 73 74 | 20 2d 66 20 61 72 74 73 |;.X.test| -f arts|
|00004070| 2f 62 61 72 2f 75 67 68 | 2f 39 39 20 3b 0a 58 09 |/bar/ugh|/99 ;.X.|
|00004080| 74 65 73 74 20 2d 66 20 | 61 72 63 68 32 2f 62 61 |test -f |arch2/ba|
|00004090| 72 2f 39 39 20 3b 0a 58 | 09 74 65 73 74 20 21 20 |r/99 ;.X|.test ! |
|000040a0| 2d 66 20 61 72 74 73 2f | 75 72 70 2f 39 39 20 3b |-f arts/|urp/99 ;|
|000040b0| 0a 58 09 63 6d 70 20 68 | 69 73 74 6f 72 79 20 68 |.X.cmp h|istory h|
|000040c0| 69 73 74 6f 72 79 2e 61 | 66 74 65 72 0a 58 09 3a |istory.a|fter.X.:|
|000040d0| 20 22 74 68 61 74 27 73 | 20 69 74 20 66 6f 72 20 | "that's| it for |
|000040e0| 65 78 70 69 72 65 2c 20 | 6f 6e 20 74 6f 20 75 70 |expire, |on to up|
|000040f0| 61 63 74 20 61 6e 64 20 | 72 65 63 6f 76 61 63 74 |act and |recovact|
|00004100| 22 0a 58 09 24 28 44 29 | 20 2e 2f 24 28 55 50 41 |".X.$(D)| ./$(UPA|
|00004110| 43 54 29 0a 58 09 63 6d | 70 20 61 63 74 69 76 65 |CT).X.cm|p active|
|00004120| 20 61 63 74 69 76 65 2e | 61 66 74 65 72 0a 58 09 | active.|after.X.|
|00004130| 24 28 44 29 20 2e 2f 24 | 28 55 50 41 43 54 29 0a |$(D) ./$|(UPACT).|
|00004140| 58 09 63 6d 70 20 61 63 | 74 69 76 65 20 61 63 74 |X.cmp ac|tive act|
|00004150| 69 76 65 2e 61 66 74 65 | 72 0a 58 09 24 28 44 29 |ive.afte|r.X.$(D)|
|00004160| 20 2e 2f 72 65 63 6f 76 | 61 63 74 0a 58 09 63 6d | ./recov|act.X.cm|
|00004170| 70 20 61 63 74 69 76 65 | 20 61 63 74 69 76 65 2e |p active| active.|
|00004180| 61 66 74 65 72 0a 58 09 | 73 65 64 20 27 2f 5e 66 |after.X.|sed '/^f|
|00004190| 6f 6f 20 2f 73 2f 39 39 | 2f 30 39 2f 27 20 61 63 |oo /s/99|/09/' ac|
|000041a0| 74 69 76 65 2e 61 66 74 | 65 72 20 3e 61 63 74 69 |tive.aft|er >acti|
|000041b0| 76 65 0a 58 09 24 28 44 | 29 20 2e 2f 72 65 63 6f |ve.X.$(D|) ./reco|
|000041c0| 76 61 63 74 0a 58 09 63 | 6d 70 20 61 63 74 69 76 |vact.X.c|mp activ|
|000041d0| 65 20 61 63 74 69 76 65 | 2e 61 66 74 65 72 0a 58 |e active|.after.X|
|000041e0| 09 3a 20 22 61 6e 64 20 | 66 6f 72 20 75 70 61 63 |.: "and |for upac|
|000041f0| 74 2c 20 6f 6e 20 74 6f | 20 6d 6b 68 69 73 74 6f |t, on to| mkhisto|
|00004200| 72 79 22 0a 58 09 61 77 | 6b 20 2d 46 27 09 27 20 |ry".X.aw|k -F'.' |
|00004210| 27 4e 46 20 3e 20 32 27 | 20 68 69 73 74 6f 72 79 |'NF > 2'| history|
|00004220| 20 7c 20 73 65 64 20 24 | 28 46 49 58 4d 49 44 46 | | sed $|(FIXMIDF|
|00004230| 49 45 4c 44 29 20 7c 20 | 73 6f 72 74 20 3e 68 69 |IELD) | |sort >hi|
|00004240| 73 74 6f 72 79 2e 61 66 | 74 65 72 0a 58 09 72 6d |story.af|ter.X.rm|
|00004250| 20 2d 66 20 68 69 73 74 | 6f 72 79 2e 70 61 67 20 | -f hist|ory.pag |
|00004260| 68 69 73 74 6f 72 79 2e | 64 69 72 0a 58 09 24 28 |history.|dir.X.$(|
|00004270| 44 29 20 2e 2f 6d 6b 68 | 69 73 74 6f 72 79 0a 58 |D) ./mkh|istory.X|
|00004280| 09 73 6f 72 74 20 68 69 | 73 74 6f 72 79 20 7c 20 |.sort hi|story | |
|00004290| 73 65 64 20 24 28 46 49 | 58 4d 49 44 46 49 45 4c |sed $(FI|XMIDFIEL|
|000042a0| 44 29 20 7c 20 63 6d 70 | 20 2d 20 68 69 73 74 6f |D) | cmp| - histo|
|000042b0| 72 79 2e 61 66 74 65 72 | 0a 58 09 74 65 73 74 20 |ry.after|.X.test |
|000042c0| 2d 72 20 68 69 73 74 6f | 72 79 2e 70 61 67 20 3b |-r histo|ry.pag ;|
|000042d0| 0a 58 09 74 65 73 74 20 | 2d 72 20 68 69 73 74 6f |.X.test |-r histo|
|000042e0| 72 79 2e 64 69 72 20 3b | 0a 58 09 3a 20 22 73 75 |ry.dir ;|.X.: "su|
|000042f0| 63 63 65 73 73 21 22 0a | 58 0a 23 20 76 61 72 69 |ccess!".|X.# vari|
|00004300| 61 6e 74 20 72 65 67 72 | 65 73 73 69 6f 6e 20 74 |ant regr|ession t|
|00004310| 65 73 74 20 66 6f 72 20 | 2d 72 0a 72 72 3a 09 24 |est for |-r.rr:.$|
|00004320| 28 54 48 45 4d 29 20 24 | 28 55 50 41 43 54 29 20 |(THEM) $|(UPACT) |
|00004330| 64 69 72 63 68 65 63 6b | 20 73 65 74 75 70 20 74 |dircheck| setup t|
|00004340| 67 6f 6f 64 20 70 67 6f | 6f 64 0a 58 09 63 68 6d |good pgo|od.X.chm|
|00004350| 6f 64 20 2b 78 20 64 69 | 72 63 68 65 63 6b 20 24 |od +x di|rcheck $|
|00004360| 28 54 48 45 4d 29 0a 58 | 09 24 28 52 55 4e 29 20 |(THEM).X|.$(RUN) |
|00004370| 2d 70 20 2d 72 20 65 78 | 70 6c 69 73 74 20 3e 74 |-p -r ex|plist >t|
|00004380| 65 73 74 2e 6f 75 74 20 | 32 3e 74 65 73 74 2e 73 |est.out |2>test.s|
|00004390| 74 64 65 72 72 0a 58 09 | 74 65 73 74 20 21 20 2d |tderr.X.|test ! -|
|000043a0| 73 20 74 65 73 74 2e 73 | 74 64 65 72 72 20 3b 0a |s test.s|tderr ;.|
|000043b0| 58 09 63 6d 70 20 74 65 | 73 74 2e 6f 75 74 20 70 |X.cmp te|st.out p|
|000043c0| 67 6f 6f 64 0a 58 09 63 | 6d 70 20 68 69 73 74 6f |good.X.c|mp histo|
|000043d0| 72 79 2e 70 72 6f 74 6f | 20 68 69 73 74 6f 72 79 |ry.proto| history|
|000043e0| 0a 58 09 65 67 72 65 70 | 20 77 6f 6e 74 20 68 69 |.X.egrep| wont hi|
|000043f0| 73 74 6f 72 79 2e 70 72 | 6f 74 6f 20 7c 20 2e 2f |story.pr|oto | ./|
|00004400| 64 69 72 63 68 65 63 6b | 20 61 72 74 73 0a 58 09 |dircheck| arts.X.|
|00004410| 65 67 72 65 70 20 27 77 | 69 6c 6c 7c 74 77 6f 7c |egrep 'w|ill|two||
|00004420| 67 6f 6e 65 7c 74 68 72 | 65 65 27 20 68 69 73 74 |gone|thr|ee' hist|
|00004430| 6f 72 79 2e 70 72 6f 74 | 6f 20 7c 20 2e 2f 64 69 |ory.prot|o | ./di|
|00004440| 72 63 68 65 63 6b 20 2d | 6e 20 61 72 74 73 0a 58 |rcheck -|n arts.X|
|00004450| 09 65 67 72 65 70 20 77 | 69 6c 6c 20 68 69 73 74 |.egrep w|ill hist|
|00004460| 6f 72 79 2e 70 72 6f 74 | 6f 20 7c 20 2e 2f 64 69 |ory.prot|o | ./di|
|00004470| 72 63 68 65 63 6b 20 61 | 72 63 68 0a 58 09 65 67 |rcheck a|rch.X.eg|
|00004480| 72 65 70 20 27 77 6f 6e | 74 7c 74 77 6f 7c 67 6f |rep 'won|t|two|go|
|00004490| 6e 65 7c 74 68 72 65 65 | 27 20 68 69 73 74 6f 72 |ne|three|' histor|
|000044a0| 79 2e 70 72 6f 74 6f 20 | 7c 20 2e 2f 64 69 72 63 |y.proto || ./dirc|
|000044b0| 68 65 63 6b 20 2d 6e 20 | 61 72 63 68 0a 58 09 65 |heck -n |arch.X.e|
|000044c0| 67 72 65 70 20 74 77 6f | 20 68 69 73 74 6f 72 79 |grep two| history|
|000044d0| 2e 70 72 6f 74 6f 20 7c | 20 2e 2f 64 69 72 63 68 |.proto || ./dirch|
|000044e0| 65 63 6b 20 61 72 63 68 | 32 0a 58 09 65 67 72 65 |eck arch|2.X.egre|
|000044f0| 70 20 27 77 69 6c 6c 7c | 77 6f 6e 74 7c 67 6f 6e |p 'will||wont|gon|
|00004500| 65 7c 74 68 72 65 65 27 | 20 68 69 73 74 6f 72 79 |e|three'| history|
|00004510| 2e 70 72 6f 74 6f 20 7c | 20 2e 2f 64 69 72 63 68 |.proto || ./dirch|
|00004520| 65 63 6b 20 2d 6e 20 61 | 72 63 68 32 0a 58 09 65 |eck -n a|rch2.X.e|
|00004530| 67 72 65 70 20 74 68 72 | 65 65 20 68 69 73 74 6f |grep thr|ee histo|
|00004540| 72 79 2e 70 72 6f 74 6f | 20 7c 20 2e 2f 64 69 72 |ry.proto| | ./dir|
|00004550| 63 68 65 63 6b 20 61 72 | 63 68 33 0a 58 09 65 67 |check ar|ch3.X.eg|
|00004560| 72 65 70 20 27 77 69 6c | 6c 7c 77 6f 6e 74 7c 67 |rep 'wil|l|wont|g|
|00004570| 6f 6e 65 7c 74 77 6f 27 | 20 68 69 73 74 6f 72 79 |one|two'| history|
|00004580| 2e 70 72 6f 74 6f 20 7c | 20 2e 2f 64 69 72 63 68 |.proto || ./dirch|
|00004590| 65 63 6b 20 2d 6e 20 61 | 72 63 68 33 0a 58 09 74 |eck -n a|rch3.X.t|
|000045a0| 65 73 74 20 2d 66 20 61 | 72 74 73 2f 66 6f 6f 2f |est -f a|rts/foo/|
|000045b0| 39 39 20 3b 0a 58 09 74 | 65 73 74 20 2d 66 20 61 |99 ;.X.t|est -f a|
|000045c0| 72 74 73 2f 62 61 72 2f | 75 67 68 2f 39 39 20 3b |rts/bar/|ugh/99 ;|
|000045d0| 0a 58 09 74 65 73 74 20 | 2d 66 20 61 72 63 68 32 |.X.test |-f arch2|
|000045e0| 2f 62 61 72 2f 39 39 20 | 3b 0a 58 09 74 65 73 74 |/bar/99 |;.X.test|
|000045f0| 20 21 20 2d 66 20 61 72 | 74 73 2f 75 72 70 2f 39 | ! -f ar|ts/urp/9|
|00004600| 39 20 3b 0a 58 0a 74 69 | 64 79 3a 0a 58 09 72 6d |9 ;.X.ti|dy:.X.rm|
|00004610| 20 2d 66 20 6a 75 6e 6b | 20 68 69 73 74 6f 72 79 | -f junk| history|
|00004620| 20 68 69 73 74 6f 72 79 | 2e 70 61 67 20 68 69 73 | history|.pag his|
|00004630| 74 6f 72 79 2e 64 69 72 | 20 68 69 73 74 6f 72 79 |tory.dir| history|
|00004640| 2e 6f 20 61 63 74 69 76 | 65 20 61 63 74 69 76 65 |.o activ|e active|
|00004650| 2e 74 6d 70 0a 58 09 72 | 6d 20 2d 66 20 68 69 73 |.tmp.X.r|m -f his|
|00004660| 74 6f 72 79 2e 6e 2a 20 | 2a 6d 6f 6e 2e 6f 75 74 |tory.n* |*mon.out|
|00004670| 20 68 69 73 74 6f 72 79 | 2e 70 72 6f 74 6f 20 68 | history|.proto h|
|00004680| 69 73 74 6f 72 79 2e 61 | 66 74 65 72 20 74 65 73 |istory.a|fter tes|
|00004690| 74 2e 6f 75 74 20 64 6f | 69 74 0a 58 09 72 6d 20 |t.out do|it.X.rm |
|000046a0| 2d 66 20 61 63 74 69 76 | 65 2e 6f 6c 64 20 61 63 |-f activ|e.old ac|
|000046b0| 74 69 76 65 2e 6e 65 77 | 20 65 78 70 6c 69 73 74 |tive.new| explist|
|000046c0| 20 6c 69 6e 74 20 61 63 | 74 69 76 65 2e 61 66 74 | lint ac|tive.aft|
|000046d0| 65 72 20 74 65 73 74 2e | 73 74 64 65 72 72 0a 58 |er test.|stderr.X|
|000046e0| 09 72 6d 20 2d 72 66 20 | 61 72 74 73 20 61 72 63 |.rm -rf |arts arc|
|000046f0| 68 20 61 72 63 68 32 20 | 61 72 63 68 33 20 6e 62 |h arch2 |arch3 nb|
|00004700| 69 6e 0a 58 0a 63 6c 65 | 61 6e 3a 09 74 69 64 79 |in.X.cle|an:.tidy|
|00004710| 0a 58 09 72 6d 20 2d 66 | 20 2a 2e 6f 20 65 78 70 |.X.rm -f| *.o exp|
|00004720| 69 72 65 20 68 69 73 74 | 73 6c 61 73 68 20 6d 6b |ire hist|slash mk|
|00004730| 64 62 6d 20 68 69 73 74 | 69 6e 66 6f 20 65 78 70 |dbm hist|info exp|
|00004740| 6c 69 73 74 20 65 78 70 | 6c 69 73 74 2e 2a 0a 58 |list exp|list.*.X|
|00004750| 09 72 6d 20 2d 66 20 64 | 74 72 20 75 70 64 61 74 |.rm -f d|tr updat|
|00004760| 65 6d 69 6e 20 62 61 63 | 6b 77 61 74 65 72 0a 58 |emin bac|kwater.X|
|00004770| 0a 73 70 6f 74 6c 65 73 | 73 3a 09 63 6c 65 61 6e |.spotles|s:.clean|
|00004780| 09 23 20 64 6f 6e 27 74 | 20 72 75 6e 20 74 68 69 |.# don't| run thi|
|00004790| 73 20 75 6e 6c 65 73 73 | 20 79 6f 75 20 6b 6e 6f |s unless| you kno|
|000047a0| 77 20 77 68 61 74 20 79 | 6f 75 27 72 65 20 64 6f |w what y|ou're do|
|000047b0| 69 6e 67 0a 58 09 72 6d | 20 2d 66 20 70 67 6f 6f |ing.X.rm| -f pgoo|
|000047c0| 64 20 74 67 6f 6f 64 0a | 58 0a 64 74 72 3a 09 24 |d tgood.|X.dtr:.$|
|000047d0| 28 44 54 52 29 0a 58 09 | 6d 61 6b 65 64 74 72 20 |(DTR).X.|makedtr |
|000047e0| 24 28 44 54 52 29 20 3e | 24 40 0a 53 48 41 52 5f |$(DTR) >|$@.SHAR_|
|000047f0| 45 4f 46 0a 63 68 6d 6f | 64 20 30 36 36 34 20 4d |EOF.chmo|d 0664 M|
|00004800| 61 6b 65 66 69 6c 65 20 | 7c 7c 0a 65 63 68 6f 20 |akefile |||.echo |
|00004810| 27 72 65 73 74 6f 72 65 | 20 6f 66 20 4d 61 6b 65 |'restore| of Make|
|00004820| 66 69 6c 65 20 66 61 69 | 6c 65 64 27 0a 57 63 5f |file fai|led'.Wc_|
|00004830| 63 3d 22 60 77 63 20 2d | 63 20 3c 20 27 4d 61 6b |c="`wc -|c < 'Mak|
|00004840| 65 66 69 6c 65 27 60 22 | 0a 74 65 73 74 20 39 38 |efile'`"|.test 98|
|00004850| 31 36 20 2d 65 71 20 22 | 24 57 63 5f 63 22 20 7c |16 -eq "|$Wc_c" ||
|00004860| 7c 0a 09 65 63 68 6f 20 | 27 4d 61 6b 65 66 69 6c ||..echo |'Makefil|
|00004870| 65 3a 20 6f 72 69 67 69 | 6e 61 6c 20 73 69 7a 65 |e: origi|nal size|
|00004880| 20 39 38 31 36 2c 20 63 | 75 72 72 65 6e 74 20 73 | 9816, c|urrent s|
|00004890| 69 7a 65 27 20 22 24 57 | 63 5f 63 22 0a 66 69 0a |ize' "$W|c_c".fi.|
|000048a0| 65 78 69 74 20 30 0a 2d | 2d 20 0a 54 68 69 73 20 |exit 0.-|- .This |
|000048b0| 69 73 20 61 20 6f 6e 65 | 20 6c 69 6e 65 20 70 72 |is a one| line pr|
|000048c0| 6f 6f 66 2e 2e 2e 69 66 | 20 77 65 20 73 74 61 72 |oof...if| we star|
|000048d0| 74 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t | |
|000048e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2e 2e 2f | | ../|
|000048f0| 44 61 76 65 20 4d 61 73 | 6f 6e 0a 73 75 66 66 69 |Dave Mas|on.suffi|
|00004900| 63 69 65 6e 74 6c 79 20 | 66 61 72 20 74 6f 20 74 |ciently |far to t|
|00004910| 68 65 20 6c 65 66 74 2e | 20 20 20 20 20 20 20 20 |he left.| |
|00004920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3c 6d 61 | | <ma|
|00004930| 73 6f 6e 25 74 6d 73 6f | 66 74 40 63 73 2e 74 6f |son%tmso|ft@cs.to|
|00004940| 72 6f 6e 74 6f 2e 65 64 | 75 3e 0a 20 20 20 20 20 |ronto.ed|u>. |
|00004950| 20 20 20 20 2d 70 65 74 | 65 72 40 63 62 6d 76 61 | -pet|er@cbmva|
|00004960| 78 2e 63 62 6d 2e 63 6f | 6d 6d 6f 64 6f 72 65 2e |x.cbm.co|mmodore.|
|00004970| 63 6f 6d 20 20 20 20 20 | 20 20 20 20 20 3c 6d 61 |com | <ma|
|00004980| 73 6f 6e 40 74 6d 73 6f | 66 74 2e 75 75 63 70 3e |son@tmso|ft.uucp>|
|00004990| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+