home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume18 / undel / part01 next >
SHell self-extracting ARchive  |  1989-05-06  |  27.6 KB

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).

ConfidenceProgramDetectionMatch TypeSupport
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, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK 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/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 62 62 6e 2e |Path: uu|net!bbn.|
|00000010| 63 6f 6d 21 72 73 61 6c | 7a 0a 46 72 6f 6d 3a 20 |com!rsal|z.From: |
|00000020| 72 73 61 6c 7a 40 75 75 | 6e 65 74 2e 75 75 2e 6e |rsalz@uu|net.uu.n|
|00000030| 65 74 20 28 52 69 63 68 | 20 53 61 6c 7a 29 0a 4e |et (Rich| Salz).N|
|00000040| 65 77 73 67 72 6f 75 70 | 73 3a 20 63 6f 6d 70 2e |ewsgroup|s: comp.|
|00000050| 73 6f 75 72 63 65 73 2e | 75 6e 69 78 0a 53 75 62 |sources.|unix.Sub|
|00000060| 6a 65 63 74 3a 20 76 31 | 38 69 30 37 33 3a 20 20 |ject: v1|8i073: |
|00000070| 4d 49 54 20 41 74 68 65 | 6e 61 20 64 65 6c 65 74 |MIT Athe|na delet|
|00000080| 65 2f 75 6e 64 65 6c 65 | 74 65 20 70 72 6f 67 72 |e/undele|te progr|
|00000090| 61 6d 73 2c 20 50 61 72 | 74 30 31 2f 30 36 0a 4d |ams, Par|t01/06.M|
|000000a0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 31 36 33 33 |essage-I|D: <1633|
|000000b0| 40 66 69 67 2e 62 62 6e | 2e 63 6f 6d 3e 0a 44 61 |@fig.bbn|.com>.Da|
|000000c0| 74 65 3a 20 32 39 20 4d | 61 72 20 38 39 20 30 34 |te: 29 M|ar 89 04|
|000000d0| 3a 33 30 3a 35 31 20 47 | 4d 54 0a 4c 69 6e 65 73 |:30:51 G|MT.Lines|
|000000e0| 3a 20 38 37 36 0a 41 70 | 70 72 6f 76 65 64 3a 20 |: 876.Ap|proved: |
|000000f0| 72 73 61 6c 7a 40 75 75 | 6e 65 74 2e 55 55 2e 4e |rsalz@uu|net.UU.N|
|00000100| 45 54 0a 0a 53 75 62 6d | 69 74 74 65 64 2d 62 79 |ET..Subm|itted-by|
|00000110| 3a 20 4a 6f 6e 61 74 68 | 61 6e 20 49 2e 20 4b 61 |: Jonath|an I. Ka|
|00000120| 6d 65 6e 73 20 3c 6a 69 | 6b 40 50 49 54 2d 4d 41 |mens <ji|k@PIT-MA|
|00000130| 4e 41 47 45 52 2e 4d 49 | 54 2e 45 44 55 3e 0a 50 |NAGER.MI|T.EDU>.P|
|00000140| 6f 73 74 69 6e 67 2d 6e | 75 6d 62 65 72 3a 20 56 |osting-n|umber: V|
|00000150| 6f 6c 75 6d 65 20 31 38 | 2c 20 49 73 73 75 65 20 |olume 18|, Issue |
|00000160| 37 33 0a 41 72 63 68 69 | 76 65 2d 6e 61 6d 65 3a |73.Archi|ve-name:|
|00000170| 20 75 6e 64 65 6c 2f 70 | 61 72 74 30 31 0a 0a 5b | undel/p|art01..[|
|00000180| 20 20 54 68 69 73 20 77 | 69 6c 6c 20 6e 65 65 64 | This w|ill need|
|00000190| 20 61 20 62 69 74 20 6f | 66 20 77 6f 72 6b 20 74 | a bit o|f work t|
|000001a0| 6f 20 72 75 6e 20 75 6e | 64 65 72 20 6e 6f 6e 2d |o run un|der non-|
|000001b0| 42 53 44 2e 20 20 49 74 | 27 73 20 61 6c 73 6f 0a |BSD. It|'s also.|
|000001c0| 20 20 20 70 72 6f 62 61 | 62 6c 79 20 67 6f 69 6e | proba|bly goin|
|000001d0| 67 20 74 6f 20 62 65 20 | 74 68 65 20 4c 41 53 54 |g to be |the LAST|
|000001e0| 20 73 61 66 65 2d 72 6d | 2f 75 6e 72 6d 2f 77 68 | safe-rm|/unrm/wh|
|000001f0| 61 74 65 76 65 72 20 70 | 6f 73 74 69 6e 67 0a 20 |atever p|osting. |
|00000200| 20 20 49 20 61 70 70 72 | 6f 76 65 2c 20 65 78 63 | I appr|ove, exc|
|00000210| 65 70 74 20 66 6f 72 20 | 70 61 74 63 68 65 73 2e |ept for |patches.|
|00000220| 20 20 2d 2d 72 24 20 20 | 5d 0a 0a 54 68 69 73 20 | --r$ |]..This |
|00000230| 61 72 63 68 69 76 65 73 | 20 63 6f 6e 74 61 69 6e |archives| contain|
|00000240| 73 20 74 68 65 20 73 6f | 75 72 63 65 73 20 66 6f |s the so|urces fo|
|00000250| 72 20 66 69 76 65 20 70 | 72 6f 67 72 61 6d 73 20 |r five p|rograms |
|00000260| 28 77 65 6c 6c 2c 20 61 | 63 74 75 61 6c 6c 79 2c |(well, a|ctually,|
|00000270| 0a 66 6f 75 72 2c 20 73 | 69 6e 63 65 20 6f 6e 65 |.four, s|ince one|
|00000280| 20 69 73 20 61 20 73 79 | 6d 62 6f 6c 69 63 20 6c | is a sy|mbolic l|
|00000290| 69 6e 6b 29 3a 0a 09 64 | 65 6c 65 74 65 0a 09 75 |ink):..d|elete..u|
|000002a0| 6e 64 65 6c 65 74 65 0a | 09 65 78 70 75 6e 67 65 |ndelete.|.expunge|
|000002b0| 0a 09 70 75 72 67 65 0a | 09 6c 73 64 65 6c 0a 0a |..purge.|.lsdel..|
|000002c0| 54 68 65 20 70 72 6f 67 | 72 61 6d 73 20 77 65 72 |The prog|rams wer|
|000002d0| 65 20 77 72 69 74 74 65 | 6e 20 61 74 20 50 72 6f |e writte|n at Pro|
|000002e0| 6a 65 63 74 20 41 74 68 | 65 6e 61 20 69 6e 20 72 |ject Ath|ena in r|
|000002f0| 65 73 70 6f 6e 73 65 20 | 74 6f 20 74 68 65 20 70 |esponse |to the p|
|00000300| 72 6f 62 6c 65 6d 0a 77 | 68 69 63 68 20 6d 61 6e |roblem.w|hich man|
|00000310| 79 20 6e 6f 76 69 63 65 | 20 55 6e 69 78 20 75 73 |y novice| Unix us|
|00000320| 65 72 73 20 68 61 76 65 | 20 77 69 74 68 20 61 63 |ers have| with ac|
|00000330| 63 69 64 65 6e 74 61 6c | 6c 79 20 64 65 6c 65 74 |cidental|ly delet|
|00000340| 69 6e 67 20 66 69 6c 65 | 73 0a 74 68 65 79 20 64 |ing file|s.they d|
|00000350| 69 64 6e 27 74 20 77 61 | 6e 74 20 74 6f 20 64 65 |idn't wa|nt to de|
|00000360| 6c 65 74 65 20 28 48 65 | 6c 6c 2c 20 49 27 76 65 |lete (He|ll, I've|
|00000370| 20 64 6f 6e 65 20 69 74 | 20 3a 2d 29 2e 0a 0a 49 | done it| :-)...I|
|00000380| 20 61 6d 20 61 6c 72 65 | 61 64 79 20 61 77 61 72 | am alre|ady awar|
|00000390| 65 20 6f 66 20 71 75 69 | 74 65 20 61 20 66 65 77 |e of qui|te a few|
|000003a0| 20 69 6d 70 72 6f 76 65 | 6d 65 6e 74 73 20 49 20 | improve|ments I |
|000003b0| 63 6f 75 6c 64 20 6d 61 | 6b 65 20 69 6e 20 74 68 |could ma|ke in th|
|000003c0| 65 0a 63 6f 64 65 20 28 | 49 20 61 6d 20 66 61 69 |e.code (|I am fai|
|000003d0| 72 6c 79 20 63 65 72 74 | 61 69 6e 20 74 68 61 74 |rly cert|ain that|
|000003e0| 20 74 68 65 72 65 20 61 | 72 65 20 62 65 74 74 65 | there a|re bette|
|000003f0| 72 20 72 65 67 65 78 70 | 20 6d 61 74 63 68 69 6e |r regexp| matchin|
|00000400| 67 0a 6c 69 62 72 61 72 | 69 65 73 20 2a 61 6e 64 |g.librar|ies *and|
|00000410| 2a 20 62 65 74 74 65 72 | 20 64 69 72 65 63 74 6f |* better| directo|
|00000420| 72 79 20 73 65 61 72 63 | 68 69 6e 67 20 6c 69 62 |ry searc|hing lib|
|00000430| 72 61 72 69 65 73 20 49 | 20 63 6f 75 6c 64 20 62 |raries I| could b|
|00000440| 65 0a 75 73 69 6e 67 2e | 29 2c 20 61 6e 64 20 49 |e.using.|), and I|
|00000450| 20 77 69 6c 6c 20 62 65 | 20 6d 61 6b 69 6e 67 20 | will be| making |
|00000460| 74 68 65 6d 20 61 73 20 | 73 6f 6f 6e 20 61 73 20 |them as |soon as |
|00000470| 49 20 61 6d 20 64 6f 6e | 65 20 77 69 74 68 20 6d |I am don|e with m|
|00000480| 79 0a 63 75 72 72 65 6e | 74 20 70 72 6f 6a 65 63 |y.curren|t projec|
|00000490| 74 2e 20 20 49 20 77 6f | 75 6c 64 20 61 70 70 72 |t. I wo|uld appr|
|000004a0| 65 63 69 61 74 65 20 68 | 65 61 72 69 6e 67 20 61 |eciate h|earing a|
|000004b0| 6e 79 20 73 75 67 67 65 | 73 74 69 6f 6e 73 20 79 |ny sugge|stions y|
|000004c0| 6f 75 20 6d 61 79 0a 68 | 61 76 65 20 61 6e 64 2f |ou may.h|ave and/|
|000004d0| 6f 72 20 61 63 63 65 70 | 74 69 6e 67 20 61 6e 79 |or accep|ting any|
|000004e0| 20 70 61 74 63 68 65 73 | 20 79 6f 75 20 77 69 73 | patches| you wis|
|000004f0| 68 20 74 6f 20 73 75 62 | 6d 69 74 20 3a 2d 29 0a |h to sub|mit :-).|
|00000500| 0a 23 21 20 2f 62 69 6e | 2f 73 68 0a 23 20 54 68 |.#! /bin|/sh.# Th|
|00000510| 69 73 20 69 73 20 61 20 | 73 68 65 6c 6c 20 61 72 |is is a |shell ar|
|00000520| 63 68 69 76 65 2e 20 20 | 52 65 6d 6f 76 65 20 61 |chive. |Remove a|
|00000530| 6e 79 74 68 69 6e 67 20 | 62 65 66 6f 72 65 20 74 |nything |before t|
|00000540| 68 69 73 20 6c 69 6e 65 | 2c 20 74 68 65 6e 20 75 |his line|, then u|
|00000550| 6e 70 61 63 6b 0a 23 20 | 69 74 20 62 79 20 73 61 |npack.# |it by sa|
|00000560| 76 69 6e 67 20 69 74 20 | 69 6e 74 6f 20 61 20 66 |ving it |into a f|
|00000570| 69 6c 65 20 61 6e 64 20 | 74 79 70 69 6e 67 20 22 |ile and |typing "|
|00000580| 73 68 20 66 69 6c 65 22 | 2e 20 20 54 6f 20 6f 76 |sh file"|. To ov|
|00000590| 65 72 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |erwrite |existing|
|000005a0| 0a 23 20 66 69 6c 65 73 | 2c 20 74 79 70 65 20 22 |.# files|, type "|
|000005b0| 73 68 20 66 69 6c 65 20 | 2d 63 22 2e 20 20 59 6f |sh file |-c". Yo|
|000005c0| 75 20 63 61 6e 20 61 6c | 73 6f 20 66 65 65 64 20 |u can al|so feed |
|000005d0| 74 68 69 73 20 61 73 20 | 73 74 61 6e 64 61 72 64 |this as |standard|
|000005e0| 20 69 6e 70 75 74 20 76 | 69 61 0a 23 20 75 6e 73 | input v|ia.# uns|
|000005f0| 68 61 72 2c 20 6f 72 20 | 62 79 20 74 79 70 69 6e |har, or |by typin|
|00000600| 67 20 22 73 68 20 3c 66 | 69 6c 65 22 2c 20 65 2e |g "sh <f|ile", e.|
|00000610| 67 2e 2e 20 20 49 66 20 | 74 68 69 73 20 61 72 63 |g.. If |this arc|
|00000620| 68 69 76 65 20 69 73 20 | 63 6f 6d 70 6c 65 74 65 |hive is |complete|
|00000630| 2c 20 79 6f 75 0a 23 20 | 77 69 6c 6c 20 73 65 65 |, you.# |will see|
|00000640| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6d | the fol|lowing m|
|00000650| 65 73 73 61 67 65 20 61 | 74 20 74 68 65 20 65 6e |essage a|t the en|
|00000660| 64 3a 0a 23 09 09 22 45 | 6e 64 20 6f 66 20 61 72 |d:.#.."E|nd of ar|
|00000670| 63 68 69 76 65 20 31 20 | 28 6f 66 20 36 29 2e 22 |chive 1 |(of 6)."|
|00000680| 0a 23 20 43 6f 6e 74 65 | 6e 74 73 3a 20 20 4d 41 |.# Conte|nts: MA|
|00000690| 4e 49 46 45 53 54 20 52 | 45 41 44 4d 45 20 63 6f |NIFEST R|EADME co|
|000006a0| 6c 2e 68 20 64 65 6c 65 | 74 65 2e 68 20 64 69 72 |l.h dele|te.h dir|
|000006b0| 65 63 74 6f 72 69 65 73 | 2e 68 20 65 78 70 75 6e |ectories|.h expun|
|000006c0| 67 65 2e 68 0a 23 20 20 | 20 6c 73 64 65 6c 2e 68 |ge.h.# | lsdel.h|
|000006d0| 20 6d 61 6e 31 20 6d 61 | 6e 31 2f 65 78 70 75 6e | man1 ma|n1/expun|
|000006e0| 67 65 2e 31 20 6d 61 6e | 31 2f 6c 73 64 65 6c 2e |ge.1 man|1/lsdel.|
|000006f0| 31 20 6d 61 6e 31 2f 70 | 75 72 67 65 2e 31 0a 23 |1 man1/p|urge.1.#|
|00000700| 20 20 20 6d 61 6e 31 2f | 75 6e 64 65 6c 65 74 65 | man1/|undelete|
|00000710| 2e 31 20 6d 69 74 2d 63 | 6f 70 79 72 69 67 68 74 |.1 mit-c|opyright|
|00000720| 2e 68 20 70 61 74 74 65 | 72 6e 2e 68 20 75 6e 64 |.h patte|rn.h und|
|00000730| 65 6c 65 74 65 2e 68 20 | 75 74 69 6c 2e 68 0a 23 |elete.h |util.h.#|
|00000740| 20 57 72 61 70 70 65 64 | 20 62 79 20 6a 69 6b 40 | Wrapped| by jik@|
|00000750| 70 69 74 2d 6d 61 6e 61 | 67 65 72 20 6f 6e 20 4d |pit-mana|ger on M|
|00000760| 6f 6e 20 4d 61 72 20 32 | 37 20 31 32 3a 31 36 3a |on Mar 2|7 12:16:|
|00000770| 34 34 20 31 39 38 39 0a | 50 41 54 48 3d 2f 62 69 |44 1989.|PATH=/bi|
|00000780| 6e 3a 2f 75 73 72 2f 62 | 69 6e 3a 2f 75 73 72 2f |n:/usr/b|in:/usr/|
|00000790| 75 63 62 20 3b 20 65 78 | 70 6f 72 74 20 50 41 54 |ucb ; ex|port PAT|
|000007a0| 48 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 4d 41 |H.if tes|t -f 'MA|
|000007b0| 4e 49 46 45 53 54 27 20 | 2d 61 20 22 24 7b 31 7d |NIFEST' |-a "${1}|
|000007c0| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|000007d0| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|000007e0| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|000007f0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00000800| 27 4d 41 4e 49 46 45 53 | 54 27 5c 22 0a 65 6c 73 |'MANIFES|T'\".els|
|00000810| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00000820| 72 61 63 74 69 6e 67 20 | 5c 22 27 4d 41 4e 49 46 |racting |\"'MANIF|
|00000830| 45 53 54 27 5c 22 20 5c | 28 39 32 30 20 63 68 61 |EST'\" \|(920 cha|
|00000840| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|00000850| 2f 5e 58 2f 2f 22 20 3e | 27 4d 41 4e 49 46 45 53 |/^X//" >|'MANIFES|
|00000860| 54 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |T' <<'EN|D_OF_FIL|
|00000870| 45 27 0a 58 20 20 20 46 | 69 6c 65 20 4e 61 6d 65 |E'.X F|ile Name|
|00000880| 09 09 41 72 63 68 69 76 | 65 20 23 09 44 65 73 63 |..Archiv|e #.Desc|
|00000890| 72 69 70 74 69 6f 6e 0a | 58 2d 2d 2d 2d 2d 2d 2d |ription.|X-------|
|000008a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008d0| 2d 2d 2d 2d 0a 58 20 4d | 41 4e 49 46 45 53 54 20 |----.X M|ANIFEST |
|000008e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008f0| 20 20 31 09 54 68 69 73 | 20 73 68 69 70 70 69 6e | 1.This| shippin|
|00000900| 67 20 6c 69 73 74 0a 58 | 20 4d 61 6b 65 66 69 6c |g list.X| Makefil|
|00000910| 65 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e | |
|00000920| 20 20 20 20 32 09 0a 58 | 20 52 45 41 44 4d 45 20 | 2..X| README |
|00000930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000940| 20 20 20 20 31 09 0a 58 | 20 63 6f 6c 2e 63 20 20 | 1..X| col.c |
|00000950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000960| 20 20 20 20 32 09 0a 58 | 20 63 6f 6c 2e 68 20 20 | 2..X| col.h |
|00000970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000980| 20 20 20 20 31 09 0a 58 | 20 64 65 6c 65 74 65 2e | 1..X| delete.|
|00000990| 63 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |c | |
|000009a0| 20 20 20 20 33 09 0a 58 | 20 64 65 6c 65 74 65 2e | 3..X| delete.|
|000009b0| 68 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h | |
|000009c0| 20 20 20 20 31 09 0a 58 | 20 64 69 72 65 63 74 6f | 1..X| directo|
|000009d0| 72 69 65 73 2e 63 20 20 | 20 20 20 20 20 20 20 20 |ries.c | |
|000009e0| 20 20 20 20 36 09 0a 58 | 20 64 69 72 65 63 74 6f | 6..X| directo|
|000009f0| 72 69 65 73 2e 68 20 20 | 20 20 20 20 20 20 20 20 |ries.h | |
|00000a00| 20 20 20 20 31 09 0a 58 | 20 65 78 70 75 6e 67 65 | 1..X| expunge|
|00000a10| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000a20| 20 20 20 20 34 09 0a 58 | 20 65 78 70 75 6e 67 65 | 4..X| expunge|
|00000a30| 2e 68 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.h | |
|00000a40| 20 20 20 20 31 09 0a 58 | 20 6c 73 64 65 6c 2e 63 | 1..X| lsdel.c|
|00000a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a60| 20 20 20 20 33 09 0a 58 | 20 6c 73 64 65 6c 2e 68 | 3..X| lsdel.h|
|00000a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a80| 20 20 20 20 31 09 0a 58 | 20 6d 61 6e 31 20 20 20 | 1..X| man1 |
|00000a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000aa0| 20 20 20 20 31 09 0a 58 | 20 6d 61 6e 31 2f 64 65 | 1..X| man1/de|
|00000ab0| 6c 65 74 65 2e 31 20 20 | 20 20 20 20 20 20 20 20 |lete.1 | |
|00000ac0| 20 20 20 20 32 09 0a 58 | 20 6d 61 6e 31 2f 65 78 | 2..X| man1/ex|
|00000ad0| 70 75 6e 67 65 2e 31 20 | 20 20 20 20 20 20 20 20 |punge.1 | |
|00000ae0| 20 20 20 20 31 09 0a 58 | 20 6d 61 6e 31 2f 6c 73 | 1..X| man1/ls|
|00000af0| 64 65 6c 2e 31 20 20 20 | 20 20 20 20 20 20 20 20 |del.1 | |
|00000b00| 20 20 20 20 31 09 0a 58 | 20 6d 61 6e 31 2f 70 75 | 1..X| man1/pu|
|00000b10| 72 67 65 2e 31 20 20 20 | 20 20 20 20 20 20 20 20 |rge.1 | |
|00000b20| 20 20 20 20 31 09 0a 58 | 20 6d 61 6e 31 2f 75 6e | 1..X| man1/un|
|00000b30| 64 65 6c 65 74 65 2e 31 | 20 20 20 20 20 20 20 20 |delete.1| |
|00000b40| 20 20 20 20 31 09 0a 58 | 20 6d 69 74 2d 63 6f 70 | 1..X| mit-cop|
|00000b50| 79 72 69 67 68 74 2e 68 | 20 20 20 20 20 20 20 20 |yright.h| |
|00000b60| 20 20 20 20 31 09 0a 58 | 20 70 61 74 74 65 72 6e | 1..X| pattern|
|00000b70| 2e 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.c | |
|00000b80| 20 20 20 20 34 09 0a 58 | 20 70 61 74 74 65 72 6e | 4..X| pattern|
|00000b90| 2e 68 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.h | |
|00000ba0| 20 20 20 20 31 09 0a 58 | 20 75 6e 64 65 6c 65 74 | 1..X| undelet|
|00000bb0| 65 2e 63 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e.c | |
|00000bc0| 20 20 20 20 35 09 0a 58 | 20 75 6e 64 65 6c 65 74 | 5..X| undelet|
|00000bd0| 65 2e 68 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e.h | |
|00000be0| 20 20 20 20 31 09 0a 58 | 20 75 74 69 6c 2e 63 20 | 1..X| util.c |
|00000bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c00| 20 20 20 20 32 09 0a 58 | 20 75 74 69 6c 2e 68 20 | 2..X| util.h |
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c20| 20 20 20 20 31 09 0a 45 | 4e 44 5f 4f 46 5f 46 49 | 1..E|ND_OF_FI|
|00000c30| 4c 45 0a 69 66 20 74 65 | 73 74 20 39 32 30 20 2d |LE.if te|st 920 -|
|00000c40| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 4d 41 4e 49 |ne `wc -|c <'MANI|
|00000c50| 46 45 53 54 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |FEST'`; |then. |
|00000c60| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 4d | echo sh|ar: \"'M|
|00000c70| 41 4e 49 46 45 53 54 27 | 5c 22 20 75 6e 70 61 63 |ANIFEST'|\" unpac|
|00000c80| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00000c90| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00000ca0| 20 27 4d 41 4e 49 46 45 | 53 54 27 0a 66 69 0a 69 | 'MANIFE|ST'.fi.i|
|00000cb0| 66 20 74 65 73 74 20 2d | 66 20 27 52 45 41 44 4d |f test -|f 'READM|
|00000cc0| 45 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |E' -a "$|{1}" != |
|00000cd0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00000ce0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00000cf0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00000d00| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 52 45 41 44 |ing file| \"'READ|
|00000d10| 4d 45 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |ME'\".el|se.echo |
|00000d20| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00000d30| 20 5c 22 27 52 45 41 44 | 4d 45 27 5c 22 20 5c 28 | \"'READ|ME'\" \(|
|00000d40| 31 34 36 33 20 63 68 61 | 72 61 63 74 65 72 73 5c |1463 cha|racters\|
|00000d50| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00000d60| 27 52 45 41 44 4d 45 27 | 20 3c 3c 27 45 4e 44 5f |'README'| <<'END_|
|00000d70| 4f 46 5f 46 49 4c 45 27 | 0a 58 54 68 69 73 20 61 |OF_FILE'|.XThis a|
|00000d80| 72 63 68 69 76 65 73 20 | 63 6f 6e 74 61 69 6e 73 |rchives |contains|
|00000d90| 20 74 68 65 20 73 6f 75 | 72 63 65 73 20 66 6f 72 | the sou|rces for|
|00000da0| 20 66 69 76 65 20 70 72 | 6f 67 72 61 6d 73 20 28 | five pr|ograms (|
|00000db0| 77 65 6c 6c 2c 20 61 63 | 74 75 61 6c 6c 79 2c 0a |well, ac|tually,.|
|00000dc0| 58 66 6f 75 72 2c 20 73 | 69 6e 63 65 20 6f 6e 65 |Xfour, s|ince one|
|00000dd0| 20 69 73 20 61 20 73 79 | 6d 62 6f 6c 69 63 20 6c | is a sy|mbolic l|
|00000de0| 69 6e 6b 29 3a 0a 58 0a | 58 09 64 65 6c 65 74 65 |ink):.X.|X.delete|
|00000df0| 0a 58 09 75 6e 64 65 6c | 65 74 65 0a 58 09 65 78 |.X.undel|ete.X.ex|
|00000e00| 70 75 6e 67 65 0a 58 09 | 70 75 72 67 65 0a 58 09 |punge.X.|purge.X.|
|00000e10| 6c 73 64 65 6c 0a 58 0a | 58 54 68 65 20 70 72 6f |lsdel.X.|XThe pro|
|00000e20| 67 72 61 6d 73 20 77 65 | 72 65 20 77 72 69 74 74 |grams we|re writt|
|00000e30| 65 6e 20 61 74 20 50 72 | 6f 6a 65 63 74 20 41 74 |en at Pr|oject At|
|00000e40| 68 65 6e 61 20 69 6e 20 | 72 65 73 70 6f 6e 73 65 |hena in |response|
|00000e50| 20 74 6f 20 74 68 65 20 | 70 72 6f 62 6c 65 6d 0a | to the |problem.|
|00000e60| 58 77 68 69 63 68 20 6d | 61 6e 79 20 6e 6f 76 69 |Xwhich m|any novi|
|00000e70| 63 65 20 55 6e 69 78 20 | 75 73 65 72 73 20 68 61 |ce Unix |users ha|
|00000e80| 76 65 20 77 69 74 68 20 | 61 63 63 69 64 65 6e 74 |ve with |accident|
|00000e90| 61 6c 6c 79 20 64 65 6c | 65 74 69 6e 67 20 66 69 |ally del|eting fi|
|00000ea0| 6c 65 73 0a 58 74 68 65 | 79 20 64 69 64 6e 27 74 |les.Xthe|y didn't|
|00000eb0| 20 77 61 6e 74 20 74 6f | 20 64 65 6c 65 74 65 20 | want to| delete |
|00000ec0| 28 48 65 6c 6c 2c 20 49 | 27 76 65 20 64 6f 6e 65 |(Hell, I|'ve done|
|00000ed0| 20 69 74 20 3a 2d 29 2e | 0a 58 0a 58 49 20 61 6d | it :-).|.X.XI am|
|00000ee0| 20 61 6c 72 65 61 64 79 | 20 61 77 61 72 65 20 6f | already| aware o|
|00000ef0| 66 20 71 75 69 74 65 20 | 61 20 66 65 77 20 69 6d |f quite |a few im|
|00000f00| 70 72 6f 76 65 6d 65 6e | 74 73 20 49 20 63 6f 75 |provemen|ts I cou|
|00000f10| 6c 64 20 6d 61 6b 65 20 | 69 6e 20 74 68 65 0a 58 |ld make |in the.X|
|00000f20| 63 6f 64 65 20 28 49 20 | 61 6d 20 66 61 69 72 6c |code (I |am fairl|
|00000f30| 79 20 63 65 72 74 61 69 | 6e 20 74 68 61 74 20 74 |y certai|n that t|
|00000f40| 68 65 72 65 20 61 72 65 | 20 62 65 74 74 65 72 20 |here are| better |
|00000f50| 72 65 67 65 78 70 20 6d | 61 74 63 68 69 6e 67 0a |regexp m|atching.|
|00000f60| 58 6c 69 62 72 61 72 69 | 65 73 20 2a 61 6e 64 2a |Xlibrari|es *and*|
|00000f70| 20 62 65 74 74 65 72 20 | 64 69 72 65 63 74 6f 72 | better |director|
|00000f80| 79 20 73 65 61 72 63 68 | 69 6e 67 20 6c 69 62 72 |y search|ing libr|
|00000f90| 61 72 69 65 73 20 49 20 | 63 6f 75 6c 64 20 62 65 |aries I |could be|
|00000fa0| 0a 58 75 73 69 6e 67 2e | 29 2c 20 61 6e 64 20 49 |.Xusing.|), and I|
|00000fb0| 20 77 69 6c 6c 20 62 65 | 20 6d 61 6b 69 6e 67 20 | will be| making |
|00000fc0| 74 68 65 6d 20 61 73 20 | 73 6f 6f 6e 20 61 73 20 |them as |soon as |
|00000fd0| 49 20 61 6d 20 64 6f 6e | 65 20 77 69 74 68 20 6d |I am don|e with m|
|00000fe0| 79 0a 58 63 75 72 72 65 | 6e 74 20 70 72 6f 6a 65 |y.Xcurre|nt proje|
|00000ff0| 63 74 2e 20 20 49 20 77 | 6f 75 6c 64 20 61 70 70 |ct. I w|ould app|
|00001000| 72 65 63 69 61 74 65 20 | 68 65 61 72 69 6e 67 20 |reciate |hearing |
|00001010| 61 6e 79 20 73 75 67 67 | 65 73 74 69 6f 6e 73 20 |any sugg|estions |
|00001020| 79 6f 75 20 6d 61 79 0a | 58 68 61 76 65 20 61 6e |you may.|Xhave an|
|00001030| 64 2f 6f 72 20 61 63 63 | 65 70 74 69 6e 67 20 61 |d/or acc|epting a|
|00001040| 6e 79 20 70 61 74 63 68 | 65 73 20 79 6f 75 20 77 |ny patch|es you w|
|00001050| 69 73 68 20 74 6f 20 73 | 75 62 6d 69 74 20 3a 2d |ish to s|ubmit :-|
|00001060| 29 0a 58 0a 58 49 27 76 | 65 20 6f 6e 6c 79 20 63 |).X.XI'v|e only c|
|00001070| 6f 6d 70 69 6c 65 64 20 | 74 68 65 73 65 20 75 6e |ompiled |these un|
|00001080| 64 65 72 20 34 2e 33 42 | 53 44 20 6f 6e 20 56 41 |der 4.3B|SD on VA|
|00001090| 58 65 6e 20 61 6e 64 20 | 49 42 4d 20 52 54 2f 50 |Xen and |IBM RT/P|
|000010a0| 43 27 73 2c 20 61 73 0a | 58 77 65 6c 6c 20 61 73 |C's, as.|Xwell as|
|000010b0| 20 6f 6e 20 4d 61 63 68 | 20 6f 6e 20 74 68 65 20 | on Mach| on the |
|000010c0| 4e 65 58 54 20 4d 61 63 | 68 69 6e 65 2c 20 62 75 |NeXT Mac|hine, bu|
|000010d0| 74 20 49 20 61 73 73 75 | 6d 65 20 74 68 65 79 20 |t I assu|me they |
|000010e0| 73 68 6f 75 6c 64 20 63 | 6f 6d 70 69 6c 65 0a 58 |should c|ompile.X|
|000010f0| 77 69 74 68 20 6d 69 6e | 69 6d 61 6c 20 74 72 6f |with min|imal tro|
|00001100| 75 62 6c 65 20 6f 6e 20 | 6f 74 68 65 72 20 61 72 |uble on |other ar|
|00001110| 63 68 69 74 65 63 74 75 | 72 65 73 20 28 64 6f 65 |chitectu|res (doe|
|00001120| 73 20 53 79 73 56 20 68 | 61 76 65 20 74 68 65 0a |s SysV h|ave the.|
|00001130| 58 72 65 5f 63 6f 6d 70 | 20 61 6e 64 20 72 65 5f |Xre_comp| and re_|
|00001140| 65 78 65 63 20 70 72 6f | 63 65 64 75 72 65 73 20 |exec pro|cedures |
|00001150| 66 6f 72 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 |for regu|lar expr|
|00001160| 65 73 73 69 6f 6e 20 6d | 61 74 63 68 69 6e 67 3f |ession m|atching?|
|00001170| 29 2e 0a 58 0a 58 49 66 | 20 79 6f 75 20 6d 61 6b |)..X.XIf| you mak|
|00001180| 65 20 69 74 20 63 6f 6d | 70 69 6c 65 20 6f 6e 20 |e it com|pile on |
|00001190| 61 6e 6f 74 68 65 72 20 | 70 6c 61 74 66 6f 72 6d |another |platform|
|000011a0| 20 61 6e 64 20 79 6f 75 | 20 68 61 76 65 20 74 6f | and you| have to|
|000011b0| 20 6d 61 6b 65 0a 58 63 | 68 61 6e 67 65 73 2c 20 | make.Xc|hanges, |
|000011c0| 70 6c 65 61 73 65 20 73 | 65 6e 64 20 6d 65 20 70 |please s|end me p|
|000011d0| 61 74 63 68 65 73 2e 0a | 58 0a 58 4d 79 20 61 64 |atches..|X.XMy ad|
|000011e0| 64 72 65 73 73 3a 0a 58 | 0a 58 4a 6f 6e 61 74 68 |dress:.X|.XJonath|
|000011f0| 61 6e 20 4b 61 6d 65 6e | 73 09 09 09 20 20 20 20 |an Kamen|s... |
|00001200| 20 20 20 20 20 20 20 20 | 20 20 55 53 6e 61 69 6c | | USnail|
|00001210| 3a 0a 58 4d 49 54 20 50 | 72 6f 6a 65 63 74 20 41 |:.XMIT P|roject A|
|00001220| 74 68 65 6e 61 09 09 09 | 09 34 31 30 20 4d 65 6d |thena...|.410 Mem|
|00001230| 6f 72 69 61 6c 20 44 72 | 69 76 65 2c 20 4e 6f 2e |orial Dr|ive, No.|
|00001240| 20 32 32 33 46 0a 58 6a | 69 6b 40 41 74 68 65 6e | 223F.Xj|ik@Athen|
|00001250| 61 2e 4d 49 54 2e 45 44 | 55 09 09 09 09 43 61 6d |a.MIT.ED|U....Cam|
|00001260| 62 72 69 64 67 65 2c 20 | 4d 41 20 30 32 31 33 39 |bridge, |MA 02139|
|00001270| 2d 34 33 31 38 0a 58 4f | 66 66 69 63 65 3a 20 36 |-4318.XO|ffice: 6|
|00001280| 31 37 2d 32 35 33 2d 34 | 32 36 31 09 09 09 20 20 |17-253-4|261... |
|00001290| 20 20 20 20 48 6f 6d 65 | 3a 20 36 31 37 2d 32 32 | Home|: 617-22|
|000012a0| 35 2d 38 32 31 38 0a 58 | 0a 58 50 2e 53 2e 20 50 |5-8218.X|.XP.S. P|
|000012b0| 6c 65 61 73 65 20 73 65 | 65 20 74 68 65 20 66 69 |lease se|e the fi|
|000012c0| 6c 65 20 22 6d 69 74 2d | 63 6f 70 79 72 69 67 68 |le "mit-|copyrigh|
|000012d0| 74 2e 68 22 20 66 6f 72 | 20 63 6f 70 79 69 6e 67 |t.h" for| copying|
|000012e0| 20 61 6e 64 0a 58 72 65 | 64 69 73 74 72 69 62 75 | and.Xre|distribu|
|000012f0| 74 69 6f 6e 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |tion inf|ormation|
|00001300| 2e 20 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 38 |. Copyr|ight 198|
|00001310| 39 20 4d 61 73 73 61 63 | 68 75 73 65 74 74 73 20 |9 Massac|husetts |
|00001320| 49 6e 73 74 69 74 75 74 | 65 20 6f 66 0a 58 54 65 |Institut|e of.XTe|
|00001330| 63 68 6e 6f 6c 6f 67 79 | 2e 20 20 41 6c 6c 20 52 |chnology|. All R|
|00001340| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 2e 20 |ights Re|served. |
|00001350| 20 45 74 63 2e 0a 45 4e | 44 5f 4f 46 5f 46 49 4c | Etc..EN|D_OF_FIL|
|00001360| 45 0a 69 66 20 74 65 73 | 74 20 31 34 36 33 20 2d |E.if tes|t 1463 -|
|00001370| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 52 45 41 44 |ne `wc -|c <'READ|
|00001380| 4d 45 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |ME'`; th|en. e|
|00001390| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 52 45 41 |cho shar|: \"'REA|
|000013a0| 44 4d 45 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |DME'\" u|npacked |
|000013b0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|000013c0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 52 45 |.fi.# en|d of 'RE|
|000013d0| 41 44 4d 45 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |ADME'.fi|.if test|
|000013e0| 20 2d 66 20 27 63 6f 6c | 2e 68 27 20 2d 61 20 22 | -f 'col|.h' -a "|
|000013f0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00001400| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00001410| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00001420| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00001430| 65 20 5c 22 27 63 6f 6c | 2e 68 27 5c 22 0a 65 6c |e \"'col|.h'\".el|
|00001440| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00001450| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 63 6f 6c 2e |tracting| \"'col.|
|00001460| 68 27 5c 22 20 5c 28 31 | 34 38 35 20 63 68 61 72 |h'\" \(1|485 char|
|00001470| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00001480| 5e 58 2f 2f 22 20 3e 27 | 63 6f 6c 2e 68 27 20 3c |^X//" >'|col.h' <|
|00001490| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|000014a0| 2f 2a 0a 58 20 2a 20 24 | 53 6f 75 72 63 65 3a 20 |/*.X * $|Source: |
|000014b0| 2f 6d 69 74 2f 6a 69 6b | 2f 73 72 63 2f 64 65 6c |/mit/jik|/src/del|
|000014c0| 65 74 65 2f 52 43 53 2f | 63 6f 6c 2e 68 2c 76 20 |ete/RCS/|col.h,v |
|000014d0| 24 0a 58 20 2a 20 24 41 | 75 74 68 6f 72 3a 20 6a |$.X * $A|uthor: j|
|000014e0| 69 6b 20 24 0a 58 20 2a | 0a 58 20 2a 20 54 68 69 |ik $.X *|.X * Thi|
|000014f0| 73 20 68 65 61 64 65 72 | 20 66 69 6c 65 20 69 73 |s header| file is|
|00001500| 20 70 61 72 74 20 6f 66 | 20 61 20 70 61 63 6b 61 | part of| a packa|
|00001510| 67 65 20 69 6e 63 6c 75 | 64 69 6e 67 20 64 65 6c |ge inclu|ding del|
|00001520| 65 74 65 2c 20 75 6e 64 | 65 6c 65 74 65 2c 0a 58 |ete, und|elete,.X|
|00001530| 20 2a 20 6c 73 64 65 6c | 2c 20 65 78 70 75 6e 67 | * lsdel|, expung|
|00001540| 65 20 61 6e 64 20 70 75 | 72 67 65 2e 20 20 54 68 |e and pu|rge. Th|
|00001550| 65 20 73 6f 66 74 77 61 | 72 65 20 73 75 69 74 65 |e softwa|re suite|
|00001560| 20 69 73 20 6d 65 61 6e | 74 20 61 73 20 61 0a 58 | is mean|t as a.X|
|00001570| 20 2a 20 72 65 70 6c 61 | 63 65 6d 65 6e 74 20 66 | * repla|cement f|
|00001580| 6f 72 20 72 6d 20 77 68 | 69 63 68 20 61 6c 6c 6f |or rm wh|ich allo|
|00001590| 77 73 20 66 6f 72 20 66 | 69 6c 65 20 72 65 63 6f |ws for f|ile reco|
|000015a0| 76 65 72 79 2e 0a 58 20 | 2a 20 0a 58 20 2a 20 43 |very..X |* .X * C|
|000015b0| 6f 70 79 72 69 67 68 74 | 20 28 63 29 20 31 39 38 |opyright| (c) 198|
|000015c0| 39 20 62 79 20 74 68 65 | 20 4d 61 73 73 61 63 68 |9 by the| Massach|
|000015d0| 75 73 65 74 74 73 20 49 | 6e 73 74 69 74 75 74 65 |usetts I|nstitute|
|000015e0| 20 6f 66 20 54 65 63 68 | 6e 6f 6c 6f 67 79 2e 0a | of Tech|nology..|
|000015f0| 58 20 2a 20 46 6f 72 20 | 63 6f 70 79 69 6e 67 20 |X * For |copying |
|00001600| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |and dist|ribution|
|00001610| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2c 20 73 65 | informa|tion, se|
|00001620| 65 20 74 68 65 20 66 69 | 6c 65 20 22 6d 69 74 2d |e the fi|le "mit-|
|00001630| 63 6f 70 79 72 69 67 68 | 74 2e 68 2e 22 0a 58 20 |copyrigh|t.h.".X |
|00001640| 2a 2f 0a 58 23 69 6e 63 | 6c 75 64 65 20 22 6d 69 |*/.X#inc|lude "mi|
|00001650| 74 2d 63 6f 70 79 72 69 | 67 68 74 2e 68 22 0a 58 |t-copyri|ght.h".X|
|00001660| 0a 58 2f 2a 0a 58 20 2a | 20 44 45 46 5f 43 4f 4c |.X/*.X *| DEF_COL|
|00001670| 5f 57 49 44 54 48 3a 20 | 74 68 65 20 63 6f 6c 75 |_WIDTH: |the colu|
|00001680| 6d 6e 20 77 69 74 68 20 | 74 6f 20 74 72 79 20 74 |mn with |to try t|
|00001690| 6f 20 75 73 65 20 69 66 | 20 6e 6f 6e 65 20 69 73 |o use if| none is|
|000016a0| 20 73 70 65 63 69 66 69 | 65 64 2e 0a 58 20 2a 20 | specifi|ed..X * |
|000016b0| 44 45 46 5f 57 41 49 54 | 3a 20 31 20 69 66 20 74 |DEF_WAIT|: 1 if t|
|000016c0| 68 65 20 70 72 6f 67 72 | 61 6d 20 69 73 20 73 75 |he progr|am is su|
|000016d0| 70 70 6f 73 65 64 20 74 | 6f 20 77 61 69 74 20 66 |pposed t|o wait f|
|000016e0| 6f 72 20 73 74 64 69 6e | 20 74 6f 20 67 65 74 20 |or stdin| to get |
|000016f0| 74 6f 0a 58 20 2a 20 20 | 20 20 20 20 20 20 20 20 |to.X * | |
|00001700| 20 65 6e 64 2d 6f 66 2d | 66 69 6c 65 20 61 6e 64 | end-of-|file and|
|00001710| 20 74 68 65 6e 20 70 72 | 69 6e 74 20 6f 75 74 20 | then pr|int out |
|00001720| 65 76 65 72 79 74 68 69 | 6e 67 20 69 6e 20 6f 72 |everythi|ng in or|
|00001730| 64 65 72 20 69 6e 0a 58 | 20 2a 20 20 20 20 20 20 |der in.X| * |
|00001740| 20 20 20 20 20 63 6f 6c | 75 6d 6e 73 20 62 79 20 | col|umns by |
|00001750| 64 65 66 61 75 6c 74 2e | 20 20 49 66 20 74 68 69 |default.| If thi|
|00001760| 73 20 69 73 20 30 2c 20 | 74 68 65 6e 20 74 68 65 |s is 0, |then the|
|00001770| 20 64 65 66 61 75 6c 74 | 20 69 73 0a 58 20 2a 20 | default| is.X * |
|00001780| 20 20 20 20 20 20 20 20 | 20 20 66 6f 72 20 74 68 | | for th|
|00001790| 65 20 70 72 6f 67 72 61 | 6d 20 74 6f 20 70 72 69 |e progra|m to pri|
|000017a0| 6e 74 20 61 63 72 6f 73 | 73 20 69 6e 73 74 65 61 |nt acros|s instea|
|000017b0| 64 20 6f 66 20 64 6f 77 | 6e 20 61 6e 64 20 74 6f |d of dow|n and to|
|000017c0| 0a 58 20 2a 20 20 20 20 | 20 20 20 20 20 20 20 70 |.X * | p|
|000017d0| 72 69 6e 74 20 61 73 20 | 69 74 20 72 65 63 65 69 |rint as |it recei|
|000017e0| 76 65 73 20 69 6e 70 75 | 74 20 66 72 6f 6d 20 73 |ves inpu|t from s|
|000017f0| 74 64 69 6e 2e 0a 58 20 | 2a 20 44 45 46 5f 56 41 |tdin..X |* DEF_VA|
|00001800| 52 5f 43 4f 4c 53 3a 20 | 69 66 20 31 2c 20 75 73 |R_COLS: |if 1, us|
|00001810| 65 20 76 61 72 69 61 62 | 6c 65 2d 77 69 64 74 68 |e variab|le-width|
|00001820| 20 63 6f 6c 75 6d 6e 73 | 20 62 61 73 65 64 20 6f | columns| based o|
|00001830| 6e 20 74 65 78 74 20 77 | 69 64 74 68 2e 0a 58 20 |n text w|idth..X |
|00001840| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |* | |
|00001850| 69 66 20 31 2c 20 44 45 | 46 5f 57 41 49 54 20 6d |if 1, DE|F_WAIT m|
|00001860| 75 73 74 20 62 65 20 74 | 72 75 65 2e 0a 58 20 2a |ust be t|rue..X *|
|00001870| 20 44 45 46 5f 53 43 52 | 5f 57 49 44 54 48 3a 20 | DEF_SCR|_WIDTH: |
|00001880| 64 65 66 61 75 6c 74 20 | 73 63 72 65 65 6e 20 77 |default |screen w|
|00001890| 69 64 74 68 0a 58 20 2a | 20 44 45 46 5f 4e 55 4d |idth.X *| DEF_NUM|
|000018a0| 5f 49 54 45 4d 53 3a 20 | 69 66 20 31 2c 20 6e 75 |_ITEMS: |if 1, nu|
|000018b0| 6d 62 65 72 20 65 61 63 | 68 20 69 74 65 6d 0a 58 |mber eac|h item.X|
|000018c0| 20 2a 20 44 45 46 5f 4d | 41 52 47 49 4e 3a 20 74 | * DEF_M|ARGIN: t|
|000018d0| 68 65 20 64 65 66 61 75 | 6c 74 20 6d 61 72 67 69 |he defau|lt margi|
|000018e0| 6e 20 69 6e 20 62 65 74 | 77 65 65 6e 20 63 6f 6c |n in bet|ween col|
|000018f0| 75 6d 6e 73 20 6f 66 20 | 74 65 78 74 0a 58 20 2a |umns of |text.X *|
|00001900| 2f 20 0a 58 23 64 65 66 | 69 6e 65 20 44 45 46 5f |/ .X#def|ine DEF_|
|00001910| 43 4f 4c 5f 57 49 44 54 | 48 20 32 30 0a 58 23 64 |COL_WIDT|H 20.X#d|
|00001920| 65 66 69 6e 65 20 44 45 | 46 5f 57 41 49 54 20 31 |efine DE|F_WAIT 1|
|00001930| 0a 58 23 64 65 66 69 6e | 65 20 44 45 46 5f 56 41 |.X#defin|e DEF_VA|
|00001940| 52 5f 43 4f 4c 53 20 31 | 0a 58 23 64 65 66 69 6e |R_COLS 1|.X#defin|
|00001950| 65 20 44 45 46 5f 53 43 | 52 5f 57 49 44 54 48 20 |e DEF_SC|R_WIDTH |
|00001960| 38 30 0a 58 23 64 65 66 | 69 6e 65 20 44 45 46 5f |80.X#def|ine DEF_|
|00001970| 4e 55 4d 5f 49 54 45 4d | 53 20 31 0a 58 23 64 65 |NUM_ITEM|S 1.X#de|
|00001980| 66 69 6e 65 20 44 45 46 | 5f 4d 41 52 47 49 4e 20 |fine DEF|_MARGIN |
|00001990| 32 0a 58 20 2f 2a 20 54 | 68 69 73 20 69 73 20 75 |2.X /* T|his is u|
|000019a0| 73 65 64 20 66 6f 72 20 | 77 68 65 6e 20 77 65 20 |sed for |when we |
|000019b0| 6e 65 65 64 20 61 20 67 | 75 65 73 73 20 61 73 20 |need a g|uess as |
|000019c0| 74 6f 20 68 6f 77 20 6c | 6f 6e 67 20 61 20 6e 75 |to how l|ong a nu|
|000019d0| 6d 62 65 72 20 77 69 6c | 6c 20 2a 2f 0a 58 20 2f |mber wil|l */.X /|
|000019e0| 2a 20 62 65 20 77 68 65 | 6e 20 70 72 69 6e 74 65 |* be whe|n printe|
|000019f0| 64 2e 20 20 41 6c 73 6f | 2c 20 69 66 20 77 65 20 |d. Also|, if we |
|00001a00| 61 72 65 20 73 75 70 70 | 6f 73 65 64 20 74 6f 20 |are supp|osed to |
|00001a10| 77 6f 72 6b 20 69 6e 20 | 77 61 69 74 20 6d 6f 64 |work in |wait mod|
|00001a20| 65 20 20 20 20 2a 2f 0a | 58 20 2f 2a 20 61 6e 64 |e */.|X /* and|
|00001a30| 20 61 72 65 20 6e 6f 74 | 20 67 69 76 65 6e 20 61 | are not| given a|
|00001a40| 20 6d 61 78 69 74 65 6d | 73 20 76 61 6c 75 65 2c | maxitem|s value,|
|00001a50| 20 74 68 69 73 20 69 73 | 20 77 68 61 74 20 69 73 | this is| what is|
|00001a60| 20 75 73 65 64 2e 20 20 | 20 20 20 20 20 20 20 20 | used. | |
|00001a70| 2a 2f 0a 58 23 64 65 66 | 69 6e 65 20 44 45 46 5f |*/.X#def|ine DEF_|
|00001a80| 4d 41 58 5f 49 54 45 4d | 53 20 31 30 30 30 30 0a |MAX_ITEM|S 10000.|
|00001a90| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00001aa0| 65 73 74 20 31 34 38 35 | 20 2d 6e 65 20 60 77 63 |est 1485| -ne `wc|
|00001ab0| 20 2d 63 20 3c 27 63 6f | 6c 2e 68 27 60 3b 20 74 | -c <'co|l.h'`; t|
|00001ac0| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00001ad0| 72 3a 20 5c 22 27 63 6f | 6c 2e 68 27 5c 22 20 75 |r: \"'co|l.h'\" u|
|00001ae0| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00001af0| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00001b00| 64 20 6f 66 20 27 63 6f | 6c 2e 68 27 0a 66 69 0a |d of 'co|l.h'.fi.|
|00001b10| 69 66 20 74 65 73 74 20 | 2d 66 20 27 64 65 6c 65 |if test |-f 'dele|
|00001b20| 74 65 2e 68 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |te.h' -a| "${1}" |
|00001b30| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00001b40| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00001b50| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00001b60| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 64 |isting f|ile \"'d|
|00001b70| 65 6c 65 74 65 2e 68 27 | 5c 22 0a 65 6c 73 65 0a |elete.h'|\".else.|
|00001b80| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00001b90| 63 74 69 6e 67 20 5c 22 | 27 64 65 6c 65 74 65 2e |cting \"|'delete.|
|00001ba0| 68 27 5c 22 20 5c 28 35 | 33 36 20 63 68 61 72 61 |h'\" \(5|36 chara|
|00001bb0| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00001bc0| 58 2f 2f 22 20 3e 27 64 | 65 6c 65 74 65 2e 68 27 |X//" >'d|elete.h'|
|00001bd0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00001be0| 0a 58 2f 2a 0a 58 20 2a | 20 24 53 6f 75 72 63 65 |.X/*.X *| $Source|
|00001bf0| 3a 20 2f 6d 69 74 2f 6a | 69 6b 2f 73 72 63 2f 64 |: /mit/j|ik/src/d|
|00001c00| 65 6c 65 74 65 2f 52 43 | 53 2f 64 65 6c 65 74 65 |elete/RC|S/delete|
|00001c10| 2e 68 2c 76 20 24 0a 58 | 20 2a 20 24 41 75 74 68 |.h,v $.X| * $Auth|
|00001c20| 6f 72 3a 20 6a 69 6b 20 | 24 0a 58 20 2a 20 24 48 |or: jik |$.X * $H|
|00001c30| 65 61 64 65 72 3a 20 64 | 65 6c 65 74 65 2e 68 2c |eader: d|elete.h,|
|00001c40| 76 20 31 2e 33 20 38 39 | 2f 30 33 2f 32 37 20 31 |v 1.3 89|/03/27 1|
|00001c50| 32 3a 30 36 3a 31 31 20 | 6a 69 6b 20 45 78 70 20 |2:06:11 |jik Exp |
|00001c60| 24 0a 58 20 2a 20 0a 58 | 20 2a 20 54 68 69 73 20 |$.X * .X| * This |
|00001c70| 66 69 6c 65 20 69 73 20 | 70 61 72 74 20 6f 66 20 |file is |part of |
|00001c80| 61 20 70 61 63 6b 61 67 | 65 20 69 6e 63 6c 75 64 |a packag|e includ|
|00001c90| 69 6e 67 20 64 65 6c 65 | 74 65 2c 20 75 6e 64 65 |ing dele|te, unde|
|00001ca0| 6c 65 74 65 2c 0a 58 20 | 2a 20 6c 73 64 65 6c 2c |lete,.X |* lsdel,|
|00001cb0| 20 65 78 70 75 6e 67 65 | 20 61 6e 64 20 70 75 72 | expunge| and pur|
|00001cc0| 67 65 2e 20 20 54 68 65 | 20 73 6f 66 74 77 61 72 |ge. The| softwar|
|00001cd0| 65 20 73 75 69 74 65 20 | 69 73 20 6d 65 61 6e 74 |e suite |is meant|
|00001ce0| 20 61 73 20 61 0a 58 20 | 2a 20 72 65 70 6c 61 63 | as a.X |* replac|
|00001cf0| 65 6d 65 6e 74 20 66 6f | 72 20 72 6d 20 77 68 69 |ement fo|r rm whi|
|00001d00| 63 68 20 61 6c 6c 6f 77 | 73 20 66 6f 72 20 66 69 |ch allow|s for fi|
|00001d10| 6c 65 20 72 65 63 6f 76 | 65 72 79 2e 0a 58 20 2a |le recov|ery..X *|
|00001d20| 20 0a 58 20 2a 20 43 6f | 70 79 72 69 67 68 74 20 | .X * Co|pyright |
|00001d30| 28 63 29 20 31 39 38 39 | 20 62 79 20 74 68 65 20 |(c) 1989| by the |
|00001d40| 4d 61 73 73 61 63 68 75 | 73 65 74 74 73 20 49 6e |Massachu|setts In|
|00001d50| 73 74 69 74 75 74 65 20 | 6f 66 20 54 65 63 68 6e |stitute |of Techn|
|00001d60| 6f 6c 6f 67 79 2e 0a 58 | 20 2a 20 46 6f 72 20 63 |ology..X| * For c|
|00001d70| 6f 70 79 69 6e 67 20 61 | 6e 64 20 64 69 73 74 72 |opying a|nd distr|
|00001d80| 69 62 75 74 69 6f 6e 20 | 69 6e 66 6f 72 6d 61 74 |ibution |informat|
|00001d90| 69 6f 6e 2c 20 73 65 65 | 20 74 68 65 20 66 69 6c |ion, see| the fil|
|00001da0| 65 20 22 6d 69 74 2d 63 | 6f 70 79 72 69 67 68 74 |e "mit-c|opyright|
|00001db0| 2e 68 2e 22 0a 58 20 2a | 2f 0a 58 0a 58 23 64 65 |.h.".X *|/.X.X#de|
|00001dc0| 66 69 6e 65 20 45 52 52 | 4f 52 5f 4d 41 53 4b 20 |fine ERR|OR_MASK |
|00001dd0| 31 0a 58 23 64 65 66 69 | 6e 65 20 4e 4f 5f 44 45 |1.X#defi|ne NO_DE|
|00001de0| 4c 45 54 45 5f 4d 41 53 | 4b 20 32 0a 58 0a 58 23 |LETE_MAS|K 2.X.X#|
|00001df0| 69 6e 63 6c 75 64 65 20 | 22 6d 69 74 2d 63 6f 70 |include |"mit-cop|
|00001e00| 79 72 69 67 68 74 2e 68 | 22 0a 45 4e 44 5f 4f 46 |yright.h|".END_OF|
|00001e10| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 35 33 |_FILE.if| test 53|
|00001e20| 36 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 64 |6 -ne `w|c -c <'d|
|00001e30| 65 6c 65 74 65 2e 68 27 | 60 3b 20 74 68 65 6e 0a |elete.h'|`; then.|
|00001e40| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00001e50| 22 27 64 65 6c 65 74 65 | 2e 68 27 5c 22 20 75 6e |"'delete|.h'\" un|
|00001e60| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00001e70| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00001e80| 20 6f 66 20 27 64 65 6c | 65 74 65 2e 68 27 0a 66 | of 'del|ete.h'.f|
|00001e90| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 64 69 |i.if tes|t -f 'di|
|00001ea0| 72 65 63 74 6f 72 69 65 | 73 2e 68 27 20 2d 61 20 |rectorie|s.h' -a |
|00001eb0| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00001ec0| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00001ed0| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00001ee0| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|00001ef0| 6c 65 20 5c 22 27 64 69 | 72 65 63 74 6f 72 69 65 |le \"'di|rectorie|
|00001f00| 73 2e 68 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |s.h'\".e|lse.echo|
|00001f10| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00001f20| 67 20 5c 22 27 64 69 72 | 65 63 74 6f 72 69 65 73 |g \"'dir|ectories|
|00001f30| 2e 68 27 5c 22 20 5c 28 | 31 34 33 34 20 63 68 61 |.h'\" \(|1434 cha|
|00001f40| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|00001f50| 2f 5e 58 2f 2f 22 20 3e | 27 64 69 72 65 63 74 6f |/^X//" >|'directo|
|00001f60| 72 69 65 73 2e 68 27 20 | 3c 3c 27 45 4e 44 5f 4f |ries.h' |<<'END_O|
|00001f70| 46 5f 46 49 4c 45 27 0a | 58 2f 2a 0a 58 20 2a 20 |F_FILE'.|X/*.X * |
|00001f80| 24 53 6f 75 72 63 65 3a | 20 2f 6d 69 74 2f 6a 69 |$Source:| /mit/ji|
|00001f90| 6b 2f 73 72 63 2f 64 65 | 6c 65 74 65 2f 52 43 53 |k/src/de|lete/RCS|
|00001fa0| 2f 64 69 72 65 63 74 6f | 72 69 65 73 2e 68 2c 76 |/directo|ries.h,v|
|00001fb0| 20 24 0a 58 20 2a 20 24 | 41 75 74 68 6f 72 3a 20 | $.X * $|Author: |
|00001fc0| 6a 69 6b 20 24 0a 58 20 | 2a 20 24 48 65 61 64 65 |jik $.X |* $Heade|
|00001fd0| 72 3a 20 64 69 72 65 63 | 74 6f 72 69 65 73 2e 68 |r: direc|tories.h|
|00001fe0| 2c 76 20 31 2e 36 20 38 | 39 2f 30 33 2f 32 37 20 |,v 1.6 8|9/03/27 |
|00001ff0| 31 32 3a 30 36 3a 32 34 | 20 6a 69 6b 20 45 78 70 |12:06:24| jik Exp|
|00002000| 20 24 0a 58 20 2a 20 0a | 58 20 2a 20 54 68 69 73 | $.X * .|X * This|
|00002010| 20 66 69 6c 65 20 69 73 | 20 70 61 72 74 20 6f 66 | file is| part of|
|00002020| 20 61 20 70 61 63 6b 61 | 67 65 20 69 6e 63 6c 75 | a packa|ge inclu|
|00002030| 64 69 6e 67 20 64 65 6c | 65 74 65 2c 20 75 6e 64 |ding del|ete, und|
|00002040| 65 6c 65 74 65 2c 0a 58 | 20 2a 20 6c 73 64 65 6c |elete,.X| * lsdel|
|00002050| 2c 20 65 78 70 75 6e 67 | 65 20 61 6e 64 20 70 75 |, expung|e and pu|
|00002060| 72 67 65 2e 20 20 54 68 | 65 20 73 6f 66 74 77 61 |rge. Th|e softwa|
|00002070| 72 65 20 73 75 69 74 65 | 20 69 73 20 6d 65 61 6e |re suite| is mean|
|00002080| 74 20 61 73 20 61 0a 58 | 20 2a 20 72 65 70 6c 61 |t as a.X| * repla|
|00002090| 63 65 6d 65 6e 74 20 66 | 6f 72 20 72 6d 20 77 68 |cement f|or rm wh|
|000020a0| 69 63 68 20 61 6c 6c 6f | 77 73 20 66 6f 72 20 66 |ich allo|ws for f|
|000020b0| 69 6c 65 20 72 65 63 6f | 76 65 72 79 2e 0a 58 20 |ile reco|very..X |
|000020c0| 2a 20 0a 58 20 2a 20 43 | 6f 70 79 72 69 67 68 74 |* .X * C|opyright|
|000020d0| 20 28 63 29 20 31 39 38 | 39 20 62 79 20 74 68 65 | (c) 198|9 by the|
|000020e0| 20 4d 61 73 73 61 63 68 | 75 73 65 74 74 73 20 49 | Massach|usetts I|
|000020f0| 6e 73 74 69 74 75 74 65 | 20 6f 66 20 54 65 63 68 |nstitute| of Tech|
|00002100| 6e 6f 6c 6f 67 79 2e 0a | 58 20 2a 20 46 6f 72 20 |nology..|X * For |
|00002110| 63 6f 70 79 69 6e 67 20 | 61 6e 64 20 64 69 73 74 |copying |and dist|
|00002120| 72 69 62 75 74 69 6f 6e | 20 69 6e 66 6f 72 6d 61 |ribution| informa|
|00002130| 74 69 6f 6e 2c 20 73 65 | 65 20 74 68 65 20 66 69 |tion, se|e the fi|
|00002140| 6c 65 20 22 6d 69 74 2d | 63 6f 70 79 72 69 67 68 |le "mit-|copyrigh|
|00002150| 74 2e 68 2e 22 0a 58 20 | 2a 2f 0a 58 0a 58 23 69 |t.h.".X |*/.X.X#i|
|00002160| 6e 63 6c 75 64 65 20 22 | 6d 69 74 2d 63 6f 70 79 |nclude "|mit-copy|
|00002170| 72 69 67 68 74 2e 68 22 | 0a 58 0a 58 74 79 70 65 |right.h"|.X.Xtype|
|00002180| 64 65 66 20 73 68 6f 72 | 74 20 42 6f 6f 6c 65 61 |def shor|t Boolea|
|00002190| 6e 3b 0a 58 23 64 65 66 | 69 6e 65 20 54 72 75 65 |n;.X#def|ine True|
|000021a0| 09 09 09 28 42 6f 6f 6c | 65 61 6e 29 20 31 0a 58 |...(Bool|ean) 1.X|
|000021b0| 23 64 65 66 69 6e 65 20 | 46 61 6c 73 65 09 09 09 |#define |False...|
|000021c0| 28 42 6f 6f 6c 65 61 6e | 29 20 30 0a 58 0a 58 0a |(Boolean|) 0.X.X.|
|000021d0| 58 23 64 65 66 69 6e 65 | 20 62 6c 6b 5f 74 6f 5f |X#define| blk_to_|
|000021e0| 6b 28 78 29 09 09 28 78 | 20 2a 20 44 45 56 5f 42 |k(x)..(x| * DEV_B|
|000021f0| 53 49 5a 45 20 2f 20 31 | 30 32 34 29 0a 58 0a 58 |SIZE / 1|024).X.X|
|00002200| 23 64 65 66 69 6e 65 20 | 46 4f 4c 4c 4f 57 5f 4c |#define |FOLLOW_L|
|00002210| 49 4e 4b 53 09 09 31 0a | 58 23 64 65 66 69 6e 65 |INKS..1.|X#define|
|00002220| 20 44 4f 4e 54 5f 46 4f | 4c 4c 4f 57 5f 4c 49 4e | DONT_FO|LLOW_LIN|
|00002230| 4b 53 09 30 0a 58 20 20 | 20 20 20 0a 58 74 79 70 |KS.0.X | .Xtyp|
|00002240| 65 64 65 66 20 73 74 72 | 75 63 74 20 66 69 6c 72 |edef str|uct filr|
|00002250| 65 63 20 7b 0a 58 20 20 | 20 20 20 63 68 61 72 20 |ec {.X | char |
|00002260| 6e 61 6d 65 5b 4d 41 58 | 4e 41 4d 4c 45 4e 5d 3b |name[MAX|NAMLEN];|
|00002270| 0a 58 20 20 20 20 20 73 | 74 72 75 63 74 20 66 69 |.X s|truct fi|
|00002280| 6c 72 65 63 20 2a 70 72 | 65 76 69 6f 75 73 3b 0a |lrec *pr|evious;.|
|00002290| 58 20 20 20 20 20 73 74 | 72 75 63 74 20 66 69 6c |X st|ruct fil|
|000022a0| 72 65 63 20 2a 70 61 72 | 65 6e 74 3b 0a 58 20 20 |rec *par|ent;.X |
|000022b0| 20 20 20 73 74 72 75 63 | 74 20 66 69 6c 72 65 63 | struc|t filrec|
|000022c0| 20 2a 64 69 72 73 3b 0a | 58 20 20 20 20 20 73 74 | *dirs;.|X st|
|000022d0| 72 75 63 74 20 66 69 6c | 72 65 63 20 2a 66 69 6c |ruct fil|rec *fil|
|000022e0| 65 73 3b 0a 58 20 20 20 | 20 20 73 74 72 75 63 74 |es;.X | struct|
|000022f0| 20 66 69 6c 72 65 63 20 | 2a 6e 65 78 74 3b 0a 58 | filrec |*next;.X|
|00002300| 20 20 20 20 20 42 6f 6f | 6c 65 61 6e 20 73 70 65 | Boo|lean spe|
|00002310| 63 69 66 69 65 64 3b 0a | 58 20 20 20 20 20 42 6f |cified;.|X Bo|
|00002320| 6f 6c 65 61 6e 20 66 72 | 65 65 64 3b 0a 58 20 20 |olean fr|eed;.X |
|00002330| 20 20 20 73 74 72 75 63 | 74 20 73 74 61 74 20 73 | struc|t stat s|
|00002340| 70 65 63 73 3b 0a 58 7d | 20 66 69 6c 65 72 65 63 |pecs;.X}| filerec|
|00002350| 3b 0a 58 0a 58 0a 58 0a | 58 66 69 6c 65 72 65 63 |;.X.X.X.|Xfilerec|
|00002360| 20 2a 61 64 64 5f 64 69 | 72 65 63 74 6f 72 79 5f | *add_di|rectory_|
|00002370| 74 6f 5f 70 61 72 65 6e | 74 28 29 3b 0a 58 66 69 |to_paren|t();.Xfi|
|00002380| 6c 65 72 65 63 20 2a 61 | 64 64 5f 66 69 6c 65 5f |lerec *a|dd_file_|
|00002390| 74 6f 5f 70 61 72 65 6e | 74 28 29 3b 0a 58 66 69 |to_paren|t();.Xfi|
|000023a0| 6c 65 72 65 63 20 2a 61 | 64 64 5f 70 61 74 68 5f |lerec *a|dd_path_|
|000023b0| 74 6f 5f 74 72 65 65 28 | 29 3b 0a 58 66 69 6c 65 |to_tree(|);.Xfile|
|000023c0| 72 65 63 20 2a 66 69 6e | 64 5f 63 68 69 6c 64 28 |rec *fin|d_child(|
|000023d0| 29 3b 0a 58 66 69 6c 65 | 72 65 63 20 2a 66 69 72 |);.Xfile|rec *fir|
|000023e0| 73 74 5f 69 6e 5f 64 69 | 72 65 63 74 6f 72 79 28 |st_in_di|rectory(|
|000023f0| 29 3b 0a 58 66 69 6c 65 | 72 65 63 20 2a 66 69 72 |);.Xfile|rec *fir|
|00002400| 73 74 5f 73 70 65 63 69 | 66 69 65 64 5f 69 6e 5f |st_speci|fied_in_|
|00002410| 64 69 72 65 63 74 6f 72 | 79 28 29 3b 0a 58 66 69 |director|y();.Xfi|
|00002420| 6c 65 72 65 63 20 2a 67 | 65 74 5f 63 77 64 5f 74 |lerec *g|et_cwd_t|
|00002430| 72 65 65 28 29 3b 0a 58 | 66 69 6c 65 72 65 63 20 |ree();.X|filerec |
|00002440| 2a 67 65 74 5f 72 6f 6f | 74 5f 74 72 65 65 28 29 |*get_roo|t_tree()|
|00002450| 3b 0a 58 66 69 6c 65 72 | 65 63 20 2a 6e 65 78 74 |;.Xfiler|ec *next|
|00002460| 5f 64 69 72 65 63 74 6f | 72 79 28 29 3b 0a 58 66 |_directo|ry();.Xf|
|00002470| 69 6c 65 72 65 63 20 2a | 6e 65 78 74 5f 69 6e 5f |ilerec *|next_in_|
|00002480| 64 69 72 65 63 74 6f 72 | 79 28 29 3b 0a 58 66 69 |director|y();.Xfi|
|00002490| 6c 65 72 65 63 20 2a 6e | 65 78 74 5f 6c 65 61 66 |lerec *n|ext_leaf|
|000024a0| 28 29 3b 0a 58 66 69 6c | 65 72 65 63 20 2a 6e 65 |();.Xfil|erec *ne|
|000024b0| 78 74 5f 73 70 65 63 69 | 66 69 65 64 5f 64 69 72 |xt_speci|fied_dir|
|000024c0| 65 63 74 6f 72 79 28 29 | 3b 0a 58 66 69 6c 65 72 |ectory()|;.Xfiler|
|000024d0| 65 63 20 2a 6e 65 78 74 | 5f 73 70 65 63 69 66 69 |ec *next|_specifi|
|000024e0| 65 64 5f 69 6e 5f 64 69 | 72 65 63 74 6f 72 79 28 |ed_in_di|rectory(|
|000024f0| 29 3b 0a 58 66 69 6c 65 | 72 65 63 20 2a 6e 65 78 |);.Xfile|rec *nex|
|00002500| 74 5f 73 70 65 63 69 66 | 69 65 64 5f 6c 65 61 66 |t_specif|ied_leaf|
|00002510| 28 29 3b 0a 58 0a 58 63 | 68 61 72 20 2a 67 65 74 |();.X.Xc|har *get|
|00002520| 5f 6c 65 61 66 5f 70 61 | 74 68 28 29 3b 0a 58 63 |_leaf_pa|th();.Xc|
|00002530| 68 61 72 20 2a 2a 61 63 | 63 75 6d 75 6c 61 74 65 |har **ac|cumulate|
|00002540| 5f 6e 61 6d 65 73 28 29 | 3b 0a 45 4e 44 5f 4f 46 |_names()|;.END_OF|
|00002550| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 31 34 |_FILE.if| test 14|
|00002560| 33 34 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |34 -ne `|wc -c <'|
|00002570| 64 69 72 65 63 74 6f 72 | 69 65 73 2e 68 27 60 3b |director|ies.h'`;|
|00002580| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00002590| 68 61 72 3a 20 5c 22 27 | 64 69 72 65 63 74 6f 72 |har: \"'|director|
|000025a0| 69 65 73 2e 68 27 5c 22 | 20 75 6e 70 61 63 6b 65 |ies.h'\"| unpacke|
|000025b0| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|000025c0| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 27 |e!.fi.# |end of '|
|000025d0| 64 69 72 65 63 74 6f 72 | 69 65 73 2e 68 27 0a 66 |director|ies.h'.f|
|000025e0| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 65 78 |i.if tes|t -f 'ex|
|000025f0| 70 75 6e 67 65 2e 68 27 | 20 2d 61 20 22 24 7b 31 |punge.h'| -a "${1|
|00002600| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00002610| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00002620| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00002630| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00002640| 22 27 65 78 70 75 6e 67 | 65 2e 68 27 5c 22 0a 65 |"'expung|e.h'\".e|
|00002650| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00002660| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 65 78 70 |xtractin|g \"'exp|
|00002670| 75 6e 67 65 2e 68 27 5c | 22 20 5c 28 35 39 31 20 |unge.h'\|" \(591 |
|00002680| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00002690| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 65 78 70 75 | "s/^X//|" >'expu|
|000026a0| 6e 67 65 2e 68 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |nge.h' <|<'END_OF|
|000026b0| 5f 46 49 4c 45 27 0a 58 | 2f 2a 0a 58 20 2a 20 24 |_FILE'.X|/*.X * $|
|000026c0| 53 6f 75 72 63 65 3a 20 | 2f 6d 69 74 2f 6a 69 6b |Source: |/mit/jik|
|000026d0| 2f 73 72 63 2f 64 65 6c | 65 74 65 2f 52 43 53 2f |/src/del|ete/RCS/|
|000026e0| 65 78 70 75 6e 67 65 2e | 68 2c 76 20 24 0a 58 20 |expunge.|h,v $.X |
|000026f0| 2a 20 24 41 75 74 68 6f | 72 3a 20 6a 69 6b 20 24 |* $Autho|r: jik $|
|00002700| 0a 58 20 2a 20 24 48 65 | 61 64 65 72 3a 20 65 78 |.X * $He|ader: ex|
|00002710| 70 75 6e 67 65 2e 68 2c | 76 20 31 2e 33 20 38 39 |punge.h,|v 1.3 89|
|00002720| 2f 30 33 2f 32 37 20 31 | 32 3a 30 36 3a 35 36 20 |/03/27 1|2:06:56 |
|00002730| 6a 69 6b 20 45 78 70 20 | 24 0a 58 20 2a 20 0a 58 |jik Exp |$.X * .X|
|00002740| 20 2a 20 54 68 69 73 20 | 66 69 6c 65 20 69 73 20 | * This |file is |
|00002750| 70 61 72 74 20 6f 66 20 | 61 20 70 61 63 6b 61 67 |part of |a packag|
|00002760| 65 20 69 6e 63 6c 75 64 | 69 6e 67 20 64 65 6c 65 |e includ|ing dele|
|00002770| 74 65 2c 20 75 6e 64 65 | 6c 65 74 65 2c 0a 58 20 |te, unde|lete,.X |
|00002780| 2a 20 6c 73 64 65 6c 2c | 20 65 78 70 75 6e 67 65 |* lsdel,| expunge|
|00002790| 20 61 6e 64 20 70 75 72 | 67 65 2e 20 20 54 68 65 | and pur|ge. The|
|000027a0| 20 73 6f 66 74 77 61 72 | 65 20 73 75 69 74 65 20 | softwar|e suite |
|000027b0| 69 73 20 6d 65 61 6e 74 | 20 61 73 20 61 0a 58 20 |is meant| as a.X |
|000027c0| 2a 20 72 65 70 6c 61 63 | 65 6d 65 6e 74 20 66 6f |* replac|ement fo|
|000027d0| 72 20 72 6d 20 77 68 69 | 63 68 20 61 6c 6c 6f 77 |r rm whi|ch allow|
|000027e0| 73 20 66 6f 72 20 66 69 | 6c 65 20 72 65 63 6f 76 |s for fi|le recov|
|000027f0| 65 72 79 2e 0a 58 20 2a | 20 0a 58 20 2a 20 43 6f |ery..X *| .X * Co|
|00002800| 70 79 72 69 67 68 74 20 | 28 63 29 20 31 39 38 39 |pyright |(c) 1989|
|00002810| 20 62 79 20 74 68 65 20 | 4d 61 73 73 61 63 68 75 | by the |Massachu|
|00002820| 73 65 74 74 73 20 49 6e | 73 74 69 74 75 74 65 20 |setts In|stitute |
|00002830| 6f 66 20 54 65 63 68 6e | 6f 6c 6f 67 79 2e 0a 58 |of Techn|ology..X|
|00002840| 20 2a 20 46 6f 72 20 63 | 6f 70 79 69 6e 67 20 61 | * For c|opying a|
|00002850| 6e 64 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |nd distr|ibution |
|00002860| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2c 20 73 65 65 |informat|ion, see|
|00002870| 20 74 68 65 20 66 69 6c | 65 20 22 6d 69 74 2d 63 | the fil|e "mit-c|
|00002880| 6f 70 79 72 69 67 68 74 | 2e 68 2e 22 0a 58 20 2a |opyright|.h.".X *|
|00002890| 2f 0a 58 23 69 6e 63 6c | 75 64 65 20 22 6d 69 74 |/.X#incl|ude "mit|
|000028a0| 2d 63 6f 70 79 72 69 67 | 68 74 2e 68 22 0a 58 0a |-copyrig|ht.h".X.|
|000028b0| 58 23 64 65 66 69 6e 65 | 20 45 52 52 4f 52 5f 4d |X#define| ERROR_M|
|000028c0| 41 53 4b 09 09 31 0a 58 | 23 64 65 66 69 6e 65 20 |ASK..1.X|#define |
|000028d0| 4e 4f 5f 44 45 4c 45 54 | 45 5f 4d 41 53 4b 09 09 |NO_DELET|E_MASK..|
|000028e0| 32 0a 58 23 64 65 66 69 | 6e 65 20 4e 4f 5f 54 49 |2.X#defi|ne NO_TI|
|000028f0| 4d 45 4f 55 54 5f 4d 41 | 53 4b 09 09 34 0a 58 0a |MEOUT_MA|SK..4.X.|
|00002900| 58 63 68 61 72 20 2a 2a | 67 65 74 5f 74 68 65 5f |Xchar **|get_the_|
|00002910| 66 69 6c 65 73 28 29 3b | 0a 45 4e 44 5f 4f 46 5f |files();|.END_OF_|
|00002920| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 35 39 31 |FILE.if |test 591|
|00002930| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 65 78 | -ne `wc| -c <'ex|
|00002940| 70 75 6e 67 65 2e 68 27 | 60 3b 20 74 68 65 6e 0a |punge.h'|`; then.|
|00002950| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00002960| 22 27 65 78 70 75 6e 67 | 65 2e 68 27 5c 22 20 75 |"'expung|e.h'\" u|
|00002970| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00002980| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00002990| 64 20 6f 66 20 27 65 78 | 70 75 6e 67 65 2e 68 27 |d of 'ex|punge.h'|
|000029a0| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|000029b0| 6c 73 64 65 6c 2e 68 27 | 20 2d 61 20 22 24 7b 31 |lsdel.h'| -a "${1|
|000029c0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|000029d0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|000029e0| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|000029f0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00002a00| 22 27 6c 73 64 65 6c 2e | 68 27 5c 22 0a 65 6c 73 |"'lsdel.|h'\".els|
|00002a10| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00002a20| 72 61 63 74 69 6e 67 20 | 5c 22 27 6c 73 64 65 6c |racting |\"'lsdel|
|00002a30| 2e 68 27 5c 22 20 5c 28 | 35 35 38 20 63 68 61 72 |.h'\" \(|558 char|
|00002a40| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00002a50| 5e 58 2f 2f 22 20 3e 27 | 6c 73 64 65 6c 2e 68 27 |^X//" >'|lsdel.h'|
|00002a60| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00002a70| 0a 58 2f 2a 0a 58 20 2a | 20 24 53 6f 75 72 63 65 |.X/*.X *| $Source|
|00002a80| 3a 20 2f 6d 69 74 2f 6a | 69 6b 2f 73 72 63 2f 64 |: /mit/j|ik/src/d|
|00002a90| 65 6c 65 74 65 2f 52 43 | 53 2f 6c 73 64 65 6c 2e |elete/RC|S/lsdel.|
|00002aa0| 68 2c 76 20 24 0a 58 20 | 2a 20 24 41 75 74 68 6f |h,v $.X |* $Autho|
|00002ab0| 72 3a 20 6a 69 6b 20 24 | 0a 58 20 2a 20 24 48 65 |r: jik $|.X * $He|
|00002ac0| 61 64 65 72 3a 20 6c 73 | 64 65 6c 2e 68 2c 76 20 |ader: ls|del.h,v |
|00002ad0| 31 2e 33 20 38 39 2f 30 | 33 2f 32 37 20 31 32 3a |1.3 89/0|3/27 12:|
|00002ae0| 30 37 3a 32 33 20 6a 69 | 6b 20 45 78 70 20 24 0a |07:23 ji|k Exp $.|
|00002af0| 58 20 2a 20 0a 58 20 2a | 20 54 68 69 73 20 66 69 |X * .X *| This fi|
|00002b00| 6c 65 20 69 73 20 70 61 | 72 74 20 6f 66 20 61 20 |le is pa|rt of a |
|00002b10| 70 61 63 6b 61 67 65 20 | 69 6e 63 6c 75 64 69 6e |package |includin|
|00002b20| 67 20 64 65 6c 65 74 65 | 2c 20 75 6e 64 65 6c 65 |g delete|, undele|
|00002b30| 74 65 2c 0a 58 20 2a 20 | 6c 73 64 65 6c 2c 20 65 |te,.X * |lsdel, e|
|00002b40| 78 70 75 6e 67 65 20 61 | 6e 64 20 70 75 72 67 65 |xpunge a|nd purge|
|00002b50| 2e 20 20 54 68 65 20 73 | 6f 66 74 77 61 72 65 20 |. The s|oftware |
|00002b60| 73 75 69 74 65 20 69 73 | 20 6d 65 61 6e 74 20 61 |suite is| meant a|
|00002b70| 73 20 61 0a 58 20 2a 20 | 72 65 70 6c 61 63 65 6d |s a.X * |replacem|
|00002b80| 65 6e 74 20 66 6f 72 20 | 72 6d 20 77 68 69 63 68 |ent for |rm which|
|00002b90| 20 61 6c 6c 6f 77 73 20 | 66 6f 72 20 66 69 6c 65 | allows |for file|
|00002ba0| 20 72 65 63 6f 76 65 72 | 79 2e 0a 58 20 2a 20 0a | recover|y..X * .|
|00002bb0| 58 20 2a 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |X * Copy|right (c|
|00002bc0| 29 20 31 39 38 39 20 62 | 79 20 74 68 65 20 4d 61 |) 1989 b|y the Ma|
|00002bd0| 73 73 61 63 68 75 73 65 | 74 74 73 20 49 6e 73 74 |ssachuse|tts Inst|
|00002be0| 69 74 75 74 65 20 6f 66 | 20 54 65 63 68 6e 6f 6c |itute of| Technol|
|00002bf0| 6f 67 79 2e 0a 58 20 2a | 20 46 6f 72 20 63 6f 70 |ogy..X *| For cop|
|00002c00| 79 69 6e 67 20 61 6e 64 | 20 64 69 73 74 72 69 62 |ying and| distrib|
|00002c10| 75 74 69 6f 6e 20 69 6e | 66 6f 72 6d 61 74 69 6f |ution in|formatio|
|00002c20| 6e 2c 20 73 65 65 20 74 | 68 65 20 66 69 6c 65 20 |n, see t|he file |
|00002c30| 22 6d 69 74 2d 63 6f 70 | 79 72 69 67 68 74 2e 68 |"mit-cop|yright.h|
|00002c40| 2e 22 0a 58 20 2a 2f 0a | 58 23 69 6e 63 6c 75 64 |.".X */.|X#includ|
|00002c50| 65 20 22 6d 69 74 2d 63 | 6f 70 79 72 69 67 68 74 |e "mit-c|opyright|
|00002c60| 2e 68 22 0a 58 0a 58 23 | 64 65 66 69 6e 65 20 45 |.h".X.X#|define E|
|00002c70| 52 52 4f 52 5f 4d 41 53 | 4b 20 31 0a 58 23 64 65 |RROR_MAS|K 1.X#de|
|00002c80| 66 69 6e 65 20 4e 4f 5f | 44 45 4c 45 54 45 5f 4d |fine NO_|DELETE_M|
|00002c90| 41 53 4b 20 32 0a 58 0a | 58 63 68 61 72 20 2a 2a |ASK 2.X.|Xchar **|
|00002ca0| 67 65 74 5f 74 68 65 5f | 66 69 6c 65 73 28 29 3b |get_the_|files();|
|00002cb0| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00002cc0| 74 65 73 74 20 35 35 38 | 20 2d 6e 65 20 60 77 63 |test 558| -ne `wc|
|00002cd0| 20 2d 63 20 3c 27 6c 73 | 64 65 6c 2e 68 27 60 3b | -c <'ls|del.h'`;|
|00002ce0| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00002cf0| 68 61 72 3a 20 5c 22 27 | 6c 73 64 65 6c 2e 68 27 |har: \"'|lsdel.h'|
|00002d00| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00002d10| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00002d20| 23 20 65 6e 64 20 6f 66 | 20 27 6c 73 64 65 6c 2e |# end of| 'lsdel.|
|00002d30| 68 27 0a 66 69 0a 69 66 | 20 74 65 73 74 20 21 20 |h'.fi.if| test ! |
|00002d40| 2d 64 20 27 6d 61 6e 31 | 27 20 3b 20 74 68 65 6e |-d 'man1|' ; then|
|00002d50| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00002d60| 43 72 65 61 74 69 6e 67 | 20 64 69 72 65 63 74 6f |Creating| directo|
|00002d70| 72 79 20 5c 22 27 6d 61 | 6e 31 27 5c 22 0a 20 20 |ry \"'ma|n1'\". |
|00002d80| 20 20 6d 6b 64 69 72 20 | 27 6d 61 6e 31 27 0a 66 | mkdir |'man1'.f|
|00002d90| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 6d 61 |i.if tes|t -f 'ma|
|00002da0| 6e 31 2f 65 78 70 75 6e | 67 65 2e 31 27 20 2d 61 |n1/expun|ge.1' -a|
|00002db0| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00002dc0| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00002dd0| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00002de0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00002df0| 69 6c 65 20 5c 22 27 6d | 61 6e 31 2f 65 78 70 75 |ile \"'m|an1/expu|
|00002e00| 6e 67 65 2e 31 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |nge.1'\"|.else.ec|
|00002e10| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00002e20| 69 6e 67 20 5c 22 27 6d | 61 6e 31 2f 65 78 70 75 |ing \"'m|an1/expu|
|00002e30| 6e 67 65 2e 31 27 5c 22 | 20 5c 28 33 38 32 34 20 |nge.1'\"| \(3824 |
|00002e40| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00002e50| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 6d 61 6e 31 | "s/^X//|" >'man1|
|00002e60| 2f 65 78 70 75 6e 67 65 | 2e 31 27 20 3c 3c 27 45 |/expunge|.1' <<'E|
|00002e70| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2e 5c 22 |ND_OF_FI|LE'.X.\"|
|00002e80| 09 24 53 6f 75 72 63 65 | 3a 20 2f 6d 69 74 2f 6a |.$Source|: /mit/j|
|00002e90| 69 6b 2f 73 72 63 2f 64 | 65 6c 65 74 65 2f 6d 61 |ik/src/d|elete/ma|
|00002ea0| 6e 31 2f 52 43 53 2f 65 | 78 70 75 6e 67 65 2e 31 |n1/RCS/e|xpunge.1|
|00002eb0| 2c 76 20 24 0a 58 2e 5c | 22 09 24 41 75 74 68 6f |,v $.X.\|".$Autho|
|00002ec0| 72 3a 20 6a 69 6b 20 24 | 0a 58 2e 5c 22 09 24 48 |r: jik $|.X.\".$H|
|00002ed0| 65 61 64 65 72 3a 20 65 | 78 70 75 6e 67 65 2e 31 |eader: e|xpunge.1|
|00002ee0| 2c 76 20 31 2e 34 20 38 | 39 2f 30 33 2f 32 37 20 |,v 1.4 8|9/03/27 |
|00002ef0| 31 31 3a 33 32 3a 34 39 | 20 6a 69 6b 20 45 78 70 |11:32:49| jik Exp|
|00002f00| 20 24 0a 58 2e 5c 22 0a | 58 2e 5c 22 20 43 6f 70 | $.X.\".|X.\" Cop|
|00002f10| 79 72 69 67 68 74 20 31 | 39 38 39 20 62 79 20 74 |yright 1|989 by t|
|00002f20| 68 65 20 4d 61 73 73 61 | 63 68 75 73 65 74 74 73 |he Massa|chusetts|
|00002f30| 20 49 6e 73 74 69 74 75 | 74 65 20 6f 66 20 54 65 | Institu|te of Te|
|00002f40| 63 68 6e 6f 6c 6f 67 79 | 2e 20 20 41 6c 6c 0a 58 |chnology|. All.X|
|00002f50| 2e 5c 22 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |.\" righ|ts reser|
|00002f60| 76 65 64 2e 20 20 54 68 | 65 20 66 69 6c 65 20 2f |ved. Th|e file /|
|00002f70| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 6d 69 74 2d |usr/incl|ude/mit-|
|00002f80| 63 6f 70 79 72 69 67 68 | 74 2e 68 20 73 70 65 63 |copyrigh|t.h spec|
|00002f90| 69 66 69 65 73 0a 58 2e | 5c 22 20 74 68 65 20 74 |ifies.X.|\" the t|
|00002fa0| 65 72 6d 73 20 61 6e 64 | 20 63 6f 6e 64 69 74 69 |erms and| conditi|
|00002fb0| 6f 6e 73 20 66 6f 72 20 | 72 65 64 69 73 74 72 69 |ons for |redistri|
|00002fc0| 62 75 74 69 6f 6e 2e 0a | 58 2e 5c 22 0a 58 2e 5c |bution..|X.\".X.\|
|00002fd0| 22 0a 58 2e 54 48 20 45 | 58 50 55 4e 47 45 20 31 |".X.TH E|XPUNGE 1|
|00002fe0| 20 22 4a 61 6e 75 61 72 | 79 20 32 37 2c 20 31 39 | "Januar|y 27, 19|
|00002ff0| 38 38 22 20 22 4d 49 54 | 20 50 72 6f 6a 65 63 74 |88" "MIT| Project|
|00003000| 20 41 74 68 65 6e 61 22 | 0a 58 2e 64 73 20 5d 57 | Athena"|.X.ds ]W|
|00003010| 20 4d 49 54 20 50 72 6f | 6a 65 63 74 20 41 74 68 | MIT Pro|ject Ath|
|00003020| 65 6e 61 0a 58 2e 53 48 | 20 4e 41 4d 45 0a 58 65 |ena.X.SH| NAME.Xe|
|00003030| 78 70 75 6e 67 65 2c 20 | 70 75 72 67 65 20 5c 2d |xpunge, |purge \-|
|00003040| 20 70 65 72 6d 61 6e 65 | 6e 74 20 72 65 6d 6f 76 | permane|nt remov|
|00003050| 61 6c 20 6f 66 20 5c 66 | 49 64 65 6c 65 74 65 5c |al of \f|Idelete\|
|00003060| 66 52 5c 5e 64 20 66 69 | 6c 65 73 0a 58 2e 53 48 |fR\^d fi|les.X.SH|
|00003070| 20 53 59 4e 4f 50 53 49 | 53 0a 58 2e 42 20 65 78 | SYNOPSI|S.X.B ex|
|00003080| 70 75 6e 67 65 0a 58 5b | 0a 58 2e 42 20 5c 2d 72 |punge.X[|.X.B \-r|
|00003090| 0a 58 5d 20 5b 0a 58 2e | 42 20 5c 2d 69 0a 58 5d |.X] [.X.|B \-i.X]|
|000030a0| 20 5b 0a 58 2e 42 20 5c | 2d 66 0a 58 5d 20 5b 0a | [.X.B \|-f.X] [.|
|000030b0| 58 2e 42 20 5c 2d 74 20 | 5c 66 49 6e 5c 66 52 0a |X.B \-t |\fIn\fR.|
|000030c0| 58 5d 20 5b 0a 58 2e 42 | 20 5c 2d 6e 0a 58 5d 20 |X] [.X.B| \-n.X] |
|000030d0| 5b 0a 58 2e 42 20 5c 2d | 76 0a 58 5d 20 5b 0a 58 |[.X.B \-|v.X] [.X|
|000030e0| 2e 42 20 5c 2d 6c 0a 58 | 5d 20 5b 0a 58 2e 42 20 |.B \-l.X|] [.X.B |
|000030f0| 5c 2d 79 0a 58 5d 20 5b | 0a 58 2e 42 20 5c 2d 5c |\-y.X] [|.X.B \-\|
|00003100| 7c 5c 2d 0a 58 5d 20 5b | 20 66 69 6c 65 6e 61 6d ||\-.X] [| filenam|
|00003110| 65 20 5b 20 2e 2e 2e 20 | 5d 5d 0a 58 2e 50 50 0a |e [ ... |]].X.PP.|
|00003120| 58 2e 42 20 70 75 72 67 | 65 0a 58 2e 50 50 0a 58 |X.B purg|e.X.PP.X|
|00003130| 2e 53 48 20 44 45 53 43 | 52 49 50 54 49 4f 4e 0a |.SH DESC|RIPTION.|
|00003140| 58 2e 49 20 45 78 70 75 | 6e 67 65 0a 58 61 6e 64 |X.I Expu|nge.Xand|
|00003150| 0a 58 2e 49 20 70 75 72 | 67 65 0a 58 70 65 72 6d |.X.I pur|ge.Xperm|
|00003160| 61 6e 65 6e 74 6c 79 20 | 72 65 6d 6f 76 65 20 66 |anently |remove f|
|00003170| 69 6c 65 73 20 77 68 69 | 63 68 20 68 61 76 65 20 |iles whi|ch have |
|00003180| 62 65 65 6e 20 6d 61 72 | 6b 65 64 20 66 6f 72 20 |been mar|ked for |
|00003190| 64 65 6c 65 74 69 6f 6e | 20 75 73 69 6e 67 0a 58 |deletion| using.X|
|000031a0| 5c 66 49 64 65 6c 65 74 | 65 5c 66 52 28 31 29 2e |\fIdelet|e\fR(1).|
|000031b0| 20 20 46 69 6c 65 73 20 | 72 65 6d 6f 76 65 64 20 | Files |removed |
|000031c0| 77 69 74 68 20 5c 66 49 | 65 78 70 75 6e 67 65 5c |with \fI|expunge\|
|000031d0| 66 52 20 6f 72 20 5c 66 | 49 70 75 72 67 65 5c 66 |fR or \f|Ipurge\f|
|000031e0| 52 0a 58 63 61 6e 6e 6f | 74 20 62 65 20 72 65 63 |R.Xcanno|t be rec|
|000031f0| 6f 76 65 72 65 64 2c 20 | 61 6e 64 20 63 61 72 65 |overed, |and care|
|00003200| 20 73 68 6f 75 6c 64 20 | 74 68 65 72 65 66 6f 72 | should |therefor|
|00003210| 65 20 62 65 20 65 78 65 | 72 63 69 73 65 64 20 69 |e be exe|rcised i|
|00003220| 6e 20 74 68 65 0a 58 75 | 73 65 20 6f 66 20 74 68 |n the.Xu|se of th|
|00003230| 65 73 65 20 75 74 69 6c | 69 74 69 65 73 2e 0a 58 |ese util|ities..X|
|00003240| 2e 50 50 0a 58 2e 49 20 | 50 75 72 67 65 0a 58 69 |.PP.X.I |Purge.Xi|
|00003250| 73 20 61 20 73 69 6d 70 | 6c 65 20 75 74 69 6c 69 |s a simp|le utili|
|00003260| 74 79 20 77 68 69 63 68 | 20 74 61 6b 65 73 20 6e |ty which| takes n|
|00003270| 6f 20 63 6f 6d 6d 61 6e | 64 2d 6c 69 6e 65 20 61 |o comman|d-line a|
|00003280| 72 67 75 6d 65 6e 74 73 | 2e 20 20 57 68 65 6e 20 |rguments|. When |
|00003290| 69 74 20 69 73 0a 58 65 | 78 65 63 75 74 65 64 2c |it is.Xe|xecuted,|
|000032a0| 20 69 74 20 73 65 61 72 | 63 68 65 73 20 74 68 72 | it sear|ches thr|
|000032b0| 6f 75 67 68 20 74 68 65 | 20 75 73 65 72 27 73 20 |ough the| user's |
|000032c0| 65 6e 74 69 72 65 20 68 | 6f 6d 65 20 64 69 72 65 |entire h|ome dire|
|000032d0| 63 74 6f 72 79 20 61 6e | 64 0a 58 66 69 6e 64 73 |ctory an|d.Xfinds|
|000032e0| 20 61 6c 6c 20 66 69 6c | 65 73 20 74 68 61 74 20 | all fil|es that |
|000032f0| 68 61 76 65 20 62 65 65 | 6e 20 6d 61 72 6b 65 64 |have bee|n marked|
|00003300| 20 66 6f 72 20 64 65 6c | 65 74 69 6f 6e 2e 20 20 | for del|etion. |
|00003310| 49 74 20 74 68 65 6e 20 | 64 69 73 70 6c 61 79 73 |It then |displays|
|00003320| 0a 58 61 20 6c 69 73 74 | 20 6f 66 20 74 68 65 20 |.Xa list| of the |
|00003330| 66 69 6c 65 73 20 77 68 | 65 72 65 20 61 72 65 20 |files wh|ere are |
|00003340| 74 6f 20 62 65 20 72 65 | 6d 6f 76 65 64 20 61 6e |to be re|moved an|
|00003350| 64 20 70 72 6f 6d 70 74 | 73 20 66 6f 72 0a 58 63 |d prompt|s for.Xc|
|00003360| 6f 6e 66 69 72 6d 61 74 | 69 6f 6e 2e 20 20 41 20 |onfirmat|ion. A |
|00003370| 72 65 73 70 6f 6e 73 65 | 20 66 72 6f 6d 20 74 68 |response| from th|
|00003380| 65 20 75 73 65 72 20 73 | 74 61 72 74 69 6e 67 20 |e user s|tarting |
|00003390| 77 69 74 68 20 74 68 65 | 20 6c 65 74 74 65 72 0a |with the| letter.|
|000033a0| 58 5c 66 49 79 5c 66 52 | 20 77 69 6c 6c 20 63 61 |X\fIy\fR| will ca|
|000033b0| 75 73 65 20 74 68 65 20 | 66 69 6c 65 73 20 74 6f |use the |files to|
|000033c0| 20 62 65 20 70 65 72 6d | 61 6e 65 6e 74 6c 79 20 | be perm|anently |
|000033d0| 65 78 70 75 6e 67 65 64 | 2e 0a 58 2e 50 50 0a 58 |expunged|..X.PP.X|
|000033e0| 42 65 63 61 75 73 65 0a | 58 2e 49 20 70 75 72 67 |Because.|X.I purg|
|000033f0| 65 0a 58 73 65 61 72 63 | 68 65 73 20 74 68 72 6f |e.Xsearc|hes thro|
|00003400| 75 67 68 20 74 68 65 20 | 75 73 65 72 27 73 20 65 |ugh the |user's e|
|00003410| 6e 74 69 72 65 20 68 6f | 6d 65 20 64 69 72 65 63 |ntire ho|me direc|
|00003420| 74 6f 72 79 2c 20 69 74 | 20 63 61 6e 20 74 61 6b |tory, it| can tak|
|00003430| 65 20 71 75 69 74 65 20 | 61 0a 58 77 68 69 6c 65 |e quite |a.Xwhile|
|00003440| 20 74 6f 20 63 6f 6d 70 | 6c 65 74 65 20 69 74 73 | to comp|lete its|
|00003450| 20 73 65 61 72 63 68 2e | 20 20 54 68 69 73 20 69 | search.| This i|
|00003460| 73 20 6e 6f 72 6d 61 6c | 2e 0a 58 2e 50 50 0a 58 |s normal|..X.PP.X|
|00003470| 54 68 65 20 66 69 6c 65 | 6e 61 6d 65 73 20 70 61 |The file|names pa|
|00003480| 73 73 65 64 20 74 6f 0a | 58 2e 49 20 65 78 70 75 |ssed to.|X.I expu|
|00003490| 6e 67 65 0a 58 6f 6e 20 | 74 68 65 20 63 6f 6d 6d |nge.Xon |the comm|
|000034a0| 61 6e 64 2d 6c 69 6e 65 | 20 63 61 6e 20 62 65 20 |and-line| can be |
|000034b0| 64 69 72 65 63 74 6f 72 | 69 65 73 20 28 64 65 6c |director|ies (del|
|000034c0| 65 74 65 64 20 6f 72 20 | 6e 6f 74 20 64 65 6c 65 |eted or |not dele|
|000034d0| 74 65 64 29 20 6f 72 0a | 58 64 65 6c 65 74 65 64 |ted) or.|Xdeleted|
|000034e0| 20 66 69 6c 65 73 2e 20 | 20 44 65 6c 65 74 65 64 | files. | Deleted|
|000034f0| 20 66 69 6c 65 73 20 6f | 72 20 64 69 72 65 63 74 | files o|r direct|
|00003500| 6f 72 69 65 73 20 61 72 | 65 20 61 6c 77 61 79 73 |ories ar|e always|
|00003510| 20 63 6f 6d 70 6c 65 74 | 65 6c 79 0a 58 65 78 70 | complet|ely.Xexp|
|00003520| 75 6e 67 65 64 2c 20 77 | 68 69 6c 65 20 74 68 65 |unged, w|hile the|
|00003530| 20 74 72 65 61 74 6d 65 | 6e 74 20 6f 66 20 6e 6f | treatme|nt of no|
|00003540| 6e 2d 64 65 6c 65 74 65 | 64 20 64 69 72 65 63 74 |n-delete|d direct|
|00003550| 6f 72 69 65 73 20 64 65 | 70 65 6e 64 73 20 6f 6e |ories de|pends on|
|00003560| 0a 58 74 68 65 0a 58 2e | 42 52 20 5c 2d 72 0a 58 |.Xthe.X.|BR \-r.X|
|00003570| 63 6f 6d 6d 61 6e 64 2d | 6c 69 6e 65 20 6f 70 74 |command-|line opt|
|00003580| 69 6f 6e 20 28 73 65 65 | 20 62 65 6c 6f 77 29 2e |ion (see| below).|
|00003590| 20 20 49 66 20 6e 6f 20 | 63 6f 6d 6d 61 6e 64 2d | If no |command-|
|000035a0| 6c 69 6e 65 20 66 69 6c | 65 6e 61 6d 65 73 20 61 |line fil|enames a|
|000035b0| 72 65 0a 58 73 70 65 63 | 69 66 69 65 64 2c 0a 58 |re.Xspec|ified,.X|
|000035c0| 2e 49 20 65 78 70 75 6e | 67 65 0a 58 64 65 66 61 |.I expun|ge.Xdefa|
|000035d0| 75 6c 74 73 20 74 6f 20 | 74 68 65 20 63 75 72 72 |ults to |the curr|
|000035e0| 65 6e 74 20 77 6f 72 6b | 69 6e 67 20 64 69 72 65 |ent work|ing dire|
|000035f0| 63 74 6f 72 79 2e 0a 58 | 2e 50 50 0a 58 46 6f 72 |ctory..X|.PP.XFor|
|00003600| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 62 6f | informa|tion abo|
|00003610| 75 74 20 77 69 6c 64 63 | 61 72 64 20 75 73 65 20 |ut wildc|ard use |
|00003620| 77 69 74 68 20 5c 66 49 | 65 78 70 75 6e 67 65 5c |with \fI|expunge\|
|00003630| 66 52 2c 20 70 6c 65 61 | 73 65 20 73 65 65 0a 58 |fR, plea|se see.X|
|00003640| 5c 66 49 75 6e 64 65 6c | 65 74 65 5c 66 52 28 31 |\fIundel|ete\fR(1|
|00003650| 29 2e 0a 58 2e 50 50 0a | 58 2e 53 48 20 4f 50 54 |)..X.PP.|X.SH OPT|
|00003660| 49 4f 4e 53 0a 58 2e 49 | 20 45 78 70 75 6e 67 65 |IONS.X.I| Expunge|
|00003670| 0a 58 61 63 63 65 70 74 | 73 20 74 68 65 20 66 6f |.Xaccept|s the fo|
|00003680| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 2d |llowing |command-|
|00003690| 6c 69 6e 65 20 6f 70 74 | 69 6f 6e 73 3a 0a 58 2e |line opt|ions:.X.|
|000036a0| 54 50 0a 58 2e 42 20 5c | 2d 72 0a 58 57 68 65 6e |TP.X.B \|-r.XWhen|
|000036b0| 20 61 20 6e 6f 6e 2d 64 | 65 6c 65 74 65 64 20 64 | a non-d|eleted d|
|000036c0| 69 72 65 63 74 6f 72 79 | 20 69 73 20 70 61 73 73 |irectory| is pass|
|000036d0| 65 64 20 74 6f 20 5c 66 | 49 65 78 70 75 6e 67 65 |ed to \f|Iexpunge|
|000036e0| 5c 66 52 2c 20 74 68 65 | 20 0a 58 2e 42 52 20 5c |\fR, the| .X.BR \|
|000036f0| 2d 72 0a 58 6f 70 74 69 | 6f 6e 20 63 61 75 73 65 |-r.Xopti|on cause|
|00003700| 73 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |s the di|rectory |
|00003710| 74 6f 20 62 65 20 73 65 | 61 72 63 65 64 20 72 65 |to be se|arced re|
|00003720| 63 75 72 73 69 76 65 6c | 79 20 66 6f 72 20 64 65 |cursivel|y for de|
|00003730| 6c 65 74 65 64 0a 58 66 | 69 6c 65 73 2e 20 20 49 |leted.Xf|iles. I|
|00003740| 66 20 74 68 65 20 72 65 | 63 75 72 73 69 76 65 20 |f the re|cursive |
|00003750| 6f 70 74 69 6f 6e 20 69 | 73 20 5c 66 49 6e 6f 74 |option i|s \fInot|
|00003760| 5c 66 52 20 73 70 65 63 | 69 66 69 65 64 2c 20 6f |\fR spec|ified, o|
|00003770| 6e 6c 79 20 74 68 65 0a | 58 64 69 72 65 63 74 20 |nly the.|Xdirect |
|00003780| 63 68 69 6c 64 72 65 6e | 20 6f 66 20 74 68 65 20 |children| of the |
|00003790| 6e 6f 6e 2d 64 65 6c 65 | 74 65 64 20 64 69 72 65 |non-dele|ted dire|
|000037a0| 63 74 6f 72 79 20 61 72 | 65 20 65 78 61 6d 69 6e |ctory ar|e examin|
|000037b0| 65 64 2e 20 20 41 0a 58 | 72 65 63 75 72 73 69 76 |ed. A.X|recursiv|
|000037c0| 65 20 73 65 61 72 63 68 | 20 6f 66 20 61 20 6c 61 |e search| of a la|
|000037d0| 72 67 65 20 64 69 72 65 | 63 74 6f 72 79 20 63 61 |rge dire|ctory ca|
|000037e0| 6e 20 74 61 6b 65 20 71 | 75 69 74 65 20 61 20 77 |n take q|uite a w|
|000037f0| 68 69 6c 65 2e 0a 58 2e | 54 50 0a 58 2e 42 20 5c |hile..X.|TP.X.B \|
|00003800| 2d 69 0a 58 54 68 65 20 | 75 73 65 72 20 69 73 20 |-i.XThe |user is |
|00003810| 70 72 6f 6d 70 74 65 64 | 20 66 6f 72 20 63 6f 6e |prompted| for con|
|00003820| 66 69 72 6d 61 74 69 6f | 6e 20 77 69 74 68 20 74 |firmatio|n with t|
|00003830| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 66 |he name |of the f|
|00003840| 69 6c 65 20 61 6e 64 0a | 58 69 74 73 20 73 69 7a |ile and.|Xits siz|
|00003850| 65 20 69 6e 20 6b 69 6c | 6f 62 79 74 65 73 20 62 |e in kil|obytes b|
|00003860| 65 66 6f 72 65 20 65 61 | 63 68 20 66 69 6c 65 20 |efore ea|ch file |
|00003870| 6f 72 20 64 69 72 65 63 | 74 6f 72 79 20 69 73 0a |or direc|tory is.|
|00003880| 58 72 65 73 74 6f 72 65 | 64 2e 0a 58 2e 54 50 0a |Xrestore|d..X.TP.|
|00003890| 58 2e 42 20 5c 2d 66 0a | 58 55 73 65 64 20 69 6e |X.B \-f.|XUsed in|
|000038a0| 20 63 6f 6e 6a 75 6e 63 | 74 69 6f 6e 20 77 69 74 | conjunc|tion wit|
|000038b0| 68 20 74 68 65 0a 58 2e | 42 52 20 5c 2d 6c 0a 58 |h the.X.|BR \-l.X|
|000038c0| 6f 70 74 69 6f 6e 2c 20 | 74 68 69 73 20 6f 70 74 |option, |this opt|
|000038d0| 69 6f 6e 20 70 72 65 76 | 65 6e 74 73 20 0a 58 2e |ion prev|ents .X.|
|000038e0| 49 20 65 78 70 75 6e 67 | 65 0a 58 66 72 6f 6d 20 |I expung|e.Xfrom |
|000038f0| 70 72 6f 6d 70 74 69 6e | 67 20 66 6f 72 20 63 6f |promptin|g for co|
|00003900| 6e 66 69 72 6d 61 74 69 | 6f 6e 20 61 66 74 65 72 |nfirmati|on after|
|00003910| 20 6c 69 73 74 69 6e 67 | 20 61 6c 6c 20 74 68 65 | listing| all the|
|00003920| 20 66 69 6c 65 73 20 74 | 68 61 74 20 61 72 65 0a | files t|hat are.|
|00003930| 58 74 6f 6f 20 62 65 20 | 64 65 6c 65 74 65 64 2e |Xtoo be |deleted.|
|00003940| 20 20 46 75 72 74 68 65 | 72 6d 6f 72 65 2c 20 69 | Furthe|rmore, i|
|00003950| 74 20 70 72 65 76 65 6e | 74 73 20 74 68 65 20 70 |t preven|ts the p|
|00003960| 72 69 6e 74 69 6e 67 20 | 6f 66 20 65 72 72 6f 72 |rinting |of error|
|00003970| 0a 58 6d 65 73 73 61 67 | 65 73 2e 0a 58 2e 54 50 |.Xmessag|es..X.TP|
|00003980| 0a 58 2e 42 20 5c 2d 74 | 5c 66 49 6e 5c 66 52 0a |.X.B \-t|\fIn\fR.|
|00003990| 58 53 70 65 63 69 66 69 | 65 73 20 74 68 65 20 6d |XSpecifi|es the m|
|000039a0| 69 6e 69 6d 75 6d 20 61 | 67 65 20 28 69 6e 20 64 |inimum a|ge (in d|
|000039b0| 61 79 73 29 20 6f 66 20 | 66 69 6c 65 73 20 74 6f |ays) of |files to|
|000039c0| 20 62 65 20 65 78 70 75 | 6e 67 65 64 2c 20 6d 65 | be expu|nged, me|
|000039d0| 61 73 75 72 65 64 0a 58 | 61 73 20 74 68 65 20 6c |asured.X|as the l|
|000039e0| 65 6e 67 74 68 20 6f 66 | 20 74 69 6d 65 20 73 69 |ength of| time si|
|000039f0| 6e 63 65 20 74 68 65 20 | 6c 61 73 74 20 66 69 6c |nce the |last fil|
|00003a00| 65 20 6d 6f 64 69 66 69 | 63 61 74 69 6f 6e 2e 0a |e modifi|cation..|
|00003a10| 58 2e 54 50 0a 58 2e 42 | 20 5c 2d 6e 0a 58 4e 6f |X.TP.X.B| \-n.XNo|
|00003a20| 20 66 69 6c 65 20 65 78 | 70 75 6e 67 65 73 20 61 | file ex|punges a|
|00003a30| 72 65 20 70 65 72 66 6f | 72 6d 65 64 2e 20 20 49 |re perfo|rmed. I|
|00003a40| 6e 73 74 65 61 64 2c 0a | 58 2e 49 20 65 78 70 75 |nstead,.|X.I expu|
|00003a50| 6e 67 65 0a 58 70 72 69 | 6e 74 73 20 74 6f 20 74 |nge.Xpri|nts to t|
|00003a60| 68 65 20 73 74 61 6e 64 | 61 72 64 20 6f 75 74 70 |he stand|ard outp|
|00003a70| 75 74 20 74 68 65 20 66 | 69 6c 65 73 20 74 68 61 |ut the f|iles tha|
|00003a80| 74 20 69 74 20 77 6f 75 | 6c 64 20 65 78 70 75 6e |t it wou|ld expun|
|00003a90| 67 65 20 77 65 72 65 20 | 74 68 65 0a 58 2e 42 52 |ge were |the.X.BR|
|00003aa0| 20 5c 2d 6e 0a 58 6f 70 | 74 69 6f 6e 20 6e 6f 74 | \-n.Xop|tion not|
|00003ab0| 20 73 70 65 63 69 66 69 | 65 64 2e 0a 58 2e 54 50 | specifi|ed..X.TP|
|00003ac0| 0a 58 2e 42 20 5c 2d 76 | 0a 58 43 61 75 73 65 73 |.X.B \-v|.XCauses|
|00003ad0| 20 0a 58 2e 49 20 65 78 | 70 75 6e 67 65 0a 58 74 | .X.I ex|punge.Xt|
|00003ae0| 6f 20 72 65 70 6f 72 74 | 20 65 61 63 68 20 66 69 |o report| each fi|
|00003af0| 6c 65 20 61 73 20 69 74 | 20 69 73 20 65 78 70 75 |le as it| is expu|
|00003b00| 6e 67 65 64 2c 20 61 73 | 20 77 65 6c 6c 20 61 73 |nged, as| well as|
|00003b10| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 | the siz|e of the|
|00003b20| 20 66 69 6c 65 0a 58 61 | 6e 64 20 61 20 72 75 6e | file.Xa|nd a run|
|00003b30| 6e 69 6e 67 20 74 6f 74 | 61 6c 20 6f 66 20 74 68 |ning tot|al of th|
|00003b40| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6b 69 6c 6f |e number| of kilo|
|00003b50| 62 79 74 65 73 20 65 78 | 70 75 6e 67 65 64 2e 0a |bytes ex|punged..|
|00003b60| 58 2e 54 50 0a 58 2e 42 | 20 5c 2d 6c 0a 58 43 61 |X.TP.X.B| \-l.XCa|
|00003b70| 75 73 65 73 20 0a 58 2e | 49 20 65 78 70 75 6e 67 |uses .X.|I expung|
|00003b80| 65 0a 58 74 6f 20 6c 69 | 73 74 20 61 6c 6c 20 66 |e.Xto li|st all f|
|00003b90| 6f 75 6e 64 20 66 69 6c | 65 73 20 62 65 66 6f 72 |ound fil|es befor|
|00003ba0| 65 20 65 78 70 75 6e 67 | 69 6e 67 20 74 68 65 6d |e expung|ing them|
|00003bb0| 2c 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 74 68 65 |, simila|r to the|
|00003bc0| 20 61 63 74 69 6f 6e 73 | 0a 58 6f 66 0a 58 2e 49 | actions|.Xof.X.I|
|00003bd0| 20 70 75 72 67 65 2e 0a | 58 2e 54 50 0a 58 2e 42 | purge..|X.TP.X.B|
|00003be0| 20 5c 2d 79 0a 58 54 68 | 65 20 74 6f 74 61 6c 20 | \-y.XTh|e total |
|00003bf0| 6e 75 6d 62 65 72 20 6f | 66 20 6b 69 6c 6f 62 79 |number o|f kiloby|
|00003c00| 74 65 73 20 65 78 70 75 | 6e 67 65 64 20 69 73 20 |tes expu|nged is |
|00003c10| 70 72 69 6e 74 65 64 20 | 61 66 74 65 72 0a 58 2e |printed |after.X.|
|00003c20| 49 20 65 78 70 75 6e 67 | 65 0a 58 69 73 20 66 69 |I expung|e.Xis fi|
|00003c30| 6e 69 73 68 65 64 20 72 | 65 6d 6f 76 69 6e 67 20 |nished r|emoving |
|00003c40| 66 69 6c 65 73 2e 0a 58 | 2e 54 50 0a 58 2e 42 20 |files..X|.TP.X.B |
|00003c50| 5c 2d 5c 7c 5c 2d 0a 58 | 54 77 6f 20 64 61 73 68 |\-\|\-.X|Two dash|
|00003c60| 65 73 20 69 6e 64 69 63 | 61 74 65 20 74 68 61 74 |es indic|ate that|
|00003c70| 20 61 6c 6c 20 61 72 67 | 75 6d 65 6e 74 73 20 66 | all arg|uments f|
|00003c80| 6f 6c 6c 6f 77 69 6e 67 | 20 69 74 20 61 72 65 20 |ollowing| it are |
|00003c90| 74 6f 20 62 65 20 74 72 | 65 61 74 65 64 0a 58 61 |to be tr|eated.Xa|
|00003ca0| 73 20 66 69 6c 65 20 6e | 61 6d 65 73 2c 20 65 76 |s file n|ames, ev|
|00003cb0| 65 6e 20 69 66 20 74 68 | 65 79 20 73 74 61 72 74 |en if th|ey start|
|00003cc0| 20 77 69 74 68 20 61 20 | 64 61 73 68 2e 0a 58 2e | with a |dash..X.|
|00003cd0| 53 48 20 22 53 45 45 20 | 41 4c 53 4f 22 0a 58 64 |SH "SEE |ALSO".Xd|
|00003ce0| 65 6c 65 74 65 28 31 29 | 2c 20 75 6e 64 65 6c 65 |elete(1)|, undele|
|00003cf0| 74 65 28 31 29 2c 20 6c | 73 64 65 6c 28 31 29 2c |te(1), l|sdel(1),|
|00003d00| 20 72 6d 28 31 29 2c 20 | 72 6d 64 69 72 28 31 29 | rm(1), |rmdir(1)|
|00003d10| 0a 58 2e 53 48 20 41 55 | 54 48 4f 52 0a 58 4a 6f |.X.SH AU|THOR.XJo|
|00003d20| 6e 61 74 68 61 6e 20 49 | 2e 20 4b 61 6d 65 6e 73 |nathan I|. Kamens|
|00003d30| 20 28 4d 49 54 2d 50 72 | 6f 6a 65 63 74 20 41 74 | (MIT-Pr|oject At|
|00003d40| 68 65 6e 61 29 0a 58 2e | 53 48 20 52 45 53 54 52 |hena).X.|SH RESTR|
|00003d50| 49 43 54 49 4f 4e 53 0a | 58 43 6f 70 79 72 69 67 |ICTIONS.|XCopyrig|
|00003d60| 68 74 20 28 63 29 20 31 | 39 38 39 20 62 79 20 74 |ht (c) 1|989 by t|
|00003d70| 68 65 20 4d 61 73 73 61 | 63 68 75 73 65 74 74 73 |he Massa|chusetts|
|00003d80| 20 49 6e 73 74 69 74 75 | 74 65 20 6f 66 20 54 65 | Institu|te of Te|
|00003d90| 63 68 6e 6f 6c 6f 67 79 | 2e 20 20 41 6c 6c 0a 58 |chnology|. All.X|
|00003da0| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00003db0| 0a 58 2e 49 52 20 44 65 | 6c 65 74 65 20 28 31 29 |.X.IR De|lete (1)|
|00003dc0| 0a 58 73 70 65 63 69 66 | 69 65 73 20 74 68 65 20 |.Xspecif|ies the |
|00003dd0| 74 65 72 6d 73 20 61 6e | 64 20 63 6f 6e 64 69 74 |terms an|d condit|
|00003de0| 69 6f 6e 73 20 66 6f 72 | 20 72 65 64 69 73 74 72 |ions for| redistr|
|00003df0| 69 62 75 74 69 6f 6e 2e | 0a 45 4e 44 5f 4f 46 5f |ibution.|.END_OF_|
|00003e00| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 33 38 32 |FILE.if |test 382|
|00003e10| 34 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 6d |4 -ne `w|c -c <'m|
|00003e20| 61 6e 31 2f 65 78 70 75 | 6e 67 65 2e 31 27 60 3b |an1/expu|nge.1'`;|
|00003e30| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00003e40| 68 61 72 3a 20 5c 22 27 | 6d 61 6e 31 2f 65 78 70 |har: \"'|man1/exp|
|00003e50| 75 6e 67 65 2e 31 27 5c | 22 20 75 6e 70 61 63 6b |unge.1'\|" unpack|
|00003e60| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00003e70| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00003e80| 27 6d 61 6e 31 2f 65 78 | 70 75 6e 67 65 2e 31 27 |'man1/ex|punge.1'|
|00003e90| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00003ea0| 6d 61 6e 31 2f 6c 73 64 | 65 6c 2e 31 27 20 2d 61 |man1/lsd|el.1' -a|
|00003eb0| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00003ec0| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00003ed0| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00003ee0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00003ef0| 69 6c 65 20 5c 22 27 6d | 61 6e 31 2f 6c 73 64 65 |ile \"'m|an1/lsde|
|00003f00| 6c 2e 31 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |l.1'\".e|lse.echo|
|00003f10| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00003f20| 67 20 5c 22 27 6d 61 6e | 31 2f 6c 73 64 65 6c 2e |g \"'man|1/lsdel.|
|00003f30| 31 27 5c 22 20 5c 28 31 | 39 30 32 20 63 68 61 72 |1'\" \(1|902 char|
|00003f40| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00003f50| 5e 58 2f 2f 22 20 3e 27 | 6d 61 6e 31 2f 6c 73 64 |^X//" >'|man1/lsd|
|00003f60| 65 6c 2e 31 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |el.1' <<|'END_OF_|
|00003f70| 46 49 4c 45 27 0a 58 2e | 5c 22 09 24 53 6f 75 72 |FILE'.X.|\".$Sour|
|00003f80| 63 65 3a 20 2f 6d 69 74 | 2f 6a 69 6b 2f 73 72 63 |ce: /mit|/jik/src|
|00003f90| 2f 64 65 6c 65 74 65 2f | 6d 61 6e 31 2f 52 43 53 |/delete/|man1/RCS|
|00003fa0| 2f 6c 73 64 65 6c 2e 31 | 2c 76 20 24 0a 58 2e 5c |/lsdel.1|,v $.X.\|
|00003fb0| 22 09 24 41 75 74 68 6f | 72 3a 20 6a 69 6b 20 24 |".$Autho|r: jik $|
|00003fc0| 0a 58 2e 5c 22 09 24 48 | 65 61 64 65 72 3a 20 6c |.X.\".$H|eader: l|
|00003fd0| 73 64 65 6c 2e 31 2c 76 | 20 31 2e 33 20 38 39 2f |sdel.1,v| 1.3 89/|
|00003fe0| 30 33 2f 32 37 20 31 31 | 3a 33 32 3a 34 35 20 6a |03/27 11|:32:45 j|
|00003ff0| 69 6b 20 45 78 70 20 24 | 0a 58 2e 5c 22 0a 58 2e |ik Exp $|.X.\".X.|
|00004000| 5c 22 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 38 |\" Copyr|ight 198|
|00004010| 39 20 62 79 20 74 68 65 | 20 4d 61 73 73 61 63 68 |9 by the| Massach|
|00004020| 75 73 65 74 74 73 20 49 | 6e 73 74 69 74 75 74 65 |usetts I|nstitute|
|00004030| 20 6f 66 20 54 65 63 68 | 6e 6f 6c 6f 67 79 2e 20 | of Tech|nology. |
|00004040| 20 41 6c 6c 0a 58 2e 5c | 22 20 72 69 67 68 74 73 | All.X.\|" rights|
|00004050| 20 72 65 73 65 72 76 65 | 64 2e 20 20 54 68 65 20 | reserve|d. The |
|00004060| 66 69 6c 65 20 2f 75 73 | 72 2f 69 6e 63 6c 75 64 |file /us|r/includ|
|00004070| 65 2f 6d 69 74 2d 63 6f | 70 79 72 69 67 68 74 2e |e/mit-co|pyright.|
|00004080| 68 20 73 70 65 63 69 66 | 69 65 73 0a 58 2e 5c 22 |h specif|ies.X.\"|
|00004090| 20 74 68 65 20 74 65 72 | 6d 73 20 61 6e 64 20 63 | the ter|ms and c|
|000040a0| 6f 6e 64 69 74 69 6f 6e | 73 20 66 6f 72 20 72 65 |ondition|s for re|
|000040b0| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 2e 0a 58 2e |distribu|tion..X.|
|000040c0| 5c 22 0a 58 2e 5c 22 0a | 58 2e 54 48 20 4c 53 44 |\".X.\".|X.TH LSD|
|000040d0| 45 4c 20 31 20 22 4a 61 | 6e 75 61 72 79 20 32 37 |EL 1 "Ja|nuary 27|
|000040e0| 2c 20 31 39 38 38 22 20 | 22 4d 49 54 20 50 72 6f |, 1988" |"MIT Pro|
|000040f0| 6a 65 63 74 20 41 74 68 | 65 6e 61 22 0a 58 2e 64 |ject Ath|ena".X.d|
|00004100| 73 20 5d 57 20 4d 49 54 | 20 50 72 6f 6a 65 63 74 |s ]W MIT| Project|
|00004110| 20 41 74 68 65 6e 61 0a | 58 2e 53 48 20 4e 41 4d | Athena.|X.SH NAM|
|00004120| 45 0a 58 6c 73 64 65 6c | 20 5c 2d 20 6c 69 73 74 |E.Xlsdel| \- list|
|00004130| 20 64 65 6c 65 74 65 64 | 20 66 69 6c 65 73 0a 58 | deleted| files.X|
|00004140| 2e 53 48 20 53 59 4e 4f | 50 53 49 53 0a 58 2e 42 |.SH SYNO|PSIS.X.B|
|00004150| 20 6c 73 64 65 6c 0a 58 | 5b 0a 58 2e 42 20 5c 2d | lsdel.X|[.X.B \-|
|00004160| 64 0a 58 5d 20 5b 0a 58 | 2e 42 20 5c 2d 72 0a 58 |d.X] [.X|.B \-r.X|
|00004170| 5d 20 5b 0a 58 2e 42 20 | 5c 2d 74 20 5c 66 49 6e |] [.X.B |\-t \fIn|
|00004180| 5c 66 52 0a 58 5d 20 5b | 0a 58 2e 42 20 5c 2d 79 |\fR.X] [|.X.B \-y|
|00004190| 0a 58 5d 20 5b 20 66 69 | 6c 65 6e 61 6d 65 20 5b |.X] [ fi|lename [|
|000041a0| 20 2e 2e 2e 20 5d 5d 0a | 58 2e 50 50 0a 58 2e 53 | ... ]].|X.PP.X.S|
|000041b0| 48 20 44 45 53 43 52 49 | 50 54 49 4f 4e 0a 58 2e |H DESCRI|PTION.X.|
|000041c0| 49 20 4c 73 64 65 6c 0a | 58 6c 69 73 74 73 20 66 |I Lsdel.|Xlists f|
|000041d0| 69 6c 65 73 20 74 68 61 | 74 20 68 61 76 65 20 62 |iles tha|t have b|
|000041e0| 65 65 6e 20 6d 61 72 6b | 65 64 20 66 6f 72 20 64 |een mark|ed for d|
|000041f0| 65 6c 65 74 69 6f 6e 20 | 62 79 20 74 68 65 20 5c |eletion |by the \|
|00004200| 66 49 64 65 6c 65 74 65 | 5c 66 52 28 31 29 0a 58 |fIdelete|\fR(1).X|
|00004210| 70 72 6f 67 72 61 6d 2e | 0a 58 2e 50 50 0a 58 46 |program.|.X.PP.XF|
|00004220| 6f 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |or infor|mation a|
|00004230| 62 6f 75 74 20 75 73 69 | 6e 67 20 77 69 6c 64 63 |bout usi|ng wildc|
|00004240| 61 72 64 73 20 77 69 74 | 68 20 5c 66 49 6c 73 64 |ards wit|h \fIlsd|
|00004250| 65 6c 5c 66 52 2c 20 73 | 65 65 0a 58 5c 66 49 75 |el\fR, s|ee.X\fIu|
|00004260| 6e 64 65 6c 65 74 65 5c | 66 52 28 31 29 2e 0a 58 |ndelete\|fR(1)..X|
|00004270| 2e 50 50 0a 58 46 69 6c | 65 6e 61 6d 65 73 20 70 |.PP.XFil|enames p|
|00004280| 61 73 73 65 64 20 74 6f | 20 5c 66 49 6c 73 64 65 |assed to| \fIlsde|
|00004290| 6c 5c 66 52 20 63 61 6e | 20 62 65 20 64 69 72 65 |l\fR can| be dire|
|000042a0| 63 74 6f 72 69 65 73 20 | 28 6e 6f 6e 2d 64 65 6c |ctories |(non-del|
|000042b0| 65 74 65 64 20 6f 72 0a | 58 64 65 6c 65 74 65 64 |eted or.|Xdeleted|
|000042c0| 29 20 6f 72 20 64 65 6c | 65 74 65 64 20 66 69 6c |) or del|eted fil|
|000042d0| 65 73 2e 20 20 49 66 20 | 61 20 6e 6f 6e 2d 64 65 |es. If |a non-de|
|000042e0| 6c 65 74 65 64 20 64 69 | 72 65 63 74 6f 72 79 20 |leted di|rectory |
|000042f0| 69 73 20 73 70 65 63 69 | 66 69 65 64 2c 0a 58 6c |is speci|fied,.Xl|
|00004300| 73 64 65 6c 20 6c 69 73 | 74 73 20 74 68 65 20 64 |sdel lis|ts the d|
|00004310| 65 6c 65 74 65 64 20 63 | 6f 6e 74 65 6e 74 73 20 |eleted c|ontents |
|00004320| 6f 66 20 74 68 61 74 20 | 64 69 72 65 63 74 6f 72 |of that |director|
|00004330| 79 2e 20 20 49 66 20 74 | 68 65 0a 58 2e 42 52 20 |y. If t|he.X.BR |
|00004340| 5c 2d 72 0a 58 6f 70 74 | 69 6f 6e 20 69 73 20 73 |\-r.Xopt|ion is s|
|00004350| 70 65 63 69 66 69 65 64 | 2c 20 61 6c 6c 20 6e 6f |pecified|, all no|
|00004360| 6e 2d 64 65 6c 65 74 65 | 64 20 63 68 69 6c 64 72 |n-delete|d childr|
|00004370| 65 6e 20 6f 66 20 74 68 | 65 20 64 69 72 65 63 74 |en of th|e direct|
|00004380| 6f 72 79 20 77 69 6c 6c | 20 62 65 0a 58 73 65 61 |ory will| be.Xsea|
|00004390| 72 63 68 65 64 20 72 65 | 63 75 72 73 69 76 65 6c |rched re|cursivel|
|000043a0| 79 20 66 6f 72 20 64 65 | 6c 65 74 65 64 20 66 69 |y for de|leted fi|
|000043b0| 6c 65 73 2e 20 20 49 66 | 20 6e 6f 74 20 63 6f 6d |les. If| not com|
|000043c0| 6d 61 6e 64 2d 6c 69 6e | 65 20 66 69 6c 65 6e 61 |mand-lin|e filena|
|000043d0| 6d 65 73 0a 58 61 72 65 | 20 73 70 65 63 69 66 69 |mes.Xare| specifi|
|000043e0| 65 64 2c 0a 58 2e 49 20 | 6c 73 64 65 6c 0a 58 64 |ed,.X.I |lsdel.Xd|
|000043f0| 65 66 61 75 6c 74 73 20 | 74 6f 20 74 68 65 20 63 |efaults |to the c|
|00004400| 75 72 72 65 6e 74 20 77 | 6f 72 6b 69 6e 67 20 64 |urrent w|orking d|
|00004410| 69 72 65 63 74 6f 72 79 | 2e 0a 58 2e 50 50 0a 58 |irectory|..X.PP.X|
|00004420| 2e 49 20 4c 73 64 65 6c | 0a 58 72 65 63 75 72 73 |.I Lsdel|.Xrecurs|
|00004430| 69 76 65 6c 79 20 6c 69 | 73 74 73 20 64 65 6c 65 |ively li|sts dele|
|00004440| 74 65 64 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |ted dire|ctories |
|00004450| 62 79 20 64 65 66 61 75 | 6c 74 2e 20 20 54 68 69 |by defau|lt. Thi|
|00004460| 73 20 63 61 6e 20 62 65 | 0a 58 64 69 73 61 62 6c |s can be|.Xdisabl|
|00004470| 65 64 20 77 69 74 68 20 | 74 68 65 0a 58 2e 42 52 |ed with |the.X.BR|
|00004480| 20 5c 2d 64 0a 58 6f 70 | 74 69 6f 6e 2c 20 77 68 | \-d.Xop|tion, wh|
|00004490| 69 63 68 20 63 61 75 73 | 65 73 20 64 69 72 65 63 |ich caus|es direc|
|000044a0| 74 6f 72 79 20 6e 61 6d | 65 73 2c 20 72 61 74 68 |tory nam|es, rath|
|000044b0| 65 72 20 74 68 61 6e 20 | 74 68 65 69 72 20 63 6f |er than |their co|
|000044c0| 6e 74 65 6e 74 73 2c 20 | 74 6f 0a 58 62 65 20 6c |ntents, |to.Xbe l|
|000044d0| 69 73 74 65 64 2e 0a 58 | 2e 50 50 0a 58 54 68 65 |isted..X|.PP.XThe|
|000044e0| 0a 58 2e 42 52 20 5c 2d | 74 0a 58 6f 70 74 69 6f |.X.BR \-|t.Xoptio|
|000044f0| 6e 20 61 6c 6c 6f 77 73 | 20 74 68 65 20 75 73 65 |n allows| the use|
|00004500| 72 20 74 6f 20 73 70 65 | 63 69 66 79 20 61 20 6d |r to spe|cify a m|
|00004510| 69 6e 69 6d 75 6d 20 61 | 67 65 2c 20 69 6e 20 64 |inimum a|ge, in d|
|00004520| 61 79 73 2c 20 6f 66 20 | 66 69 6c 65 73 20 74 6f |ays, of |files to|
|00004530| 0a 58 6c 69 73 74 2e 20 | 20 4f 6e 6c 79 20 66 69 |.Xlist. | Only fi|
|00004540| 6c 65 73 20 74 68 61 74 | 20 68 61 76 65 20 6e 6f |les that| have no|
|00004550| 74 20 62 65 65 6e 20 6d | 6f 64 69 66 69 65 64 20 |t been m|odified |
|00004560| 69 6e 20 5c 66 49 6e 5c | 66 52 20 64 61 79 73 20 |in \fIn\|fR days |
|00004570| 6f 72 20 6d 6f 72 65 0a | 58 77 69 6c 6c 20 62 65 |or more.|Xwill be|
|00004580| 20 6c 69 73 74 65 64 2e | 0a 58 2e 50 50 0a 58 54 | listed.|.X.PP.XT|
|00004590| 68 65 0a 58 2e 42 52 20 | 5c 2d 79 0a 58 6f 70 74 |he.X.BR |\-y.Xopt|
|000045a0| 69 6f 6e 20 63 61 75 73 | 65 73 0a 58 2e 49 20 6c |ion caus|es.X.I l|
|000045b0| 73 64 65 6c 0a 58 74 6f | 20 70 72 69 6e 74 20 74 |sdel.Xto| print t|
|000045c0| 68 65 20 74 6f 74 61 6c | 20 61 6d 6f 75 6e 74 20 |he total| amount |
|000045d0| 6f 66 20 73 70 61 63 65 | 20 74 61 6b 65 6e 20 75 |of space| taken u|
|000045e0| 70 20 62 79 20 61 6c 6c | 20 74 68 65 20 66 69 6c |p by all| the fil|
|000045f0| 65 73 20 69 74 20 6c 69 | 73 74 73 2e 0a 58 2e 53 |es it li|sts..X.S|
|00004600| 48 20 22 53 45 45 20 41 | 4c 53 4f 22 0a 58 64 65 |H "SEE A|LSO".Xde|
|00004610| 6c 65 74 65 28 31 29 2c | 20 75 6e 64 65 6c 65 74 |lete(1),| undelet|
|00004620| 65 28 31 29 2c 20 70 75 | 72 67 65 28 31 29 2c 20 |e(1), pu|rge(1), |
|00004630| 65 78 70 75 6e 67 65 28 | 31 29 2c 20 6c 73 28 31 |expunge(|1), ls(1|
|00004640| 29 0a 58 2e 53 48 20 41 | 55 54 48 4f 52 0a 58 4a |).X.SH A|UTHOR.XJ|
|00004650| 6f 6e 61 74 68 61 6e 20 | 49 2e 20 4b 61 6d 65 6e |onathan |I. Kamen|
|00004660| 73 20 28 4d 49 54 2d 50 | 72 6f 6a 65 63 74 20 41 |s (MIT-P|roject A|
|00004670| 74 68 65 6e 61 29 0a 58 | 2e 53 48 20 52 45 53 54 |thena).X|.SH REST|
|00004680| 52 49 43 54 49 4f 4e 53 | 0a 58 43 6f 70 79 72 69 |RICTIONS|.XCopyri|
|00004690| 67 68 74 20 28 63 29 20 | 31 39 38 39 20 62 79 20 |ght (c) |1989 by |
|000046a0| 74 68 65 20 4d 61 73 73 | 61 63 68 75 73 65 74 74 |the Mass|achusett|
|000046b0| 73 20 49 6e 73 74 69 74 | 75 74 65 20 6f 66 20 54 |s Instit|ute of T|
|000046c0| 65 63 68 6e 6f 6c 6f 67 | 79 2e 20 20 41 6c 6c 0a |echnolog|y. All.|
|000046d0| 58 72 69 67 68 74 73 20 | 72 65 73 65 72 76 65 64 |Xrights |reserved|
|000046e0| 2e 0a 58 2e 49 52 20 44 | 65 6c 65 74 65 20 28 31 |..X.IR D|elete (1|
|000046f0| 29 0a 58 73 70 65 63 69 | 66 69 65 73 20 74 68 65 |).Xspeci|fies the|
|00004700| 20 74 65 72 6d 73 20 61 | 6e 64 20 63 6f 6e 64 69 | terms a|nd condi|
|00004710| 74 69 6f 6e 73 20 66 6f | 72 20 72 65 64 69 73 74 |tions fo|r redist|
|00004720| 72 69 62 75 74 69 6f 6e | 2e 0a 45 4e 44 5f 4f 46 |ribution|..END_OF|
|00004730| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 31 39 |_FILE.if| test 19|
|00004740| 30 32 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |02 -ne `|wc -c <'|
|00004750| 6d 61 6e 31 2f 6c 73 64 | 65 6c 2e 31 27 60 3b 20 |man1/lsd|el.1'`; |
|00004760| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00004770| 61 72 3a 20 5c 22 27 6d | 61 6e 31 2f 6c 73 64 65 |ar: \"'m|an1/lsde|
|00004780| 6c 2e 31 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |l.1'\" u|npacked |
|00004790| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|000047a0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 6d 61 |.fi.# en|d of 'ma|
|000047b0| 6e 31 2f 6c 73 64 65 6c | 2e 31 27 0a 66 69 0a 69 |n1/lsdel|.1'.fi.i|
|000047c0| 66 20 74 65 73 74 20 2d | 66 20 27 6d 61 6e 31 2f |f test -|f 'man1/|
|000047d0| 70 75 72 67 65 2e 31 27 | 20 2d 61 20 22 24 7b 31 |purge.1'| -a "${1|
|000047e0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|000047f0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00004800| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00004810| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00004820| 22 27 6d 61 6e 31 2f 70 | 75 72 67 65 2e 31 27 5c |"'man1/p|urge.1'\|
|00004830| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00004840| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00004850| 6d 61 6e 31 2f 70 75 72 | 67 65 2e 31 27 5c 22 20 |man1/pur|ge.1'\" |
|00004860| 5c 28 33 34 38 20 63 68 | 61 72 61 63 74 65 72 73 |\(348 ch|aracters|
|00004870| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00004880| 3e 27 6d 61 6e 31 2f 70 | 75 72 67 65 2e 31 27 20 |>'man1/p|urge.1' |
|00004890| 3c 3c 27 45 4e 44 5f 4f | 46 5f 46 49 4c 45 27 0a |<<'END_O|F_FILE'.|
|000048a0| 58 2e 5c 22 09 24 53 6f | 75 72 63 65 3a 20 2f 6d |X.\".$So|urce: /m|
|000048b0| 69 74 2f 6a 69 6b 2f 73 | 72 63 2f 64 65 6c 65 74 |it/jik/s|rc/delet|
|000048c0| 65 2f 6d 61 6e 31 2f 52 | 43 53 2f 70 75 72 67 65 |e/man1/R|CS/purge|
|000048d0| 2e 31 2c 76 20 24 0a 58 | 2e 5c 22 09 24 41 75 74 |.1,v $.X|.\".$Aut|
|000048e0| 68 6f 72 3a 20 6a 69 6b | 20 24 0a 58 2e 5c 22 09 |hor: jik| $.X.\".|
|000048f0| 24 48 65 61 64 65 72 3a | 20 70 75 72 67 65 2e 31 |$Header:| purge.1|
|00004900| 2c 76 20 31 2e 31 20 38 | 39 2f 30 31 2f 32 37 20 |,v 1.1 8|9/01/27 |
|00004910| 30 34 3a 35 30 3a 31 33 | 20 6a 69 6b 20 45 78 70 |04:50:13| jik Exp|
|00004920| 20 24 0a 58 2e 5c 22 0a | 58 2e 5c 22 20 43 6f 70 | $.X.\".|X.\" Cop|
|00004930| 79 72 69 67 68 74 20 31 | 39 38 39 20 62 79 20 74 |yright 1|989 by t|
|00004940| 68 65 20 4d 61 73 73 61 | 63 68 75 73 65 74 74 73 |he Massa|chusetts|
|00004950| 20 49 6e 73 74 69 74 75 | 74 65 20 6f 66 20 54 65 | Institu|te of Te|
|00004960| 63 68 6e 6f 6c 6f 67 79 | 2e 20 20 41 6c 6c 0a 58 |chnology|. All.X|
|00004970| 2e 5c 22 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |.\" righ|ts reser|
|00004980| 76 65 64 2e 20 20 54 68 | 65 20 66 69 6c 65 20 2f |ved. Th|e file /|
|00004990| 75 73 72 2f 69 6e 63 6c | 75 64 65 2f 6d 69 74 2d |usr/incl|ude/mit-|
|000049a0| 63 6f 70 79 72 69 67 68 | 74 2e 68 20 73 70 65 63 |copyrigh|t.h spec|
|000049b0| 69 66 69 65 73 0a 58 2e | 5c 22 20 74 68 65 20 74 |ifies.X.|\" the t|
|000049c0| 65 72 6d 73 20 61 6e 64 | 20 63 6f 6e 64 69 74 69 |erms and| conditi|
|000049d0| 6f 6e 73 20 66 6f 72 20 | 72 65 64 69 73 74 72 69 |ons for |redistri|
|000049e0| 62 75 74 69 6f 6e 2e 0a | 58 2e 5c 22 0a 58 2e 5c |bution..|X.\".X.\|
|000049f0| 22 0a 58 2e 73 6f 20 6d | 61 6e 31 2f 65 78 70 75 |".X.so m|an1/expu|
|00004a00| 6e 67 65 2e 31 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |nge.1.EN|D_OF_FIL|
|00004a10| 45 0a 69 66 20 74 65 73 | 74 20 33 34 38 20 2d 6e |E.if tes|t 348 -n|
|00004a20| 65 20 60 77 63 20 2d 63 | 20 3c 27 6d 61 6e 31 2f |e `wc -c| <'man1/|
|00004a30| 70 75 72 67 65 2e 31 27 | 60 3b 20 74 68 65 6e 0a |purge.1'|`; then.|
|00004a40| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00004a50| 22 27 6d 61 6e 31 2f 70 | 75 72 67 65 2e 31 27 5c |"'man1/p|urge.1'\|
|00004a60| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00004a70| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00004a80| 20 65 6e 64 20 6f 66 20 | 27 6d 61 6e 31 2f 70 75 | end of |'man1/pu|
|00004a90| 72 67 65 2e 31 27 0a 66 | 69 0a 69 66 20 74 65 73 |rge.1'.f|i.if tes|
|00004aa0| 74 20 2d 66 20 27 6d 61 | 6e 31 2f 75 6e 64 65 6c |t -f 'ma|n1/undel|
|00004ab0| 65 74 65 2e 31 27 20 2d | 61 20 22 24 7b 31 7d 22 |ete.1' -|a "${1}"|
|00004ac0| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00004ad0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00004ae0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00004af0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00004b00| 6d 61 6e 31 2f 75 6e 64 | 65 6c 65 74 65 2e 31 27 |man1/und|elete.1'|
|00004b10| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|00004b20| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|00004b30| 27 6d 61 6e 31 2f 75 6e | 64 65 6c 65 74 65 2e 31 |'man1/un|delete.1|
|00004b40| 27 5c 22 20 5c 28 33 35 | 30 36 20 63 68 61 72 61 |'\" \(35|06 chara|
|00004b50| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00004b60| 58 2f 2f 22 20 3e 27 6d | 61 6e 31 2f 75 6e 64 65 |X//" >'m|an1/unde|
|00004b70| 6c 65 74 65 2e 31 27 20 | 3c 3c 27 45 4e 44 5f 4f |lete.1' |<<'END_O|
|00004b80| 46 5f 46 49 4c 45 27 0a | 58 2e 5c 22 09 24 53 6f |F_FILE'.|X.\".$So|
|00004b90| 75 72 63 65 3a 20 2f 6d | 69 74 2f 6a 69 6b 2f 73 |urce: /m|it/jik/s|
|00004ba0| 72 63 2f 64 65 6c 65 74 | 65 2f 6d 61 6e 31 2f 52 |rc/delet|e/man1/R|
|00004bb0| 43 53 2f 75 6e 64 65 6c | 65 74 65 2e 31 2c 76 20 |CS/undel|ete.1,v |
|00004bc0| 24 0a 58 2e 5c 22 09 24 | 41 75 74 68 6f 72 3a 20 |$.X.\".$|Author: |
|00004bd0| 6a 69 6b 20 24 0a 58 2e | 5c 22 09 24 48 65 61 64 |jik $.X.|\".$Head|
|00004be0| 65 72 3a 20 75 6e 64 65 | 6c 65 74 65 2e 31 2c 76 |er: unde|lete.1,v|
|00004bf0| 20 31 2e 33 20 38 39 2f | 30 33 2f 32 37 20 31 31 | 1.3 89/|03/27 11|
|00004c00| 3a 33 32 3a 33 32 20 6a | 69 6b 20 45 78 70 20 24 |:32:32 j|ik Exp $|
|00004c10| 0a 58 2e 5c 22 20 43 6f | 70 79 72 69 67 68 74 20 |.X.\" Co|pyright |
|00004c20| 31 39 38 39 20 62 79 20 | 74 68 65 20 4d 61 73 73 |1989 by |the Mass|
|00004c30| 61 63 68 75 73 65 74 74 | 73 20 49 6e 73 74 69 74 |achusett|s Instit|
|00004c40| 75 74 65 20 6f 66 20 54 | 65 63 68 6e 6f 6c 6f 67 |ute of T|echnolog|
|00004c50| 79 2e 20 20 41 6c 6c 0a | 58 2e 5c 22 20 72 69 67 |y. All.|X.\" rig|
|00004c60| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 20 20 54 |hts rese|rved. T|
|00004c70| 68 65 20 66 69 6c 65 20 | 2f 75 73 72 2f 69 6e 63 |he file |/usr/inc|
|00004c80| 6c 75 64 65 2f 6d 69 74 | 2d 63 6f 70 79 72 69 67 |lude/mit|-copyrig|
|00004c90| 68 74 2e 68 20 73 70 65 | 63 69 66 69 65 73 0a 58 |ht.h spe|cifies.X|
|00004ca0| 2e 5c 22 20 74 68 65 20 | 74 65 72 6d 73 20 61 6e |.\" the |terms an|
|00004cb0| 64 20 63 6f 6e 64 69 74 | 69 6f 6e 73 20 66 6f 72 |d condit|ions for|
|00004cc0| 20 72 65 64 69 73 74 72 | 69 62 75 74 69 6f 6e 2e | redistr|ibution.|
|00004cd0| 0a 58 2e 5c 22 0a 58 2e | 5c 22 0a 58 2e 54 48 20 |.X.\".X.|\".X.TH |
|00004ce0| 55 4e 44 45 4c 45 54 45 | 20 31 20 22 4a 61 6e 75 |UNDELETE| 1 "Janu|
|00004cf0| 61 72 79 20 32 36 2c 20 | 31 39 38 38 22 20 22 4d |ary 26, |1988" "M|
|00004d00| 49 54 20 50 72 6f 6a 65 | 63 74 20 41 74 68 65 6e |IT Proje|ct Athen|
|00004d10| 61 22 0a 58 2e 64 73 20 | 5d 57 20 4d 49 54 20 50 |a".X.ds |]W MIT P|
|00004d20| 72 6f 6a 65 63 74 20 41 | 74 68 65 6e 61 0a 58 2e |roject A|thena.X.|
|00004d30| 53 48 20 4e 41 4d 45 0a | 58 75 6e 64 65 6c 65 74 |SH NAME.|Xundelet|
|00004d40| 65 20 5c 2d 20 72 65 63 | 6f 76 65 72 20 66 69 6c |e \- rec|over fil|
|00004d50| 65 73 20 72 65 6d 6f 76 | 65 64 20 62 79 20 64 65 |es remov|ed by de|
|00004d60| 6c 65 74 65 0a 58 2e 53 | 48 20 53 59 4e 4f 50 53 |lete.X.S|H SYNOPS|
|00004d70| 49 53 0a 58 2e 42 20 75 | 6e 64 65 6c 65 74 65 0a |IS.X.B u|ndelete.|
|00004d80| 58 5b 0a 58 2e 42 20 5c | 2d 72 0a 58 5d 20 5b 0a |X[.X.B \|-r.X] [.|
|00004d90| 58 2e 42 20 5c 2d 69 0a | 58 5d 20 5b 0a 58 2e 42 |X.B \-i.|X] [.X.B|
|00004da0| 20 5c 2d 66 0a 58 5d 20 | 5b 0a 58 2e 42 20 5c 2d | \-f.X] |[.X.B \-|
|00004db0| 76 0a 58 5d 20 5b 0a 58 | 2e 42 20 5c 2d 6e 0a 58 |v.X] [.X|.B \-n.X|
|00004dc0| 5d 20 5b 0a 58 2e 42 20 | 5c 2d 52 0a 58 5d 20 5b |] [.X.B |\-R.X] [|
|00004dd0| 0a 58 2e 42 20 5c 2d 5c | 7c 5c 2d 0a 58 5d 20 5b |.X.B \-\||\-.X] [|
|00004de0| 20 66 69 6c 65 6e 61 6d | 65 20 5b 20 2e 2e 2e 20 | filenam|e [ ... |
|00004df0| 5d 5d 0a 58 2e 50 50 0a | 58 2e 44 45 53 43 52 49 |]].X.PP.|X.DESCRI|
|00004e00| 50 54 49 4f 4e 0a 58 2e | 49 20 55 6e 64 65 6c 65 |PTION.X.|I Undele|
|00004e10| 74 65 0a 58 72 65 63 6f | 76 65 72 73 20 66 69 6c |te.Xreco|vers fil|
|00004e20| 65 73 20 61 6e 64 20 64 | 69 72 65 63 74 6f 72 69 |es and d|irectori|
|00004e30| 65 73 20 74 68 61 74 20 | 68 61 76 65 20 62 65 65 |es that |have bee|
|00004e40| 6e 20 6d 61 72 6b 65 64 | 20 66 6f 72 20 70 65 72 |n marked| for per|
|00004e50| 6d 61 6e 65 6e 74 20 72 | 65 6d 6f 76 61 6c 20 62 |manent r|emoval b|
|00004e60| 79 20 0a 58 5c 66 49 64 | 65 6c 65 74 65 5c 66 52 |y .X\fId|elete\fR|
|00004e70| 28 31 29 2c 20 62 75 74 | 20 68 61 76 65 20 6e 6f |(1), but| have no|
|00004e80| 74 0a 58 79 65 74 20 62 | 65 65 6e 20 72 65 6d 6f |t.Xyet b|een remo|
|00004e90| 76 65 64 2e 0a 58 2e 50 | 50 0a 58 46 69 6c 65 6e |ved..X.P|P.XFilen|
|00004ea0| 61 6d 65 73 20 70 61 73 | 73 65 64 20 74 6f 0a 58 |ames pas|sed to.X|
|00004eb0| 2e 49 20 75 6e 64 65 6c | 65 74 65 0a 58 63 61 6e |.I undel|ete.Xcan|
|00004ec0| 20 62 65 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 | be dire|ctories |
|00004ed0| 6f 72 20 64 65 6c 65 74 | 65 64 20 66 69 6c 65 73 |or delet|ed files|
|00004ee0| 2e 0a 58 49 66 20 61 20 | 64 69 72 65 63 74 6f 72 |..XIf a |director|
|00004ef0| 79 20 74 68 61 74 20 69 | 73 20 6e 6f 74 20 64 65 |y that i|s not de|
|00004f00| 6c 65 74 65 64 20 69 73 | 20 70 61 73 73 65 64 20 |leted is| passed |
|00004f10| 74 6f 0a 58 2e 49 20 75 | 6e 64 65 6c 65 74 65 2c |to.X.I u|ndelete,|
|00004f20| 0a 58 74 68 65 6e 20 74 | 68 65 20 64 65 6c 65 74 |.Xthen t|he delet|
|00004f30| 65 64 20 66 69 6c 65 73 | 20 6f 72 20 64 69 72 65 |ed files| or dire|
|00004f40| 63 74 6f 72 69 65 73 20 | 69 6e 20 69 74 20 77 69 |ctories |in it wi|
|00004f50| 6c 6c 20 62 65 20 72 65 | 73 74 6f 72 65 64 3b 20 |ll be re|stored; |
|00004f60| 69 66 20 74 68 65 0a 58 | 72 65 63 75 72 73 69 76 |if the.X|recursiv|
|00004f70| 65 20 6f 70 74 69 6f 6e | 20 69 73 20 73 70 65 63 |e option| is spec|
|00004f80| 69 66 69 65 64 2c 20 74 | 68 65 6e 20 61 6c 6c 20 |ified, t|hen all |
|00004f90| 64 65 6c 65 74 65 64 20 | 66 69 6c 65 73 20 6f 72 |deleted |files or|
|00004fa0| 20 64 69 72 65 63 74 6f | 72 69 65 73 0a 58 69 6e | directo|ries.Xin|
|00004fb0| 20 61 6e 79 20 6f 66 20 | 69 74 73 20 63 68 69 6c | any of |its chil|
|00004fc0| 64 72 65 6e 20 77 69 6c | 6c 20 62 65 20 72 65 73 |dren wil|l be res|
|00004fd0| 74 6f 72 65 64 20 61 73 | 20 77 65 6c 6c 2e 0a 58 |tored as| well..X|
|00004fe0| 2e 50 50 0a 58 54 68 65 | 20 73 68 65 6c 6c 20 77 |.PP.XThe| shell w|
|00004ff0| 69 6c 64 63 61 72 64 73 | 20 5c 66 49 2a 5c 66 52 |ildcards| \fI*\fR|
|00005000| 20 61 6e 64 20 5c 66 49 | 3f 5c 66 52 20 61 72 65 | and \fI|?\fR are|
|00005010| 20 69 6e 74 65 72 70 72 | 65 74 65 64 20 63 6f 72 | interpr|eted cor|
|00005020| 72 65 63 74 6c 79 20 62 | 79 0a 58 2e 49 20 75 6e |rectly b|y.X.I un|
|00005030| 64 65 6c 65 74 65 2e 0a | 58 49 74 20 69 73 20 70 |delete..|XIt is p|
|00005040| 6f 73 73 69 62 6c 65 20 | 74 6f 20 70 61 73 73 20 |ossible |to pass |
|00005050| 77 69 6c 64 63 61 72 64 | 73 20 74 6f 20 74 68 65 |wildcard|s to the|
|00005060| 20 70 72 6f 67 72 61 6d | 20 77 69 74 68 6f 75 74 | program| without|
|00005070| 20 74 68 65 20 77 69 6c | 64 63 61 72 64 73 0a 58 | the wil|dcards.X|
|00005080| 62 65 69 6e 67 20 69 6e | 74 65 72 63 65 70 74 65 |being in|tercepte|
|00005090| 64 20 62 79 20 74 68 65 | 20 73 68 65 6c 6c 20 62 |d by the| shell b|
|000050a0| 79 20 73 65 74 74 69 6e | 67 0a 58 2e 49 20 6e 6f |y settin|g.X.I no|
|000050b0| 67 6c 6f 62 0a 58 28 69 | 6e 20 5c 66 49 63 73 68 |glob.X(i|n \fIcsh|
|000050c0| 5c 66 52 29 20 6f 72 20 | 62 79 20 71 75 6f 74 69 |\fR) or |by quoti|
|000050d0| 6e 67 20 74 68 65 20 77 | 69 6c 64 63 61 72 64 73 |ng the w|ildcards|
|000050e0| 2e 20 20 54 6f 20 64 65 | 6c 65 74 65 20 61 20 66 |. To de|lete a f|
|000050f0| 69 6c 65 20 74 68 61 74 | 0a 58 61 63 74 75 61 6c |ile that|.Xactual|
|00005100| 6c 79 20 68 61 73 20 61 | 20 77 69 6c 64 63 61 72 |ly has a| wildcar|
|00005110| 64 20 69 6e 20 69 74 73 | 20 6e 61 6d 65 2c 20 79 |d in its| name, y|
|00005120| 6f 75 20 6d 75 73 74 20 | 70 72 65 63 65 64 65 20 |ou must |precede |
|00005130| 74 68 65 20 71 75 6f 74 | 65 64 0a 58 77 69 6c 64 |the quot|ed.Xwild|
|00005140| 63 61 72 64 20 77 69 74 | 68 20 61 20 71 75 6f 74 |card wit|h a quot|
|00005150| 65 64 20 62 61 63 6b 73 | 6c 61 73 68 2e 0a 58 2e |ed backs|lash..X.|
|00005160| 50 50 0a 58 49 66 20 6e | 6f 20 66 69 6c 65 73 20 |PP.XIf n|o files |
|00005170| 61 72 65 20 73 70 65 63 | 69 66 69 65 64 20 6f 6e |are spec|ified on|
|00005180| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | the com|mand lin|
|00005190| 65 2c 0a 58 2e 49 20 75 | 6e 64 65 6c 65 74 65 0a |e,.X.I u|ndelete.|
|000051a0| 58 67 6f 65 73 20 69 6e | 74 6f 20 69 6e 74 65 72 |Xgoes in|to inter|
|000051b0| 61 63 74 69 76 65 20 6d | 6f 64 65 2e 20 20 49 6e |active m|ode. In|
|000051c0| 20 69 6e 74 65 72 61 63 | 74 69 76 65 20 6d 6f 64 | interac|tive mod|
|000051d0| 65 2c 20 74 68 65 20 75 | 73 65 72 20 69 73 20 70 |e, the u|ser is p|
|000051e0| 72 6f 6d 70 74 65 64 0a | 58 74 6f 20 65 6e 74 65 |rompted.|Xto ente|
|000051f0| 72 20 66 69 6c 65 73 20 | 74 6f 20 62 65 20 72 65 |r files |to be re|
|00005200| 73 74 6f 72 65 64 2c 20 | 6f 6e 65 20 66 69 6c 65 |stored, |one file|
|00005210| 20 70 65 72 20 6c 69 6e | 65 2e 20 20 54 79 70 69 | per lin|e. Typi|
|00005220| 6e 67 20 61 20 63 61 72 | 72 69 61 67 65 0a 58 72 |ng a car|riage.Xr|
|00005230| 65 74 75 72 6e 20 6f 6e | 20 61 6e 20 65 6d 70 74 |eturn on| an empt|
|00005240| 79 20 70 72 6f 6d 70 74 | 20 6c 69 6e 65 20 65 78 |y prompt| line ex|
|00005250| 69 74 73 20 74 68 65 20 | 70 72 6f 67 72 61 6d 2e |its the |program.|
|00005260| 0a 58 2e 50 50 0a 58 57 | 69 6c 64 63 61 72 64 73 |.X.PP.XW|ildcards|
|00005270| 20 61 6e 64 20 71 75 6f | 74 69 6e 67 20 62 61 63 | and quo|ting bac|
|00005280| 6b 73 6c 61 73 68 65 73 | 20 63 61 6e 20 62 65 20 |kslashes| can be |
|00005290| 65 6e 74 65 72 65 64 20 | 64 69 72 65 63 74 6c 79 |entered |directly|
|000052a0| 20 61 74 20 74 68 65 0a | 58 70 72 6f 6d 70 74 20 | at the.|Xprompt |
|000052b0| 77 69 74 68 6f 75 74 20 | 61 6e 79 20 73 68 65 6c |without |any shel|
|000052c0| 6c 20 69 6e 74 65 72 66 | 65 72 65 6e 63 65 20 28 |l interf|erence (|
|000052d0| 77 68 69 63 68 20 69 73 | 20 74 68 65 0a 58 6d 61 |which is| the.Xma|
|000052e0| 69 6e 20 72 65 61 73 6f | 6e 20 74 68 65 72 65 20 |in reaso|n there |
|000052f0| 69 73 20 61 6e 20 69 6e | 74 65 72 61 63 74 69 76 |is an in|teractiv|
|00005300| 65 20 6d 6f 64 65 29 2e | 0a 58 2e 53 48 20 4f 50 |e mode).|.X.SH OP|
|00005310| 54 49 4f 4e 53 0a 58 2e | 49 20 55 6e 64 65 6c 65 |TIONS.X.|I Undele|
|00005320| 74 65 0a 58 61 63 63 65 | 70 74 73 20 74 68 65 20 |te.Xacce|pts the |
|00005330| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 6f 6d 6d 61 6e |followin|g comman|
|00005340| 64 2d 6c 69 6e 65 20 6f | 70 74 69 6f 6e 73 3a 0a |d-line o|ptions:.|
|00005350| 58 2e 54 50 0a 58 2e 42 | 20 5c 2d 72 0a 58 49 66 |X.TP.X.B| \-r.XIf|
|00005360| 20 61 20 73 70 65 63 69 | 66 69 65 64 20 66 69 6c | a speci|fied fil|
|00005370| 65 20 69 73 20 61 20 64 | 69 72 65 63 74 6f 72 79 |e is a d|irectory|
|00005380| 2c 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |, the di|rectory |
|00005390| 61 6e 64 20 61 6c 6c 20 | 6f 66 20 69 74 73 0a 58 |and all |of its.X|
|000053a0| 63 68 69 6c 64 72 65 6e | 20 61 72 65 20 72 65 73 |children| are res|
|000053b0| 74 6f 72 65 64 20 72 65 | 63 75 72 73 69 76 65 6c |tored re|cursivel|
|000053c0| 79 2e 20 20 49 66 20 61 | 20 73 70 65 63 69 66 69 |y. If a| specifi|
|000053d0| 65 64 20 66 69 6c 65 20 | 69 73 20 61 20 73 79 6d |ed file |is a sym|
|000053e0| 62 6f 6c 69 63 0a 58 6c | 69 6e 6b 20 74 6f 20 61 |bolic.Xl|ink to a|
|000053f0| 20 64 69 72 65 63 74 6f | 72 79 2c 20 74 68 65 6e | directo|ry, then|
|00005400| 20 74 68 65 20 64 69 72 | 65 63 74 6f 72 79 20 61 | the dir|ectory a|
|00005410| 6e 64 20 69 74 73 20 63 | 6f 6e 74 65 6e 74 73 20 |nd its c|ontents |
|00005420| 77 69 6c 6c 20 62 65 0a | 58 72 65 73 74 6f 72 65 |will be.|Xrestore|
|00005430| 64 2c 20 6e 6f 74 20 74 | 68 65 20 73 79 6d 62 6f |d, not t|he symbo|
|00005440| 6c 69 63 20 6c 69 6e 6b | 2e 0a 58 2e 54 50 0a 58 |lic link|..X.TP.X|
|00005450| 2e 42 20 5c 2d 69 0a 58 | 54 68 65 20 75 73 65 72 |.B \-i.X|The user|
|00005460| 20 69 73 20 70 72 6f 6d | 70 74 65 64 20 66 6f 72 | is prom|pted for|
|00005470| 20 63 6f 6e 66 69 72 6d | 61 74 69 6f 6e 20 62 65 | confirm|ation be|
|00005480| 66 6f 72 65 20 65 61 63 | 68 20 66 69 6c 65 20 6f |fore eac|h file o|
|00005490| 72 20 64 69 72 65 63 74 | 6f 72 79 20 69 73 0a 58 |r direct|ory is.X|
|000054a0| 72 65 73 74 6f 72 65 64 | 2e 20 20 54 68 69 73 20 |restored|. This |
|000054b0| 69 73 20 6e 6f 74 20 74 | 68 65 20 73 61 6d 65 20 |is not t|he same |
|000054c0| 61 73 20 74 68 65 20 69 | 6e 74 65 72 61 63 74 69 |as the i|nteracti|
|000054d0| 76 65 20 66 69 6c 65 20 | 6e 61 6d 65 20 65 6e 74 |ve file |name ent|
|000054e0| 72 79 0a 58 6d 6f 64 65 | 20 77 68 69 63 68 20 69 |ry.Xmode| which i|
|000054f0| 73 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |s automa|tically |
|00005500| 61 63 74 69 76 61 74 65 | 64 20 77 68 65 6e 20 6e |activate|d when n|
|00005510| 6f 20 66 69 6c 65 73 20 | 61 72 65 20 73 70 65 63 |o files |are spec|
|00005520| 69 66 69 65 64 20 6f 6e | 0a 58 74 68 65 20 63 6f |ified on|.Xthe co|
|00005530| 6d 6d 61 6e 64 20 6c 69 | 6e 65 2e 0a 58 2e 54 50 |mmand li|ne..X.TP|
|00005540| 0a 58 2e 42 20 5c 2d 66 | 0a 58 50 72 65 76 65 6e |.X.B \-f|.XPreven|
|00005550| 74 73 0a 58 2e 49 20 75 | 6e 64 65 6c 65 74 65 0a |ts.X.I u|ndelete.|
|00005560| 58 66 72 6f 6d 20 72 65 | 70 6f 72 74 69 6e 67 20 |Xfrom re|porting |
|00005570| 65 72 72 6f 72 73 2e 20 | 20 46 75 72 74 68 65 72 |errors. | Further|
|00005580| 2c 20 69 66 20 61 6e 20 | 69 6e 74 61 63 74 20 28 |, if an |intact (|
|00005590| 75 6e 64 65 6c 65 74 65 | 64 29 20 76 65 72 73 69 |undelete|d) versi|
|000055a0| 6f 6e 20 6f 66 20 61 0a | 58 66 69 6c 65 20 77 68 |on of a.|Xfile wh|
|000055b0| 69 63 68 20 69 73 20 72 | 65 71 75 65 73 74 65 64 |ich is r|equested|
|000055c0| 20 66 6f 72 20 75 6e 64 | 65 6c 65 74 69 6f 6e 20 | for und|eletion |
|000055d0| 65 78 69 73 74 73 2c 20 | 74 68 65 6e 0a 58 2e 49 |exists, |then.X.I|
|000055e0| 20 75 6e 64 65 6c 65 74 | 65 0a 58 77 69 6c 6c 20 | undelet|e.Xwill |
|000055f0| 6e 6f 74 20 70 72 6f 6d | 70 74 20 66 6f 72 20 63 |not prom|pt for c|
|00005600| 6f 6e 66 69 72 6d 61 74 | 69 6f 6e 20 62 65 66 6f |onfirmat|ion befo|
|00005610| 72 65 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 74 |re overw|riting t|
|00005620| 68 65 20 75 6e 64 65 6c | 65 74 65 64 20 66 69 6c |he undel|eted fil|
|00005630| 65 0a 58 77 69 74 68 20 | 74 68 65 20 72 65 63 6f |e.Xwith |the reco|
|00005640| 76 65 72 65 64 20 6f 6e | 65 2e 0a 58 2e 54 50 0a |vered on|e..X.TP.|
|00005650| 58 2e 42 20 5c 2d 76 0a | 58 43 61 75 73 65 73 0a |X.B \-v.|XCauses.|
|00005660| 58 2e 49 20 75 6e 64 65 | 6c 65 74 65 0a 58 74 6f |X.I unde|lete.Xto|
|00005670| 20 72 65 70 6f 72 74 20 | 65 61 63 68 20 66 69 6c | report |each fil|
|00005680| 65 20 61 73 20 69 74 20 | 69 73 20 72 65 73 74 6f |e as it |is resto|
|00005690| 72 65 64 2e 20 20 41 6c | 73 6f 2c 20 63 61 75 73 |red. Al|so, caus|
|000056a0| 65 73 20 61 6e 20 69 6e | 74 72 6f 64 75 63 74 6f |es an in|troducto|
|000056b0| 72 79 0a 58 6d 65 73 73 | 61 67 65 20 74 6f 20 62 |ry.Xmess|age to b|
|000056c0| 65 20 70 72 69 6e 74 65 | 64 20 77 68 65 6e 20 65 |e printe|d when e|
|000056d0| 6e 74 65 72 69 6e 67 20 | 69 6e 74 65 72 61 63 74 |ntering |interact|
|000056e0| 69 76 65 20 6d 6f 64 65 | 2e 0a 58 2e 54 50 0a 58 |ive mode|..X.TP.X|
|000056f0| 2e 42 20 5c 2d 6e 0a 58 | 4e 6f 20 66 69 6c 65 20 |.B \-n.X|No file |
|00005700| 72 65 63 6f 76 65 72 69 | 65 73 20 61 72 65 20 70 |recoveri|es are p|
|00005710| 65 72 66 6f 72 6d 65 64 | 2e 20 20 49 6e 73 74 65 |erformed|. Inste|
|00005720| 61 64 2c 0a 58 2e 49 20 | 75 6e 64 65 6c 65 74 65 |ad,.X.I |undelete|
|00005730| 0a 58 70 72 69 6e 74 73 | 20 74 6f 20 74 68 65 20 |.Xprints| to the |
|00005740| 73 74 61 6e 64 61 72 64 | 20 6f 75 74 70 75 74 20 |standard| output |
|00005750| 74 68 65 20 66 69 6c 65 | 73 20 74 68 61 74 20 69 |the file|s that i|
|00005760| 74 20 77 6f 75 6c 64 20 | 72 65 63 6f 76 65 72 20 |t would |recover |
|00005770| 77 65 72 65 20 74 68 65 | 0a 58 2e 42 20 5c 2d 6e |were the|.X.B \-n|
|00005780| 0a 58 6f 70 74 69 6f 6e | 20 6e 6f 74 20 73 70 65 |.Xoption| not spe|
|00005790| 63 69 66 69 65 64 2e 0a | 58 2e 54 50 0a 58 2e 42 |cified..|X.TP.X.B|
|000057a0| 20 5c 2d 52 0a 58 50 72 | 65 76 65 6e 74 73 0a 58 | \-R.XPr|events.X|
|000057b0| 2e 49 20 75 6e 64 65 6c | 65 74 65 0a 58 66 72 6f |.I undel|ete.Xfro|
|000057c0| 6d 20 72 65 73 74 6f 72 | 69 6e 67 20 74 68 65 20 |m restor|ing the |
|000057d0| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 64 69 72 65 |contents| of dire|
|000057e0| 63 74 6f 72 69 65 73 20 | 69 6e 20 61 6e 79 20 63 |ctories |in any c|
|000057f0| 61 73 65 2e 0a 58 2e 54 | 50 0a 58 2e 42 20 5c 2d |ase..X.T|P.X.B \-|
|00005800| 5c 7c 5c 2d 0a 58 54 77 | 6f 20 64 61 73 68 65 73 |\|\-.XTw|o dashes|
|00005810| 20 69 6e 64 69 63 61 74 | 65 20 74 68 61 74 20 61 | indicat|e that a|
|00005820| 6c 6c 20 61 72 67 75 6d | 65 6e 74 73 20 66 6f 6c |ll argum|ents fol|
|00005830| 6c 6f 77 69 6e 67 20 69 | 74 20 61 72 65 20 74 6f |lowing i|t are to|
|00005840| 20 62 65 20 74 72 65 61 | 74 65 64 20 61 73 20 66 | be trea|ted as f|
|00005850| 69 6c 65 0a 58 6e 61 6d | 65 73 2c 20 65 76 65 6e |ile.Xnam|es, even|
|00005860| 20 69 66 20 74 68 65 79 | 20 73 74 61 72 74 20 77 | if they| start w|
|00005870| 69 74 68 20 61 20 64 61 | 73 68 2e 0a 58 2e 53 48 |ith a da|sh..X.SH|
|00005880| 20 22 53 45 45 20 41 4c | 53 4f 22 0a 58 64 65 6c | "SEE AL|SO".Xdel|
|00005890| 65 74 65 28 31 29 2c 20 | 70 75 72 67 65 28 31 29 |ete(1), |purge(1)|
|000058a0| 2c 20 65 78 70 75 6e 67 | 65 28 31 29 2c 20 6c 73 |, expung|e(1), ls|
|000058b0| 64 65 6c 28 31 29 2c 20 | 72 6d 28 31 29 2c 20 72 |del(1), |rm(1), r|
|000058c0| 6d 64 69 72 28 31 29 0a | 58 2e 53 48 20 41 55 54 |mdir(1).|X.SH AUT|
|000058d0| 48 4f 52 0a 58 4a 6f 6e | 61 74 68 61 6e 20 49 2e |HOR.XJon|athan I.|
|000058e0| 20 4b 61 6d 65 6e 73 20 | 28 4d 49 54 2d 50 72 6f | Kamens |(MIT-Pro|
|000058f0| 6a 65 63 74 20 41 74 68 | 65 6e 61 29 0a 58 2e 53 |ject Ath|ena).X.S|
|00005900| 48 20 52 45 53 54 52 49 | 43 54 49 4f 4e 53 0a 58 |H RESTRI|CTIONS.X|
|00005910| 43 6f 70 79 72 69 67 68 | 74 20 28 63 29 20 31 39 |Copyrigh|t (c) 19|
|00005920| 38 39 20 62 79 20 74 68 | 65 20 4d 61 73 73 61 63 |89 by th|e Massac|
|00005930| 68 75 73 65 74 74 73 20 | 49 6e 73 74 69 74 75 74 |husetts |Institut|
|00005940| 65 20 6f 66 20 54 65 63 | 68 6e 6f 6c 6f 67 79 2e |e of Tec|hnology.|
|00005950| 20 20 41 6c 6c 0a 58 72 | 69 67 68 74 73 20 72 65 | All.Xr|ights re|
|00005960| 73 65 72 76 65 64 2e 0a | 58 2e 49 52 20 44 65 6c |served..|X.IR Del|
|00005970| 65 74 65 20 28 31 29 0a | 58 73 70 65 63 69 66 69 |ete (1).|Xspecifi|
|00005980| 65 73 20 74 68 65 20 74 | 65 72 6d 73 20 61 6e 64 |es the t|erms and|
|00005990| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 20 66 6f 72 20 | conditi|ons for |
|000059a0| 72 65 64 69 73 74 72 69 | 62 75 74 69 6f 6e 2e 0a |redistri|bution..|
|000059b0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|000059c0| 65 73 74 20 33 35 30 36 | 20 2d 6e 65 20 60 77 63 |est 3506| -ne `wc|
|000059d0| 20 2d 63 20 3c 27 6d 61 | 6e 31 2f 75 6e 64 65 6c | -c <'ma|n1/undel|
|000059e0| 65 74 65 2e 31 27 60 3b | 20 74 68 65 6e 0a 20 20 |ete.1'`;| then. |
|000059f0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00005a00| 6d 61 6e 31 2f 75 6e 64 | 65 6c 65 74 65 2e 31 27 |man1/und|elete.1'|
|00005a10| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00005a20| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00005a30| 23 20 65 6e 64 20 6f 66 | 20 27 6d 61 6e 31 2f 75 |# end of| 'man1/u|
|00005a40| 6e 64 65 6c 65 74 65 2e | 31 27 0a 66 69 0a 69 66 |ndelete.|1'.fi.if|
|00005a50| 20 74 65 73 74 20 2d 66 | 20 27 6d 69 74 2d 63 6f | test -f| 'mit-co|
|00005a60| 70 79 72 69 67 68 74 2e | 68 27 20 2d 61 20 22 24 |pyright.|h' -a "$|
|00005a70| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00005a80| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00005a90| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00005aa0| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00005ab0| 20 5c 22 27 6d 69 74 2d | 63 6f 70 79 72 69 67 68 | \"'mit-|copyrigh|
|00005ac0| 74 2e 68 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |t.h'\".e|lse.echo|
|00005ad0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00005ae0| 67 20 5c 22 27 6d 69 74 | 2d 63 6f 70 79 72 69 67 |g \"'mit|-copyrig|
|00005af0| 68 74 2e 68 27 5c 22 20 | 5c 28 31 30 32 35 20 63 |ht.h'\" |\(1025 c|
|00005b00| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00005b10| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 6d 69 74 2d 63 |"s/^X//"| >'mit-c|
|00005b20| 6f 70 79 72 69 67 68 74 | 2e 68 27 20 3c 3c 27 45 |opyright|.h' <<'E|
|00005b30| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2f 2a 0a |ND_OF_FI|LE'.X/*.|
|00005b40| 58 0a 58 43 6f 70 79 72 | 69 67 68 74 20 31 39 38 |X.XCopyr|ight 198|
|00005b50| 37 2c 31 39 38 38 20 62 | 79 20 74 68 65 20 4d 61 |7,1988 b|y the Ma|
|00005b60| 73 73 61 63 68 75 73 65 | 74 74 73 20 49 6e 73 74 |ssachuse|tts Inst|
|00005b70| 69 74 75 74 65 20 6f 66 | 20 54 65 63 68 6e 6f 6c |itute of| Technol|
|00005b80| 6f 67 79 0a 58 0a 58 41 | 6c 6c 20 72 69 67 68 74 |ogy.X.XA|ll right|
|00005b90| 73 20 72 65 73 65 72 76 | 65 64 2e 0a 58 0a 58 50 |s reserv|ed..X.XP|
|00005ba0| 65 72 6d 69 73 73 69 6f | 6e 20 74 6f 20 75 73 65 |ermissio|n to use|
|00005bb0| 2c 20 63 6f 70 79 2c 20 | 6d 6f 64 69 66 79 2c 20 |, copy, |modify, |
|00005bc0| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 65 20 74 |and dist|ribute t|
|00005bd0| 68 69 73 20 73 6f 66 74 | 77 61 72 65 20 61 6e 64 |his soft|ware and|
|00005be0| 20 69 74 73 0a 58 64 6f | 63 75 6d 65 6e 74 61 74 | its.Xdo|cumentat|
|00005bf0| 69 6f 6e 20 66 6f 72 20 | 61 6e 79 20 70 75 72 70 |ion for |any purp|
|00005c00| 6f 73 65 20 61 6e 64 20 | 77 69 74 68 6f 75 74 20 |ose and |without |
|00005c10| 66 65 65 20 69 73 20 68 | 65 72 65 62 79 20 67 72 |fee is h|ereby gr|
|00005c20| 61 6e 74 65 64 2c 0a 58 | 70 72 6f 76 69 64 65 64 |anted,.X|provided|
|00005c30| 20 74 68 61 74 20 74 68 | 65 20 61 62 6f 76 65 20 | that th|e above |
|00005c40| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00005c50| 20 61 70 70 65 61 72 20 | 69 6e 20 61 6c 6c 20 63 | appear |in all c|
|00005c60| 6f 70 69 65 73 20 61 6e | 64 20 74 68 61 74 0a 58 |opies an|d that.X|
|00005c70| 62 6f 74 68 20 74 68 61 | 74 20 63 6f 70 79 72 69 |both tha|t copyri|
|00005c80| 67 68 74 20 6e 6f 74 69 | 63 65 20 61 6e 64 20 74 |ght noti|ce and t|
|00005c90| 68 69 73 20 70 65 72 6d | 69 73 73 69 6f 6e 20 6e |his perm|ission n|
|00005ca0| 6f 74 69 63 65 20 61 70 | 70 65 61 72 20 69 6e 0a |otice ap|pear in.|
|00005cb0| 58 73 75 70 70 6f 72 74 | 69 6e 67 20 64 6f 63 75 |Xsupport|ing docu|
|00005cc0| 6d 65 6e 74 61 74 69 6f | 6e 2c 20 61 6e 64 20 74 |mentatio|n, and t|
|00005cd0| 68 61 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |hat the |name of |
|00005ce0| 74 68 65 20 4d 61 73 73 | 61 63 68 75 73 65 74 74 |the Mass|achusett|
|00005cf0| 73 0a 58 49 6e 73 74 69 | 74 75 74 65 20 6f 66 20 |s.XInsti|tute of |
|00005d00| 54 65 63 68 6e 6f 6c 6f | 67 79 20 28 4d 2e 49 2e |Technolo|gy (M.I.|
|00005d10| 54 2e 29 20 6e 6f 74 20 | 62 65 20 75 73 65 64 20 |T.) not |be used |
|00005d20| 69 6e 20 61 64 76 65 72 | 74 69 73 69 6e 67 20 6f |in adver|tising o|
|00005d30| 72 20 70 75 62 6c 69 63 | 69 74 79 0a 58 70 65 72 |r public|ity.Xper|
|00005d40| 74 61 69 6e 69 6e 67 20 | 74 6f 20 64 69 73 74 72 |taining |to distr|
|00005d50| 69 62 75 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 73 |ibution |of the s|
|00005d60| 6f 66 74 77 61 72 65 20 | 77 69 74 68 6f 75 74 20 |oftware |without |
|00005d70| 73 70 65 63 69 66 69 63 | 2c 20 77 72 69 74 74 65 |specific|, writte|
|00005d80| 6e 0a 58 70 72 69 6f 72 | 20 70 65 72 6d 69 73 73 |n.Xprior| permiss|
|00005d90| 69 6f 6e 2e 0a 58 0a 58 | 4d 2e 49 2e 54 2e 20 44 |ion..X.X|M.I.T. D|
|00005da0| 49 53 43 4c 41 49 4d 53 | 20 41 4c 4c 20 57 41 52 |ISCLAIMS| ALL WAR|
|00005db0| 52 41 4e 54 49 45 53 20 | 57 49 54 48 20 52 45 47 |RANTIES |WITH REG|
|00005dc0| 41 52 44 20 54 4f 20 54 | 48 49 53 20 53 4f 46 54 |ARD TO T|HIS SOFT|
|00005dd0| 57 41 52 45 2c 20 49 4e | 43 4c 55 44 49 4e 47 0a |WARE, IN|CLUDING.|
|00005de0| 58 41 4c 4c 20 49 4d 50 | 4c 49 45 44 20 57 41 52 |XALL IMP|LIED WAR|
|00005df0| 52 41 4e 54 49 45 53 20 | 4f 46 20 4d 45 52 43 48 |RANTIES |OF MERCH|
|00005e00| 41 4e 54 41 42 49 4c 49 | 54 59 20 41 4e 44 20 46 |ANTABILI|TY AND F|
|00005e10| 49 54 4e 45 53 53 2c 20 | 49 4e 20 4e 4f 20 45 56 |ITNESS, |IN NO EV|
|00005e20| 45 4e 54 20 53 48 41 4c | 4c 0a 58 4d 2e 49 2e 54 |ENT SHAL|L.XM.I.T|
|00005e30| 2e 20 42 45 20 4c 49 41 | 42 4c 45 20 46 4f 52 20 |. BE LIA|BLE FOR |
|00005e40| 41 4e 59 20 53 50 45 43 | 49 41 4c 2c 20 49 4e 44 |ANY SPEC|IAL, IND|
|00005e50| 49 52 45 43 54 20 4f 52 | 20 43 4f 4e 53 45 51 55 |IRECT OR| CONSEQU|
|00005e60| 45 4e 54 49 41 4c 20 44 | 41 4d 41 47 45 53 20 4f |ENTIAL D|AMAGES O|
|00005e70| 52 0a 58 41 4e 59 20 44 | 41 4d 41 47 45 53 20 57 |R.XANY D|AMAGES W|
|00005e80| 48 41 54 53 4f 45 56 45 | 52 20 52 45 53 55 4c 54 |HATSOEVE|R RESULT|
|00005e90| 49 4e 47 20 46 52 4f 4d | 20 4c 4f 53 53 20 4f 46 |ING FROM| LOSS OF|
|00005ea0| 20 55 53 45 2c 20 44 41 | 54 41 20 4f 52 20 50 52 | USE, DA|TA OR PR|
|00005eb0| 4f 46 49 54 53 2c 0a 58 | 57 48 45 54 48 45 52 20 |OFITS,.X|WHETHER |
|00005ec0| 49 4e 20 41 4e 20 41 43 | 54 49 4f 4e 20 4f 46 20 |IN AN AC|TION OF |
|00005ed0| 43 4f 4e 54 52 41 43 54 | 2c 20 4e 45 47 4c 49 47 |CONTRACT|, NEGLIG|
|00005ee0| 45 4e 43 45 20 4f 52 20 | 4f 54 48 45 52 20 54 4f |ENCE OR |OTHER TO|
|00005ef0| 52 54 49 4f 55 53 20 41 | 43 54 49 4f 4e 2c 0a 58 |RTIOUS A|CTION,.X|
|00005f00| 41 52 49 53 49 4e 47 20 | 4f 55 54 20 4f 46 20 4f |ARISING |OUT OF O|
|00005f10| 52 20 49 4e 20 43 4f 4e | 4e 45 43 54 49 4f 4e 20 |R IN CON|NECTION |
|00005f20| 57 49 54 48 20 54 48 45 | 20 55 53 45 20 4f 52 20 |WITH THE| USE OR |
|00005f30| 50 45 52 46 4f 52 4d 41 | 4e 43 45 20 4f 46 20 54 |PERFORMA|NCE OF T|
|00005f40| 48 49 53 0a 58 53 4f 46 | 54 57 41 52 45 2e 0a 58 |HIS.XSOF|TWARE..X|
|00005f50| 0a 58 2a 2f 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |.X*/.END|_OF_FILE|
|00005f60| 0a 69 66 20 74 65 73 74 | 20 31 30 32 35 20 2d 6e |.if test| 1025 -n|
|00005f70| 65 20 60 77 63 20 2d 63 | 20 3c 27 6d 69 74 2d 63 |e `wc -c| <'mit-c|
|00005f80| 6f 70 79 72 69 67 68 74 | 2e 68 27 60 3b 20 74 68 |opyright|.h'`; th|
|00005f90| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|00005fa0| 3a 20 5c 22 27 6d 69 74 | 2d 63 6f 70 79 72 69 67 |: \"'mit|-copyrig|
|00005fb0| 68 74 2e 68 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |ht.h'\" |unpacked|
|00005fc0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00005fd0| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 6d |!.fi.# e|nd of 'm|
|00005fe0| 69 74 2d 63 6f 70 79 72 | 69 67 68 74 2e 68 27 0a |it-copyr|ight.h'.|
|00005ff0| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 70 |fi.if te|st -f 'p|
|00006000| 61 74 74 65 72 6e 2e 68 | 27 20 2d 61 20 22 24 7b |attern.h|' -a "${|
|00006010| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00006020| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|00006030| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|00006040| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|00006050| 5c 22 27 70 61 74 74 65 | 72 6e 2e 68 27 5c 22 0a |\"'patte|rn.h'\".|
|00006060| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|00006070| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 70 61 |Extracti|ng \"'pa|
|00006080| 74 74 65 72 6e 2e 68 27 | 5c 22 20 5c 28 37 34 31 |ttern.h'|\" \(741|
|00006090| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|000060a0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 70 61 74 |d "s/^X/|/" >'pat|
|000060b0| 74 65 72 6e 2e 68 27 20 | 3c 3c 27 45 4e 44 5f 4f |tern.h' |<<'END_O|
|000060c0| 46 5f 46 49 4c 45 27 0a | 58 2f 2a 0a 58 20 2a 20 |F_FILE'.|X/*.X * |
|000060d0| 24 53 6f 75 72 63 65 3a | 20 2f 6d 69 74 2f 6a 69 |$Source:| /mit/ji|
|000060e0| 6b 2f 73 72 63 2f 64 65 | 6c 65 74 65 2f 52 43 53 |k/src/de|lete/RCS|
|000060f0| 2f 70 61 74 74 65 72 6e | 2e 68 2c 76 20 24 0a 58 |/pattern|.h,v $.X|
|00006100| 20 2a 20 24 41 75 74 68 | 6f 72 3a 20 6a 69 6b 20 | * $Auth|or: jik |
|00006110| 24 0a 58 20 2a 20 24 48 | 65 61 64 65 72 3a 20 70 |$.X * $H|eader: p|
|00006120| 61 74 74 65 72 6e 2e 68 | 2c 76 20 31 2e 33 20 38 |attern.h|,v 1.3 8|
|00006130| 39 2f 30 33 2f 32 37 20 | 31 32 3a 30 37 3a 35 37 |9/03/27 |12:07:57|
|00006140| 20 6a 69 6b 20 45 78 70 | 20 24 0a 58 20 2a 20 0a | jik Exp| $.X * .|
|00006150| 58 20 2a 20 54 68 69 73 | 20 70 72 6f 67 72 61 6d |X * This| program|
|00006160| 20 69 73 20 70 61 72 74 | 20 6f 66 20 61 20 70 61 | is part| of a pa|
|00006170| 63 6b 61 67 65 20 69 6e | 63 6c 75 64 69 6e 67 20 |ckage in|cluding |
|00006180| 64 65 6c 65 74 65 2c 20 | 75 6e 64 65 6c 65 74 65 |delete, |undelete|
|00006190| 2c 0a 58 20 2a 20 6c 73 | 64 65 6c 2c 20 65 78 70 |,.X * ls|del, exp|
|000061a0| 75 6e 67 65 20 61 6e 64 | 20 70 75 72 67 65 2e 20 |unge and| purge. |
|000061b0| 20 54 68 65 20 73 6f 66 | 74 77 61 72 65 20 73 75 | The sof|tware su|
|000061c0| 69 74 65 20 69 73 20 6d | 65 61 6e 74 20 61 73 20 |ite is m|eant as |
|000061d0| 61 0a 58 20 2a 20 72 65 | 70 6c 61 63 65 6d 65 6e |a.X * re|placemen|
|000061e0| 74 20 66 6f 72 20 72 6d | 20 77 68 69 63 68 20 61 |t for rm| which a|
|000061f0| 6c 6c 6f 77 73 20 66 6f | 72 20 66 69 6c 65 20 72 |llows fo|r file r|
|00006200| 65 63 6f 76 65 72 79 2e | 0a 58 20 2a 20 0a 58 20 |ecovery.|.X * .X |
|00006210| 2a 20 43 6f 70 79 72 69 | 67 68 74 20 28 63 29 20 |* Copyri|ght (c) |
|00006220| 31 39 38 39 20 62 79 20 | 74 68 65 20 4d 61 73 73 |1989 by |the Mass|
|00006230| 61 63 68 75 73 65 74 74 | 73 20 49 6e 73 74 69 74 |achusett|s Instit|
|00006240| 75 74 65 20 6f 66 20 54 | 65 63 68 6e 6f 6c 6f 67 |ute of T|echnolog|
|00006250| 79 2e 0a 58 20 2a 20 46 | 6f 72 20 63 6f 70 79 69 |y..X * F|or copyi|
|00006260| 6e 67 20 61 6e 64 20 64 | 69 73 74 72 69 62 75 74 |ng and d|istribut|
|00006270| 69 6f 6e 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2c |ion info|rmation,|
|00006280| 20 73 65 65 20 74 68 65 | 20 66 69 6c 65 20 22 6d | see the| file "m|
|00006290| 69 74 2d 63 6f 70 79 72 | 69 67 68 74 2e 68 2e 22 |it-copyr|ight.h."|
|000062a0| 0a 58 20 2a 2f 0a 58 23 | 69 6e 63 6c 75 64 65 20 |.X */.X#|include |
|000062b0| 22 6d 69 74 2d 63 6f 70 | 79 72 69 67 68 74 2e 68 |"mit-cop|yright.h|
|000062c0| 22 0a 58 0a 58 63 68 61 | 72 20 2a 2a 61 64 64 5f |".X.Xcha|r **add_|
|000062d0| 73 74 72 28 29 3b 0a 58 | 63 68 61 72 20 2a 2a 66 |str();.X|char **f|
|000062e0| 69 6e 64 5f 63 6f 6e 74 | 65 6e 74 73 28 29 3b 0a |ind_cont|ents();.|
|000062f0| 58 63 68 61 72 20 2a 2a | 66 69 6e 64 5f 64 65 6c |Xchar **|find_del|
|00006300| 65 74 65 64 5f 63 6f 6e | 74 65 6e 74 73 28 29 3b |eted_con|tents();|
|00006310| 0a 58 63 68 61 72 20 2a | 2a 66 69 6e 64 5f 64 65 |.Xchar *|*find_de|
|00006320| 6c 65 74 65 64 5f 63 6f | 6e 74 65 6e 74 73 5f 72 |leted_co|ntents_r|
|00006330| 65 63 75 72 73 28 29 3b | 0a 58 63 68 61 72 20 2a |ecurs();|.Xchar *|
|00006340| 2a 66 69 6e 64 5f 6d 61 | 74 63 68 65 73 28 29 3b |*find_ma|tches();|
|00006350| 0a 58 63 68 61 72 20 2a | 2a 66 69 6e 64 5f 64 65 |.Xchar *|*find_de|
|00006360| 6c 65 74 65 64 5f 6d 61 | 74 63 68 65 73 28 29 3b |leted_ma|tches();|
|00006370| 0a 58 63 68 61 72 20 2a | 2a 66 69 6e 64 5f 72 65 |.Xchar *|*find_re|
|00006380| 63 75 72 73 65 73 28 29 | 3b 0a 58 63 68 61 72 20 |curses()|;.Xchar |
|00006390| 2a 2a 66 69 6e 64 5f 64 | 65 6c 65 74 65 64 5f 72 |**find_d|eleted_r|
|000063a0| 65 63 75 72 73 65 73 28 | 29 3b 0a 58 0a 58 63 68 |ecurses(|);.X.Xch|
|000063b0| 61 72 20 2a 70 61 72 73 | 65 5f 70 61 74 74 65 72 |ar *pars|e_patter|
|000063c0| 6e 28 29 3b 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |n();.END|_OF_FILE|
|000063d0| 0a 69 66 20 74 65 73 74 | 20 37 34 31 20 2d 6e 65 |.if test| 741 -ne|
|000063e0| 20 60 77 63 20 2d 63 20 | 3c 27 70 61 74 74 65 72 | `wc -c |<'patter|
|000063f0| 6e 2e 68 27 60 3b 20 74 | 68 65 6e 0a 20 20 20 20 |n.h'`; t|hen. |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.