home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / shell / safedele.3 / safedele
Tape Archive  |  1995-11-27  |  260.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Tape Archive (archive/tar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), directory safedelete-1.3/, mode 40755 , uid 765 , gid 144 , size 0 , seconds 6056375012, user renicker, group users default
98% file data default
62% TrID TAR - Tape ARchive (GNU) default
37% TrID TAR - Tape ARchive (directory) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU), owner user name: "te-1.3/" default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 73 61 66 65 64 65 6c 65 | 74 65 2d 31 2e 33 2f 00 |safedele|te-1.3/.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 37 |.... 407|55 . 7|
|00000070| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 36 30 35 36 33 37 35 | 0 | 6056375|
|00000090| 30 31 32 20 20 31 32 35 | 37 34 00 20 35 00 00 00 |012 125|74. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 72 65 6e 69 63 6b 65 |.ustar |.renicke|
|00000110| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 73 61 66 65 64 65 6c 65 | 74 65 2d 31 2e 33 2f 52 |safedele|te-1.3/R|
|00000210| 45 41 44 4d 45 00 00 00 | 00 00 00 00 00 00 00 00 |EADME...|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00000270| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00000280| 20 20 33 34 31 34 37 20 | 20 36 30 35 36 31 30 35 | 34147 | 6056105|
|00000290| 33 36 34 20 20 31 33 36 | 30 33 00 20 30 00 00 00 |364 136|03. 0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 72 65 6e 69 63 6b 65 |.ustar |.renicke|
|00000310| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 53 61 66 65 44 65 6c 65 | 74 65 20 31 2e 33 0a 2d |SafeDele|te 1.3.-|
|00000410| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 0a 53 |--------|-----..S|
|00000420| 61 66 65 44 65 6c 65 74 | 65 20 69 73 20 61 20 73 |afeDelet|e is a s|
|00000430| 65 74 20 6f 66 20 63 6f | 6d 6d 61 6e 64 73 20 77 |et of co|mmands w|
|00000440| 68 69 63 68 20 61 72 65 | 20 6d 65 61 6e 74 20 74 |hich are| meant t|
|00000450| 6f 20 73 61 66 65 6c 79 | 20 64 65 6c 65 74 65 20 |o safely| delete |
|00000460| 66 69 6c 65 73 0a 61 6e | 64 20 61 6c 6c 6f 77 20 |files.an|d allow |
|00000470| 74 68 65 6d 20 74 6f 20 | 62 65 20 75 6e 64 65 6c |them to |be undel|
|00000480| 65 74 65 64 2e 20 20 49 | 74 20 69 73 20 69 6e 74 |eted. I|t is int|
|00000490| 65 6e 64 65 64 20 74 6f | 20 62 65 20 61 20 73 68 |ended to| be a sh|
|000004a0| 65 6c 6c 20 65 6e 68 61 | 6e 63 65 6d 65 6e 74 0a |ell enha|ncement.|
|000004b0| 74 6f 20 74 68 65 20 2f | 62 69 6e 2f 72 6d 20 63 |to the /|bin/rm c|
|000004c0| 6f 6d 6d 61 6e 64 2e 0a | 0a 43 4f 4d 4d 41 4e 44 |ommand..|.COMMAND|
|000004d0| 53 3a 0a 0a 73 61 66 65 | 64 65 6c 65 74 65 20 2d |S:..safe|delete -|
|000004e0| 20 54 68 65 20 6d 61 69 | 6e 20 70 72 6f 67 72 61 | The mai|n progra|
|000004f0| 6d 20 77 68 69 63 68 2c | 20 77 68 65 6e 20 69 6e |m which,| when in|
|00000500| 76 6f 6b 65 64 2c 20 6d | 61 6b 65 73 20 61 20 63 |voked, m|akes a c|
|00000510| 6f 6d 70 72 65 73 73 65 | 64 20 63 6f 70 79 0a 20 |ompresse|d copy. |
|00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 6f 66 20 74 | | of t|
|00000530| 68 65 20 66 69 6c 65 28 | 73 29 20 73 70 65 63 69 |he file(|s) speci|
|00000540| 66 69 65 64 20 6f 6e 20 | 74 68 65 20 63 6f 6d 6d |fied on |the comm|
|00000550| 61 6e 64 20 6c 69 6e 65 | 20 61 6e 64 20 70 6c 61 |and line| and pla|
|00000560| 63 65 73 20 74 68 65 6d | 20 0a 20 20 20 20 20 20 |ces them| . |
|00000570| 20 20 20 20 20 20 20 69 | 6e 20 61 20 70 72 65 73 | i|n a pres|
|00000580| 65 6c 65 63 74 65 64 20 | 64 69 72 65 63 74 6f 72 |elected |director|
|00000590| 79 20 75 6e 64 65 72 20 | 61 20 70 72 6f 67 72 61 |y under |a progra|
|000005a0| 6d 2d 67 65 6e 65 72 61 | 74 65 64 20 66 69 6c 65 |m-genera|ted file|
|000005b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6e 61 |. | na|
|000005c0| 6d 65 2e 20 20 49 74 20 | 74 68 65 6e 20 75 70 64 |me. It |then upd|
|000005d0| 61 74 65 73 20 61 20 6c | 6f 67 20 66 69 6c 65 20 |ates a l|og file |
|000005e0| 74 6f 20 6b 65 65 70 20 | 74 72 61 63 6b 20 6f 66 |to keep |track of|
|000005f0| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 0a 20 20 | the ori|ginal. |
|00000600| 20 20 20 20 20 20 20 20 | 20 20 20 66 69 6c 65 20 | | file |
|00000610| 6e 61 6d 65 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |name as |well as |
|00000620| 74 68 65 20 67 65 6e 65 | 72 61 74 65 64 20 66 69 |the gene|rated fi|
|00000630| 6c 65 20 6e 61 6d 65 2e | 0a 0a 20 20 20 20 20 20 |le name.|.. |
|00000640| 20 20 20 20 20 20 20 4f | 6e 6c 79 20 72 65 67 75 | O|nly regu|
|00000650| 6c 61 72 20 66 69 6c 65 | 73 20 61 6e 64 20 73 79 |lar file|s and sy|
|00000660| 6d 62 6f 6c 69 63 20 6c | 69 6e 6b 73 20 61 72 65 |mbolic l|inks are|
|00000670| 20 70 72 6f 63 65 73 73 | 65 64 20 62 79 20 73 61 | process|ed by sa|
|00000680| 66 65 64 65 6c 65 74 65 | 2e 0a 20 20 20 20 20 20 |fedelete|.. |
|00000690| 20 20 20 20 20 20 20 53 | 70 65 63 69 61 6c 20 66 | S|pecial f|
|000006a0| 69 6c 65 73 2c 20 65 74 | 63 20 61 72 65 20 69 67 |iles, et|c are ig|
|000006b0| 6e 6f 72 65 64 2e 20 20 | 48 61 72 64 20 6c 69 6e |nored. |Hard lin|
|000006c0| 6b 73 20 61 72 65 20 70 | 72 6f 63 65 73 73 65 64 |ks are p|rocessed|
|000006d0| 20 6c 69 6b 65 20 0a 20 | 20 20 20 20 20 20 20 20 | like . | |
|000006e0| 20 20 20 20 72 65 67 75 | 6c 61 72 20 66 69 6c 65 | regu|lar file|
|000006f0| 73 2e 0a 0a 75 6e 64 65 | 6c 65 74 65 20 20 20 2d |s...unde|lete -|
|00000700| 20 54 68 69 73 20 63 6f | 6d 6d 61 6e 64 20 75 6e | This co|mmand un|
|00000710| 64 65 6c 65 74 65 73 20 | 66 69 6c 65 73 20 62 79 |deletes |files by|
|00000720| 20 73 63 61 6e 6e 69 6e | 67 20 74 68 65 20 6c 6f | scannin|g the lo|
|00000730| 67 2c 20 63 72 65 61 74 | 65 64 20 62 79 0a 20 20 |g, creat|ed by. |
|00000740| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 65 20 73 | | the s|
|00000750| 61 66 65 64 65 6c 65 74 | 65 20 63 6f 6d 6d 61 6e |afedelet|e comman|
|00000760| 64 2c 20 66 6f 72 20 74 | 68 65 20 66 69 6c 65 20 |d, for t|he file |
|00000770| 6e 61 6d 65 20 73 70 65 | 63 69 66 69 65 64 20 6f |name spe|cified o|
|00000780| 6e 20 74 68 65 20 0a 20 | 20 20 20 20 20 20 20 20 |n the . | |
|00000790| 20 20 20 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 | comm|and line|
|000007a0| 2e 20 20 4f 6e 63 65 20 | 66 6f 75 6e 64 2c 20 20 |. Once |found, |
|000007b0| 74 68 65 20 66 69 6c 65 | 20 69 73 20 72 65 73 74 |the file| is rest|
|000007c0| 6f 72 65 64 20 62 79 20 | 64 65 63 6f 6d 70 72 65 |ored by |decompre|
|000007d0| 73 73 69 6e 67 0a 20 20 | 20 20 20 20 20 20 20 20 |ssing. | |
|000007e0| 20 20 20 74 68 65 20 70 | 72 6f 67 72 61 6d 2d 67 | the p|rogram-g|
|000007f0| 65 6e 65 72 61 74 65 64 | 20 66 69 6c 65 20 6e 61 |enerated| file na|
|00000800| 6d 65 20 74 68 65 6e 20 | 63 6f 70 79 69 6e 67 20 |me then |copying |
|00000810| 69 74 20 62 61 63 6b 20 | 74 6f 20 69 74 73 20 0a |it back |to its .|
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6f 72 69 | | ori|
|00000830| 67 69 6e 61 6c 20 6c 6f | 63 61 74 69 6f 6e 20 28 |ginal lo|cation (|
|00000840| 61 6c 6f 6e 67 20 77 69 | 74 68 20 74 68 65 20 6f |along wi|th the o|
|00000850| 72 69 67 69 6e 61 6c 20 | 70 65 72 6d 69 73 73 69 |riginal |permissi|
|00000860| 6f 6e 73 2c 20 64 61 74 | 65 73 2c 0a 20 20 20 20 |ons, dat|es,. |
|00000870| 20 20 20 20 20 20 20 20 | 20 65 74 63 29 2e 0a 0a | | etc)...|
|00000880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 41 20 66 | | A f|
|00000890| 69 6c 65 20 6e 61 6d 65 | 20 6f 6e 20 74 68 65 20 |ile name| on the |
|000008a0| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 69 73 20 |command |line is |
|000008b0| 6f 70 74 69 6f 6e 61 6c | 2c 20 69 66 20 6e 6f 6e |optional|, if non|
|000008c0| 65 20 69 73 20 73 70 65 | 63 69 66 69 65 64 0a 20 |e is spe|cified. |
|000008d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 20 66 75 | | a fu|
|000008e0| 6c 6c 2d 73 63 72 65 65 | 6e 20 73 63 72 6f 6c 6c |ll-scree|n scroll|
|000008f0| 61 62 6c 65 20 6c 69 73 | 74 20 69 73 20 64 69 73 |able lis|t is dis|
|00000900| 70 6c 61 79 65 64 20 28 | 75 73 69 6e 67 20 6e 63 |played (|using nc|
|00000910| 75 72 73 65 73 29 20 0a | 20 20 20 20 20 20 20 20 |urses) .| |
|00000920| 20 20 20 20 20 61 6c 6c | 6f 77 69 6e 67 20 74 68 | all|owing th|
|00000930| 65 20 75 73 65 72 20 74 | 6f 20 73 65 6c 65 63 74 |e user t|o select|
|00000940| 20 77 68 69 63 68 20 66 | 69 6c 65 28 73 29 20 74 | which f|ile(s) t|
|00000950| 6f 20 75 6e 64 65 6c 65 | 74 65 2e 0a 0a 73 61 66 |o undele|te...saf|
|00000960| 65 64 65 6c 63 68 6b 20 | 2d 20 53 63 61 6e 73 20 |edelchk |- Scans |
|00000970| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 63 6f |the dire|ctory co|
|00000980| 6e 74 61 69 6e 69 6e 67 | 20 74 68 65 20 75 73 65 |ntaining| the use|
|00000990| 72 73 20 73 61 66 65 64 | 65 6c 65 74 65 64 20 66 |rs safed|eleted f|
|000009a0| 69 6c 65 73 20 61 6e 64 | 0a 20 20 20 20 20 20 20 |iles and|. |
|000009b0| 20 20 20 20 20 20 64 65 | 6c 65 74 65 73 20 74 68 | de|letes th|
|000009c0| 6f 73 65 20 74 68 61 74 | 20 61 72 65 20 6f 6c 64 |ose that| are old|
|000009d0| 65 72 20 74 68 61 6e 20 | 61 20 70 72 65 73 65 74 |er than |a preset|
|000009e0| 20 6d 61 78 69 6d 75 6d | 20 6e 75 6d 62 65 72 20 | maximum| number |
|000009f0| 6f 66 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |of. | |
|00000a00| 64 61 79 73 2e 20 20 54 | 68 65 20 75 73 65 72 73 |days. T|he users|
|00000a10| 20 6c 6f 67 20 66 69 6c | 65 20 69 73 20 61 6c 73 | log fil|e is als|
|00000a20| 6f 20 75 70 64 61 74 65 | 64 20 74 6f 20 72 65 66 |o update|d to ref|
|00000a30| 6c 65 63 74 20 77 68 69 | 63 68 20 66 69 6c 65 73 |lect whi|ch files|
|00000a40| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 |. | ca|
|00000a50| 6e 20 73 74 69 6c 6c 20 | 62 65 20 75 6e 64 65 6c |n still |be undel|
|00000a60| 65 74 65 64 2e 0a 0a 73 | 61 66 65 63 6e 76 74 20 |eted...s|afecnvt |
|00000a70| 20 20 2d 20 43 6f 6e 76 | 65 72 74 73 20 61 20 75 | - Conv|erts a u|
|00000a80| 73 65 72 73 20 2e 73 61 | 66 65 64 65 6c 65 74 65 |sers .sa|fedelete|
|00000a90| 2e 6c 6f 67 20 66 72 6f | 6d 20 6f 74 68 65 72 20 |.log fro|m other |
|00000aa0| 66 6f 72 6d 61 74 73 20 | 74 6f 20 74 68 65 20 66 |formats |to the f|
|00000ab0| 6f 72 6d 61 74 20 0a 20 | 20 20 20 20 20 20 20 20 |ormat . | |
|00000ac0| 20 20 20 20 72 65 71 75 | 69 72 65 64 20 62 79 20 | requ|ired by |
|00000ad0| 72 65 6c 65 61 73 65 20 | 31 2e 33 2e 20 20 49 74 |release |1.3. It|
|00000ae0| 20 61 6c 73 6f 20 63 6f | 70 69 65 73 20 74 68 65 | also co|pies the|
|00000af0| 20 66 69 6c 65 73 20 74 | 68 61 74 20 74 68 65 79 | files t|hat they|
|00000b00| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 75 |. | cu|
|00000b10| 72 72 65 6e 74 6c 79 20 | 68 61 76 65 20 73 61 66 |rrently |have saf|
|00000b20| 65 64 65 6c 65 74 65 64 | 20 66 72 6f 6d 20 74 68 |edeleted| from th|
|00000b30| 65 20 64 69 72 65 63 74 | 6f 72 79 20 75 73 65 64 |e direct|ory used|
|00000b40| 20 62 79 20 72 65 6c 65 | 61 73 65 20 31 2e 30 0a | by rele|ase 1.0.|
|00000b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 6f 20 | | to |
|00000b60| 74 68 65 20 6e 65 77 20 | 64 69 72 65 63 74 6f 72 |the new |director|
|00000b70| 79 20 75 73 65 64 20 69 | 6e 20 72 65 6c 65 61 73 |y used i|n releas|
|00000b80| 65 20 31 2e 33 2e 20 20 | 49 66 20 79 6f 75 20 61 |e 1.3. |If you a|
|00000b90| 72 65 20 75 73 69 6e 67 | 20 72 65 6c 65 61 73 65 |re using| release|
|00000ba0| 73 0a 09 20 20 20 20 20 | 31 2e 31 20 6f 72 20 31 |s.. |1.1 or 1|
|00000bb0| 2e 32 20 74 68 65 20 66 | 69 6c 65 73 20 61 72 65 |.2 the f|iles are|
|00000bc0| 20 61 6c 72 65 61 64 79 | 20 69 6e 20 74 68 65 20 | already| in the |
|00000bd0| 70 72 6f 70 65 72 20 6c | 6f 63 61 74 69 6f 6e 20 |proper l|ocation |
|00000be0| 61 6e 64 20 61 72 65 20 | 6e 6f 74 0a 09 20 20 20 |and are |not.. |
|00000bf0| 20 20 6d 6f 76 65 64 2e | 0a 0a 54 68 65 72 65 20 | moved.|..There |
|00000c00| 61 72 65 20 61 6c 73 6f | 20 61 20 63 6f 6d 70 6c |are also| a compl|
|00000c10| 65 74 65 20 73 65 74 20 | 6f 66 20 6d 61 6e 20 70 |ete set |of man p|
|00000c20| 61 67 65 73 20 64 65 73 | 63 72 69 62 69 6e 67 20 |ages des|cribing |
|00000c30| 74 68 65 20 6f 70 74 69 | 6f 6e 73 20 66 6f 72 20 |the opti|ons for |
|00000c40| 65 61 63 68 20 6f 66 0a | 74 68 65 73 65 20 63 6f |each of.|these co|
|00000c50| 6d 6d 61 6e 64 73 2e 0a | 0a 0a 0a 46 49 4c 45 53 |mmands..|...FILES|
|00000c60| 3a 0a 0a 2e 73 61 66 65 | 64 65 6c 65 74 65 2e 6c |:...safe|delete.l|
|00000c70| 6f 67 20 2d 20 45 61 63 | 68 20 75 73 65 72 20 68 |og - Eac|h user h|
|00000c80| 61 73 20 6f 6e 65 20 69 | 6e 20 74 68 65 69 72 20 |as one i|n their |
|00000c90| 24 48 4f 4d 45 20 64 69 | 72 65 63 74 6f 72 79 2e |$HOME di|rectory.|
|00000ca0| 20 20 49 74 20 69 73 20 | 62 61 73 69 63 61 6c 6c | It is |basicall|
|00000cb0| 79 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 61 |y. | a|
|00000cc0| 20 63 72 6f 73 73 2d 72 | 65 66 65 72 65 6e 63 65 | cross-r|eference|
|00000cd0| 20 62 65 74 77 65 65 6e | 20 74 68 65 20 6f 72 69 | between| the ori|
|00000ce0| 67 69 6e 61 6c 20 66 69 | 6c 65 20 6e 61 6d 65 73 |ginal fi|le names|
|00000cf0| 20 61 6e 64 20 74 68 65 | 69 72 20 0a 20 20 20 20 | and the|ir . |
|00000d00| 20 20 20 20 20 20 20 20 | 20 67 65 6e 65 72 61 74 | | generat|
|00000d10| 65 64 20 66 69 6c 65 20 | 6e 61 6d 65 73 2e 20 20 |ed file |names. |
|00000d20| 49 74 20 61 6c 73 6f 20 | 63 6f 6e 74 61 69 6e 73 |It also |contains|
|00000d30| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 69 6e | the ori|ginal in|
|00000d40| 6f 64 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ode. | |
|00000d50| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 66 6f 72 | informa|tion for|
|00000d60| 20 65 61 63 68 20 66 69 | 6c 65 2e 0a 0a 2e 73 61 | each fi|le....sa|
|00000d70| 66 65 64 65 6c 65 74 65 | 2e 6c 6f 63 6b 20 2d 20 |fedelete|.lock - |
|00000d80| 74 68 69 73 20 66 69 6c | 65 20 69 73 20 63 72 65 |this fil|e is cre|
|00000d90| 61 74 65 64 20 64 79 6e | 61 6d 69 63 61 6c 6c 79 |ated dyn|amically|
|00000da0| 20 74 6f 20 63 6f 6e 74 | 72 6f 6c 20 61 63 63 65 | to cont|rol acce|
|00000db0| 73 73 20 74 6f 20 74 68 | 65 0a 20 20 20 20 20 20 |ss to th|e. |
|00000dc0| 20 20 20 20 20 20 20 2e | 73 61 66 65 64 65 6c 65 | .|safedele|
|00000dd0| 74 65 2e 6c 6f 67 2e 20 | 20 45 61 63 68 20 70 72 |te.log. | Each pr|
|00000de0| 6f 67 72 61 6d 20 66 69 | 72 73 74 20 74 72 69 65 |ogram fi|rst trie|
|00000df0| 73 20 74 6f 20 61 63 71 | 75 69 72 65 20 74 68 65 |s to acq|uire the|
|00000e00| 20 6c 6f 63 6b 0a 20 20 | 20 20 20 20 20 20 20 20 | lock. | |
|00000e10| 20 20 20 62 65 66 6f 72 | 65 20 70 65 72 66 6f 72 | befor|e perfor|
|00000e20| 6d 69 6e 67 20 61 6e 79 | 20 70 72 6f 63 65 73 73 |ming any| process|
|00000e30| 69 6e 67 2e 20 20 54 68 | 65 20 6c 6f 63 6b 62 75 |ing. Th|e lockbu|
|00000e40| 73 79 20 6f 70 74 69 6f | 6e 20 69 6e 20 74 68 65 |sy optio|n in the|
|00000e50| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2e 53 |. | .S|
|00000e60| 61 66 65 64 65 6c 72 63 | 20 66 69 6c 65 20 64 65 |afedelrc| file de|
|00000e70| 73 63 72 69 62 65 73 20 | 77 68 61 74 20 61 63 74 |scribes |what act|
|00000e80| 69 6f 6e 20 73 68 6f 75 | 6c 64 20 62 65 20 74 61 |ion shou|ld be ta|
|00000e90| 6b 65 6e 20 69 66 20 74 | 68 65 20 6c 6f 63 6b 0a |ken if t|he lock.|
|00000ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 61 6e | | can|
|00000eb0| 6e 6f 74 20 62 65 20 61 | 63 71 75 69 72 65 64 2e |not be a|cquired.|
|00000ec0| 0a 0a 2e 53 61 66 65 64 | 65 6c 72 63 20 2d 20 54 |...Safed|elrc - T|
|00000ed0| 68 69 73 20 69 73 20 61 | 6e 20 6f 70 74 69 6f 6e |his is a|n option|
|00000ee0| 61 6c 20 66 69 6c 65 20 | 77 68 69 63 68 20 74 68 |al file |which th|
|00000ef0| 65 20 75 73 65 72 20 63 | 61 6e 20 70 6c 61 63 65 |e user c|an place|
|00000f00| 20 69 6e 20 74 68 65 69 | 72 20 24 48 4f 4d 45 0a | in thei|r $HOME.|
|00000f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 64 69 72 | | dir|
|00000f20| 65 63 74 6f 72 79 2e 20 | 20 49 74 20 63 6f 6e 74 |ectory. | It cont|
|00000f30| 61 69 6e 73 20 64 65 74 | 61 69 6c 20 6f 6e 20 69 |ains det|ail on i|
|00000f40| 74 65 6d 73 20 75 73 65 | 64 20 62 79 20 74 68 65 |tems use|d by the|
|00000f50| 20 53 61 66 65 44 65 6c | 65 74 65 0a 20 20 20 20 | SafeDel|ete. |
|00000f60| 20 20 20 20 20 20 20 20 | 20 63 6f 6d 6d 61 6e 64 | | command|
|00000f70| 73 2e 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |s... | |
|00000f80| 20 54 68 65 72 65 20 61 | 72 65 20 74 68 72 65 65 | There a|re three|
|00000f90| 20 73 65 63 74 69 6f 6e | 73 20 69 6e 20 74 68 65 | section|s in the|
|00000fa0| 20 2e 53 61 66 65 64 65 | 6c 72 63 20 66 69 6c 65 | .Safede|lrc file|
|00000fb0| 2e 20 20 45 61 63 68 20 | 73 65 63 74 69 6f 6e 0a |. Each |section.|
|00000fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 65 67 | | beg|
|00000fd0| 69 6e 73 20 77 69 74 68 | 20 61 20 68 65 61 64 65 |ins with| a heade|
|00000fe0| 72 20 6c 61 62 65 6c 20 | 61 6e 64 20 65 6e 64 73 |r label |and ends|
|00000ff0| 20 77 69 74 68 20 61 20 | 74 72 61 69 6c 65 72 20 | with a |trailer |
|00001000| 6c 61 62 65 6c 2e 20 20 | 54 68 65 0a 20 20 20 20 |label. |The. |
|00001010| 20 20 20 20 20 20 20 20 | 20 73 65 63 74 69 6f 6e | | section|
|00001020| 73 20 61 72 65 3a 0a 0a | 20 20 20 20 20 20 20 20 |s are:..| |
|00001030| 20 20 20 20 20 5b 73 61 | 66 65 64 61 79 73 5d 20 | [sa|fedays] |
|00001040| 2d 2d 20 63 6f 6e 74 61 | 69 6e 73 20 66 69 6c 65 |-- conta|ins file|
|00001050| 6e 61 6d 65 20 70 61 74 | 74 65 72 6e 73 20 61 6e |name pat|terns an|
|00001060| 64 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |d the nu|mber of |
|00001070| 64 61 79 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 |days. | |
|00001080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001090| 66 69 6c 65 73 20 6d 61 | 74 63 68 69 6e 67 20 74 |files ma|tching t|
|000010a0| 68 65 20 70 61 74 74 65 | 72 6e 20 73 68 6f 75 6c |he patte|rn shoul|
|000010b0| 64 20 62 65 20 6b 65 70 | 74 2e 20 20 54 68 65 20 |d be kep|t. The |
|000010c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000010d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 70 61 74 74 | | patt|
|000010e0| 65 72 6e 20 6d 75 73 74 | 20 62 65 67 69 6e 20 69 |ern must| begin i|
|000010f0| 6e 20 63 6f 6c 75 6d 6e | 20 31 20 61 6e 64 20 61 |n column| 1 and a|
|00001100| 74 20 6c 65 61 73 74 20 | 6f 6e 65 0a 20 20 20 20 |t least |one. |
|00001110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001120| 20 20 20 20 20 20 20 62 | 6c 61 6e 6b 20 6d 75 73 | b|lank mus|
|00001130| 74 20 73 65 70 61 72 61 | 74 65 20 74 68 65 20 70 |t separa|te the p|
|00001140| 61 74 74 65 72 6e 20 66 | 72 6f 6d 20 74 68 65 20 |attern f|rom the |
|00001150| 6e 75 6d 62 65 72 20 0a | 20 20 20 20 20 20 20 20 |number .| |
|00001160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001170| 20 20 20 6f 66 20 64 61 | 79 73 2e 20 20 4d 75 6c | of da|ys. Mul|
|00001180| 74 69 70 6c 65 20 70 61 | 74 74 65 72 6e 73 20 63 |tiple pa|tterns c|
|00001190| 61 6e 20 62 65 20 73 70 | 65 63 69 66 69 65 64 20 |an be sp|ecified |
|000011a0| 6f 6e 20 74 68 65 0a 20 | 20 20 20 20 20 20 20 20 |on the. | |
|000011b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011c0| 20 20 73 61 6d 65 20 6c | 69 6e 65 20 61 6e 64 20 | same l|ine and |
|000011d0| 6d 75 73 74 20 62 65 20 | 73 65 70 61 72 61 74 65 |must be |separate|
|000011e0| 64 20 62 79 20 63 6f 6d | 6d 61 73 2e 20 20 54 68 |d by com|mas. Th|
|000011f0| 65 20 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e . | |
|00001200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 70 61 | | pa|
|00001210| 74 74 65 72 6e 20 63 61 | 6e 20 63 6f 6e 74 61 69 |ttern ca|n contai|
|00001220| 6e 20 61 74 20 6d 6f 73 | 74 20 31 20 61 73 74 65 |n at mos|t 1 aste|
|00001230| 72 69 73 6b 20 28 66 6f | 72 20 61 20 0a 20 20 20 |risk (fo|r a . |
|00001240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001250| 20 20 20 20 20 20 20 20 | 77 69 6c 64 63 61 72 64 | |wildcard|
|00001260| 20 63 68 61 72 61 63 74 | 65 72 29 20 6f 72 20 63 | charact|er) or c|
|00001270| 61 6e 20 62 65 20 61 20 | 63 6f 6d 70 6c 65 74 65 |an be a |complete|
|00001280| 20 66 69 6c 65 6e 61 6d | 65 2e 0a 20 20 20 20 20 | filenam|e.. |
|00001290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012a0| 20 20 20 20 20 20 46 69 | 6c 65 73 20 6e 6f 74 20 | Fi|les not |
|000012b0| 6d 61 74 63 68 69 6e 67 | 20 61 6e 79 20 6f 66 20 |matching| any of |
|000012c0| 74 68 65 20 70 61 74 74 | 65 72 6e 73 20 77 69 6c |the patt|erns wil|
|000012d0| 6c 20 75 73 65 0a 20 20 | 20 20 20 20 20 20 20 20 |l use. | |
|000012e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012f0| 20 74 68 65 20 24 53 41 | 46 45 44 41 59 53 20 76 | the $SA|FEDAYS v|
|00001300| 61 72 69 61 62 6c 65 20 | 74 6f 20 64 65 74 65 72 |ariable |to deter|
|00001310| 6d 69 6e 65 20 77 68 65 | 6e 20 74 68 65 20 0a 20 |mine whe|n the . |
|00001320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001330| 20 20 20 20 20 20 20 20 | 20 20 73 61 66 65 64 65 | | safede|
|00001340| 6c 65 74 65 64 20 66 69 | 6c 65 20 73 68 6f 75 6c |leted fi|le shoul|
|00001350| 64 20 62 65 20 70 75 72 | 67 65 64 2e 20 20 53 70 |d be pur|ged. Sp|
|00001360| 65 63 69 66 79 69 6e 67 | 20 30 0a 20 20 20 20 20 |ecifying| 0. |
|00001370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001380| 20 20 20 20 20 20 66 6f | 72 20 74 68 65 20 6e 75 | fo|r the nu|
|00001390| 6d 62 65 72 20 6f 66 20 | 64 61 79 73 20 70 72 65 |mber of |days pre|
|000013a0| 76 65 6e 74 73 20 66 69 | 6c 65 73 20 6d 61 74 63 |vents fi|les matc|
|000013b0| 68 69 6e 67 0a 20 20 20 | 20 20 20 20 20 20 20 20 |hing. | |
|000013c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013d0| 74 68 65 20 70 61 74 74 | 65 72 6e 20 66 72 6f 6d |the patt|ern from|
|000013e0| 20 62 65 69 6e 67 20 73 | 61 66 65 64 65 6c 65 74 | being s|afedelet|
|000013f0| 65 64 2e 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ed... | |
|00001400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001410| 53 79 6e 74 61 78 3a 20 | 3c 70 61 74 74 65 72 6e |Syntax: |<pattern|
|00001420| 3e 5b 2c 70 61 74 74 65 | 72 6e 5d 5b 2c 2e 2e 2e |>[,patte|rn][,...|
|00001430| 5d 20 3c 6e 6f 2e 20 6f | 66 20 64 61 79 73 3e 0a |] <no. o|f days>.|
|00001440| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001450| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 78 61 6d | | Exam|
|00001460| 70 6c 65 3a 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |ple:.. | |
|00001470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001480| 20 5b 73 61 66 65 64 61 | 79 73 5d 0a 20 20 20 20 | [safeda|ys]. |
|00001490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014a0| 20 20 20 20 20 20 20 63 | 6f 72 65 2c 2f 74 6d 70 | c|ore,/tmp|
|000014b0| 2f 2a 20 30 0a 20 20 20 | 20 20 20 20 20 20 20 20 |/* 0. | |
|000014c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014d0| 2a 2e 63 20 37 0a 20 20 | 20 20 20 20 20 20 20 20 |*.c 7. | |
|000014e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014f0| 20 74 65 73 74 2a 2e 6f | 20 31 0a 20 20 20 20 20 | test*.o| 1. |
|00001500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001510| 20 20 20 20 20 20 5b 65 | 6e 64 73 65 63 74 69 6f | [e|ndsectio|
|00001520| 6e 5d 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |n].. | |
|00001530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 49 | | I|
|00001540| 6e 20 74 68 65 20 65 78 | 61 6d 70 6c 65 2c 20 61 |n the ex|ample, a|
|00001550| 6c 6c 20 63 6f 72 65 20 | 66 69 6c 65 73 20 61 6e |ll core |files an|
|00001560| 64 20 61 6c 6c 20 66 69 | 6c 65 73 20 69 6e 20 74 |d all fi|les in t|
|00001570| 68 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |he. | |
|00001580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 74 | | /t|
|00001590| 6d 70 20 64 69 72 65 63 | 74 6f 72 79 20 77 69 6c |mp direc|tory wil|
|000015a0| 6c 20 6e 6f 74 20 62 65 | 20 73 61 66 65 64 65 6c |l not be| safedel|
|000015b0| 65 74 65 64 2e 20 20 41 | 6c 6c 20 66 69 6c 65 73 |eted. A|ll files|
|000015c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000015d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6e 64 69 | | endi|
|000015e0| 6e 67 20 69 6e 20 2e 63 | 20 77 69 6c 6c 20 62 65 |ng in .c| will be|
|000015f0| 20 73 61 66 65 64 65 6c | 65 74 65 64 20 66 6f 72 | safedel|eted for|
|00001600| 20 37 20 64 61 79 73 20 | 61 6e 64 0a 20 20 20 20 | 7 days |and. |
|00001610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001620| 20 20 20 20 20 20 20 66 | 69 6c 65 73 20 62 65 67 | f|iles beg|
|00001630| 69 6e 6e 69 6e 67 20 77 | 69 74 68 20 74 65 73 74 |inning w|ith test|
|00001640| 20 61 6e 64 20 65 6e 64 | 69 6e 67 20 77 69 74 68 | and end|ing with|
|00001650| 20 2e 6f 20 77 69 6c 6c | 20 62 65 0a 20 20 20 20 | .o will| be. |
|00001660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001670| 20 20 20 20 20 20 20 73 | 61 66 65 64 65 6c 65 74 | s|afedelet|
|00001680| 65 64 20 66 6f 72 20 31 | 20 64 61 79 2e 0a 0a 0a |ed for 1| day....|
|00001690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5b 63 6f | | [co|
|000016a0| 6d 70 72 65 73 73 69 6f | 6e 5d 20 2d 2d 20 63 6f |mpressio|n] -- co|
|000016b0| 6e 74 61 69 6e 73 20 66 | 69 6c 65 6e 61 6d 65 20 |ntains f|ilename |
|000016c0| 70 61 74 74 65 72 6e 73 | 20 61 6e 64 20 74 68 65 |patterns| and the|
|000016d0| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 0a 20 20 20 | compres|sion. |
|000016e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016f0| 20 20 20 20 20 20 20 20 | 63 6f 6d 6d 61 6e 64 73 | |commands|
|00001700| 20 74 6f 20 62 65 20 75 | 73 65 64 20 66 6f 72 20 | to be u|sed for |
|00001710| 65 61 63 68 2e 20 20 54 | 68 65 20 73 70 65 63 69 |each. T|he speci|
|00001720| 61 6c 20 6b 65 79 77 6f | 72 64 20 0a 20 20 20 20 |al keywo|rd . |
|00001730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001740| 20 20 20 20 20 20 20 22 | 6e 6f 6e 65 22 20 69 73 | "|none" is|
|00001750| 20 72 65 63 6f 67 6e 69 | 7a 65 64 20 66 6f 72 20 | recogni|zed for |
|00001760| 66 69 6c 65 73 20 74 68 | 61 74 20 73 68 6f 75 6c |files th|at shoul|
|00001770| 64 20 6e 6f 74 20 62 65 | 0a 20 20 20 20 20 20 20 |d not be|. |
|00001780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001790| 20 20 20 20 63 6f 6d 70 | 72 65 73 73 65 64 2e 20 | comp|ressed. |
|000017a0| 20 42 6f 74 68 20 74 68 | 65 20 63 6f 6d 70 72 65 | Both th|e compre|
|000017b0| 73 73 69 6f 6e 20 61 6e | 64 20 64 65 63 6f 6d 70 |ssion an|d decomp|
|000017c0| 72 65 73 73 69 6f 6e 20 | 0a 20 20 20 20 20 20 20 |ression |. |
|000017d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017e0| 20 20 20 20 63 6f 6d 6d | 61 6e 64 73 20 6d 75 73 | comm|ands mus|
|000017f0| 74 20 62 65 20 73 70 65 | 63 69 66 69 65 64 20 66 |t be spe|cified f|
|00001800| 6f 72 20 65 61 63 68 20 | 70 61 74 74 65 72 6e 2e |or each |pattern.|
|00001810| 20 20 54 68 65 20 0a 20 | 20 20 20 20 20 20 20 20 | The . | |
|00001820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001830| 20 20 63 6f 6d 6d 61 6e | 64 73 20 6d 75 73 74 20 | comman|ds must |
|00001840| 62 65 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |be separ|ated by |
|00001850| 61 20 66 6f 72 77 61 72 | 64 20 73 6c 61 73 68 20 |a forwar|d slash |
|00001860| 22 2f 22 2e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |"/".. | |
|00001870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001880| 55 70 20 74 6f 20 34 30 | 20 63 68 61 72 61 63 74 |Up to 40| charact|
|00001890| 65 72 73 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |ers can |be used |
|000018a0| 66 6f 72 20 65 61 63 68 | 20 63 6f 6d 6d 61 6e 64 |for each| command|
|000018b0| 2e 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|000018c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 54 68 | | Th|
|000018d0| 65 20 70 61 74 74 65 72 | 6e 20 6d 75 73 74 20 62 |e patter|n must b|
|000018e0| 65 67 69 6e 20 69 6e 20 | 63 6f 6c 75 6d 6e 20 31 |egin in |column 1|
|000018f0| 20 77 69 74 68 20 61 74 | 20 6c 65 61 73 74 20 6f | with at| least o|
|00001900| 6e 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ne. | |
|00001910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 62 6c | | bl|
|00001920| 61 6e 6b 20 73 65 70 61 | 72 61 74 69 6e 67 20 74 |ank sepa|rating t|
|00001930| 68 65 20 70 61 74 74 65 | 72 6e 20 66 72 6f 6d 20 |he patte|rn from |
|00001940| 74 68 65 20 63 6f 6d 6d | 61 6e 64 73 2e 0a 0a 20 |the comm|ands... |
|00001950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001960| 20 20 20 20 20 20 20 20 | 20 20 53 79 6e 74 61 78 | | Syntax|
|00001970| 3a 20 3c 70 61 74 74 65 | 72 6e 3e 5b 2c 70 61 74 |: <patte|rn>[,pat|
|00001980| 74 65 72 6e 5d 5b 2c 2e | 2e 2e 5d 0a 20 20 20 20 |tern][,.|..]. |
|00001990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019b0| 20 20 20 20 3c 63 6f 6d | 70 72 65 73 73 3e 2f 3c | <com|press>/<|
|000019c0| 64 65 63 6f 6d 70 72 65 | 73 73 3e 0a 0a 20 20 20 |decompre|ss>.. |
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019e0| 20 20 20 20 20 20 20 20 | 45 78 61 6d 70 6c 65 3a | |Example:|
|000019f0| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5b 63 6f | | [co|
|00001a10| 6d 70 72 65 73 73 69 6f | 6e 5d 0a 20 20 20 20 20 |mpressio|n]. |
|00001a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a30| 20 20 20 20 20 20 2a 2e | 67 7a 2c 2a 2e 74 67 7a | *.|gz,*.tgz|
|00001a40| 2c 2a 2e 5a 20 6e 6f 6e | 65 0a 20 20 20 20 20 20 |,*.Z non|e. |
|00001a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a60| 20 20 20 20 20 2a 2e 63 | 20 67 7a 69 70 20 2d 39 | *.c| gzip -9|
|00001a70| 2f 67 75 6e 7a 69 70 0a | 20 20 20 20 20 20 20 20 |/gunzip.| |
|00001a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a90| 20 20 20 74 65 73 74 2a | 20 63 6f 6d 70 72 65 73 | test*| compres|
|00001aa0| 73 2f 75 6e 63 6f 6d 70 | 72 65 73 73 0a 20 20 20 |s/uncomp|ress. |
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ac0| 20 20 20 20 20 20 20 20 | 5b 65 6e 64 73 65 63 74 | |[endsect|
|00001ad0| 69 6f 6e 5d 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |ion].. | |
|00001ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001af0| 20 49 6e 20 74 68 65 20 | 65 78 61 6d 70 6c 65 2c | In the |example,|
|00001b00| 20 61 6c 6c 20 66 69 6c | 65 73 20 65 6e 64 69 6e | all fil|es endin|
|00001b10| 67 20 77 69 74 68 20 2e | 67 7a 2c 20 2e 74 67 7a |g with .|gz, .tgz|
|00001b20| 20 61 6e 64 0a 20 20 20 | 20 20 20 20 20 20 20 20 | and. | |
|00001b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b40| 2e 5a 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 62 65 |.Z shoul|d not be|
|00001b50| 20 63 6f 6d 70 72 65 73 | 73 65 64 20 77 68 69 6c | compres|sed whil|
|00001b60| 65 20 74 68 6f 73 65 20 | 65 6e 64 69 6e 67 20 77 |e those |ending w|
|00001b70| 69 74 68 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ith. | |
|00001b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2e | | .|
|00001b90| 63 20 73 68 6f 75 6c 64 | 20 62 65 20 63 6f 6d 70 |c should| be comp|
|00001ba0| 72 65 73 73 65 64 20 77 | 69 74 68 20 74 68 65 20 |ressed w|ith the |
|00001bb0| 67 7a 69 70 20 63 6f 6d | 6d 61 6e 64 20 61 6e 64 |gzip com|mand and|
|00001bc0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 64 65 63 6f | | deco|
|00001be0| 6d 70 72 65 73 73 65 64 | 20 77 69 74 68 20 67 75 |mpressed| with gu|
|00001bf0| 6e 7a 69 70 2e 20 20 41 | 6c 6c 20 66 69 6c 65 73 |nzip. A|ll files|
|00001c00| 20 73 74 61 72 74 69 6e | 67 20 77 69 74 68 0a 20 | startin|g with. |
|00001c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c20| 20 20 20 20 20 20 20 20 | 20 20 74 65 73 74 20 73 | | test s|
|00001c30| 68 6f 75 6c 64 20 62 65 | 20 63 6f 6d 70 72 65 73 |hould be| compres|
|00001c40| 73 65 64 20 77 69 74 68 | 20 63 6f 6d 70 72 65 73 |sed with| compres|
|00001c50| 73 20 61 6e 64 20 0a 20 | 20 20 20 20 20 20 20 20 |s and . | |
|00001c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c70| 20 20 64 65 63 6f 6d 70 | 72 65 73 73 65 64 20 77 | decomp|ressed w|
|00001c80| 69 74 68 20 75 6e 63 6f | 6d 70 72 65 73 73 2e 0a |ith unco|mpress..|
|00001c90| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5b |.. | [|
|00001ca0| 73 75 66 66 69 78 5d 20 | 2d 2d 2d 2d 20 63 6f 6e |suffix] |---- con|
|00001cb0| 74 61 69 6e 73 20 63 6f | 6d 70 72 65 73 73 69 6f |tains co|mpressio|
|00001cc0| 6e 20 63 6f 6d 6d 61 6e | 64 73 20 66 6f 6c 6c 6f |n comman|ds follo|
|00001cd0| 77 65 64 20 62 79 20 74 | 68 65 20 73 75 66 66 69 |wed by t|he suffi|
|00001ce0| 78 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |x. | |
|00001cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 61 63 | | eac|
|00001d00| 68 20 61 64 64 73 20 74 | 6f 20 74 68 65 20 66 69 |h adds t|o the fi|
|00001d10| 6c 65 6e 61 6d 65 2e 20 | 20 4d 75 6c 74 69 70 6c |lename. | Multipl|
|00001d20| 65 20 63 6f 6d 6d 61 6e | 64 73 2c 0a 20 20 20 20 |e comman|ds,. |
|00001d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d40| 20 20 20 20 20 20 20 73 | 65 70 61 72 61 74 65 64 | s|eparated|
|00001d50| 20 62 79 20 63 6f 6d 6d | 61 73 2c 20 63 61 6e 20 | by comm|as, can |
|00001d60| 62 65 20 65 6e 74 65 72 | 65 64 20 6f 6e 20 6f 6e |be enter|ed on on|
|00001d70| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e. | |
|00001d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6c 69 6e | | lin|
|00001d90| 65 20 61 6e 64 20 61 74 | 20 6c 65 61 73 74 20 6f |e and at| least o|
|00001da0| 6e 65 20 62 6c 61 6e 6b | 20 6d 75 73 74 20 73 65 |ne blank| must se|
|00001db0| 70 61 72 61 74 65 20 74 | 68 65 20 0a 20 20 20 20 |parate t|he . |
|00001dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001dd0| 20 20 20 20 20 20 20 63 | 6f 6d 6d 61 6e 64 73 20 | c|ommands |
|00001de0| 66 72 6f 6d 20 74 68 65 | 20 73 75 66 66 69 78 2e |from the| suffix.|
|00001df0| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00001e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 45 61 63 | | Eac|
|00001e10| 68 20 73 75 66 66 69 78 | 20 63 61 6e 20 62 65 20 |h suffix| can be |
|00001e20| 61 74 20 6d 6f 73 74 20 | 38 20 63 68 61 72 61 63 |at most |8 charac|
|00001e30| 74 65 72 73 20 6c 6f 6e | 67 20 28 61 20 64 6f 74 |ters lon|g (a dot|
|00001e40| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 6f 6c 6c | | foll|
|00001e60| 6f 77 65 64 20 62 79 20 | 75 70 20 74 6f 20 37 20 |owed by |up to 7 |
|00001e70| 63 68 61 72 61 63 74 65 | 72 73 29 2e 0a 0a 20 20 |characte|rs)... |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e90| 20 20 20 20 20 20 20 20 | 20 53 79 6e 74 61 78 3a | | Syntax:|
|00001ea0| 20 3c 63 6f 6d 6d 61 6e | 64 3e 5b 2c 63 6f 6d 6d | <comman|d>[,comm|
|00001eb0| 61 6e 64 5d 5b 2c 2e 2e | 2e 5d 20 3c 2e 73 75 66 |and][,..|.] <.suf|
|00001ec0| 66 69 78 3e 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |fix>.. | |
|00001ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ee0| 20 45 78 61 6d 70 6c 65 | 3a 0a 0a 20 20 20 20 20 | Example|:.. |
|00001ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f00| 20 20 20 20 20 20 5b 73 | 75 66 66 69 78 5d 0a 20 | [s|uffix]. |
|00001f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f20| 20 20 20 20 20 20 20 20 | 20 20 67 7a 69 70 20 2e | | gzip .|
|00001f30| 67 7a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |gz. | |
|00001f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 6f | | co|
|00001f50| 6d 70 72 65 73 73 20 2e | 5a 0a 20 20 20 20 20 20 |mpress .|Z. |
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f70| 20 20 20 20 20 5b 65 6e | 64 73 65 63 74 69 6f 6e | [en|dsection|
|00001f80| 5d 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |].. | |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 6e | | In|
|00001fa0| 20 74 68 65 20 65 78 61 | 6d 70 6c 65 2c 20 74 68 | the exa|mple, th|
|00001fb0| 65 20 67 7a 69 70 20 63 | 6f 6d 6d 61 6e 64 20 61 |e gzip c|ommand a|
|00001fc0| 64 64 73 20 74 68 65 20 | 2e 67 7a 20 73 75 66 66 |dds the |.gz suff|
|00001fd0| 69 78 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ix. | |
|00001fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 77 68 | | wh|
|00001ff0| 69 6c 65 20 74 68 65 20 | 63 6f 6d 70 72 65 73 73 |ile the |compress|
|00002000| 20 63 6f 6d 6d 61 6e 64 | 20 61 64 64 73 20 74 68 | command| adds th|
|00002010| 65 20 2e 5a 20 73 75 66 | 66 69 78 2e 0a 0a 20 20 |e .Z suf|fix... |
|00002020| 20 20 20 20 20 20 20 20 | 20 20 20 5b 6f 70 74 69 | | [opti|
|00002030| 6f 6e 73 5d 20 2d 2d 2d | 20 63 6f 6e 74 61 69 6e |ons] ---| contain|
|00002040| 73 20 76 61 72 69 6f 75 | 73 20 6f 70 74 69 6f 6e |s variou|s option|
|00002050| 73 20 74 68 61 74 20 61 | 66 66 65 63 74 20 74 68 |s that a|ffect th|
|00002060| 65 20 62 65 68 61 76 69 | 6f 72 0a 20 20 20 20 20 |e behavi|or. |
|00002070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002080| 20 20 20 20 20 20 6f 66 | 20 74 68 65 20 63 6f 6d | of| the com|
|00002090| 6d 61 6e 64 73 2e 0a 0a | 20 20 20 20 20 20 20 20 |mands...| |
|000020a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020b0| 20 20 20 53 79 6e 74 61 | 78 3a 0a 0a 20 20 20 20 | Synta|x:.. |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020d0| 20 20 20 20 20 20 20 6c | 6f 63 6b 62 75 73 79 20 | l|ockbusy |
|000020e0| 3c 61 63 74 69 6f 6e 3e | 20 2d 20 77 68 61 74 20 |<action>| - what |
|000020f0| 74 6f 20 64 6f 20 69 66 | 20 74 68 65 20 6c 6f 63 |to do if| the loc|
|00002100| 6b 20 66 69 6c 65 20 69 | 73 0a 20 20 20 20 20 20 |k file i|s. |
|00002110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002130| 20 20 20 20 20 20 20 20 | 20 61 6c 72 65 61 64 79 | | already|
|00002140| 20 69 6e 20 75 73 65 2e | 0a 0a 20 20 20 20 20 20 | in use.|.. |
|00002150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002160| 20 20 20 20 20 77 68 65 | 72 65 20 3c 61 63 74 69 | whe|re <acti|
|00002170| 6f 6e 3e 20 69 73 20 6f | 6e 65 20 6f 66 20 74 68 |on> is o|ne of th|
|00002180| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 3a 0a 0a 20 20 |e follow|ing:.. |
|00002190| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 77 61 69 | | wai|
|000021b0| 74 20 2d 20 77 61 69 74 | 20 75 6e 74 69 6c 20 74 |t - wait| until t|
|000021c0| 68 65 20 6c 6f 63 6b 20 | 66 69 6c 65 20 62 65 63 |he lock |file bec|
|000021d0| 6f 6d 65 73 20 61 76 61 | 69 6c 61 62 6c 65 2e 0a |omes ava|ilable..|
|000021e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002200| 20 20 20 20 20 20 61 20 | 6d 65 73 73 61 67 65 20 | a |message |
|00002210| 69 73 20 69 73 73 75 65 | 64 20 65 76 65 72 79 20 |is issue|d every |
|00002220| 35 20 73 65 63 6f 6e 64 | 73 20 69 6e 64 69 63 61 |5 second|s indica|
|00002230| 74 69 6e 67 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ting. | |
|00002240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002250| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 61 74 20 | | that |
|00002260| 74 68 65 20 6c 6f 63 6b | 20 66 69 6c 65 20 69 73 |the lock| file is|
|00002270| 20 73 74 69 6c 6c 20 62 | 75 73 79 2e 0a 0a 20 20 | still b|usy... |
|00002280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 72 6f | | pro|
|000022a0| 6d 70 74 20 2d 20 69 73 | 73 75 65 20 61 20 70 72 |mpt - is|sue a pr|
|000022b0| 6f 70 6d 74 20 65 76 65 | 72 79 20 35 20 73 65 63 |opmt eve|ry 5 sec|
|000022c0| 6f 6e 64 73 20 61 73 6b | 69 6e 67 20 69 66 20 74 |onds ask|ing if t|
|000022d0| 68 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |he. | |
|000022e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000022f0| 20 20 20 20 20 20 20 20 | 20 63 6f 6d 6d 61 6e 64 | | command|
|00002300| 20 73 68 6f 75 6c 64 20 | 63 6f 6e 74 69 6e 75 65 | should |continue|
|00002310| 20 77 61 69 74 69 6e 67 | 20 66 6f 72 20 74 68 65 | waiting| for the|
|00002320| 20 6c 6f 63 6b 0a 20 20 | 20 20 20 20 20 20 20 20 | lock. | |
|00002330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002340| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 69 6c 65 | | file|
|00002350| 2e 20 20 54 68 69 73 20 | 69 73 20 74 68 65 20 64 |. This |is the d|
|00002360| 65 66 61 75 6c 74 20 61 | 63 74 69 6f 6e 2e 0a 0a |efault a|ction...|
|00002370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 71 | | q|
|00002390| 75 69 74 20 2d 20 64 6f | 6e 27 74 20 77 61 69 74 |uit - do|n't wait|
|000023a0| 20 66 6f 72 20 74 68 65 | 20 6c 6f 63 6b 20 66 69 | for the| lock fi|
|000023b0| 6c 65 2c 20 6a 75 73 74 | 20 74 65 72 6d 69 6e 61 |le, just| termina|
|000023c0| 74 65 2e 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |te... | |
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023e0| 20 45 78 61 6d 70 6c 65 | 3a 0a 20 0a 20 20 20 20 | Example|:. . |
|000023f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002400| 20 20 20 20 20 20 20 20 | 5b 6f 70 74 69 6f 6e 73 | |[options|
|00002410| 5d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |]. | |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6c 6f | | lo|
|00002430| 63 6b 62 75 73 79 20 77 | 61 69 74 0a 20 20 20 20 |ckbusy w|ait. |
|00002440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002450| 20 20 20 20 20 20 20 20 | 5b 65 6e 64 73 65 63 74 | |[endsect|
|00002460| 69 6f 6e 5d 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |ion].. | |
|00002470| 20 20 20 53 65 65 20 74 | 68 65 20 73 61 66 65 64 | See t|he safed|
|00002480| 65 6c 72 63 28 35 29 20 | 6d 61 6e 20 70 61 67 65 |elrc(5) |man page|
|00002490| 20 6f 6e 20 66 6f 72 20 | 63 6f 6d 70 6c 65 74 65 | on for |complete|
|000024a0| 20 64 65 74 61 69 6c 73 | 2e 0a 0a 0a 0a 50 52 4f | details|.....PRO|
|000024b0| 42 4c 45 4d 20 52 45 50 | 4f 52 54 49 4e 47 3a 0a |BLEM REP|ORTING:.|
|000024c0| 0a 49 66 20 79 6f 75 20 | 65 6e 63 6f 75 6e 74 65 |.If you |encounte|
|000024d0| 72 20 61 6e 79 20 62 75 | 67 73 20 6f 72 20 68 61 |r any bu|gs or ha|
|000024e0| 76 65 20 61 6e 79 20 71 | 75 65 73 74 69 6f 6e 73 |ve any q|uestions|
|000024f0| 20 6f 72 20 63 6f 6d 6d | 65 6e 74 73 20 49 20 63 | or comm|ents I c|
|00002500| 61 6e 20 62 65 20 72 65 | 61 63 68 65 64 0a 69 6e |an be re|ached.in|
|00002510| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 77 | the fol|lowing w|
|00002520| 61 79 73 3a 0a 0a 65 2d | 6d 61 69 6c 3a 20 6a 72 |ays:..e-|mail: jr|
|00002530| 65 6e 69 63 6b 65 72 40 | 67 6f 6f 64 79 65 61 72 |enicker@|goodyear|
|00002540| 2e 63 6f 6d 0a 76 6f 69 | 63 65 3a 20 20 28 32 31 |.com.voi|ce: (21|
|00002550| 36 29 20 37 39 36 2d 33 | 39 38 34 0a 73 6e 61 69 |6) 796-3|984.snai|
|00002560| 6c 6d 61 69 6c 3a 20 47 | 6f 6f 64 79 65 61 72 20 |lmail: G|oodyear |
|00002570| 54 69 72 65 20 26 20 52 | 75 62 62 65 72 20 43 6f |Tire & R|ubber Co|
|00002580| 2e 0a 20 20 20 20 20 20 | 20 20 20 20 20 31 31 34 |.. | 114|
|00002590| 34 20 45 2e 20 4d 61 72 | 6b 65 74 20 53 74 2e 0a |4 E. Mar|ket St..|
|000025a0| 20 20 20 20 20 20 20 20 | 20 20 20 41 6b 72 6f 6e | | Akron|
|000025b0| 2c 20 4f 48 20 34 34 33 | 31 36 0a 20 20 20 20 20 |, OH 443|16. |
|000025c0| 20 20 20 20 20 20 41 54 | 54 4e 3a 20 4a 65 66 66 | AT|TN: Jeff|
|000025d0| 20 52 65 6e 69 63 6b 65 | 72 20 44 65 70 74 2e 20 | Renicke|r Dept. |
|000025e0| 36 35 39 2f 39 39 36 38 | 0a 0a 0a 0a 4d 59 20 53 |659/9968|....MY S|
|000025f0| 59 53 54 45 4d 20 43 4f | 4e 46 49 47 55 52 41 54 |YSTEM CO|NFIGURAT|
|00002600| 49 4f 4e 3a 0a 0a 54 68 | 69 73 20 70 61 63 6b 61 |ION:..Th|is packa|
|00002610| 67 65 20 77 61 73 20 62 | 75 69 6c 74 20 61 6e 64 |ge was b|uilt and|
|00002620| 20 74 65 73 74 65 64 20 | 6f 6e 20 61 20 53 6c 61 | tested |on a Sla|
|00002630| 63 6b 77 61 72 65 20 32 | 2e 32 2e 30 2e 31 20 73 |ckware 2|.2.0.1 s|
|00002640| 79 73 74 65 6d 0a 77 69 | 74 68 20 74 68 65 20 66 |ystem.wi|th the f|
|00002650| 6f 6c 6c 6f 77 69 6e 67 | 20 63 6f 6e 66 69 67 75 |ollowing| configu|
|00002660| 72 61 74 69 6f 6e 3a 0a | 0a 20 20 20 4c 69 6e 75 |ration:.|. Linu|
|00002670| 78 20 31 2e 32 2e 33 0a | 20 20 20 47 43 43 20 32 |x 1.2.3.| GCC 2|
|00002680| 2e 36 2e 33 0a 20 20 20 | 6c 69 62 63 20 34 2e 36 |.6.3. |libc 4.6|
|00002690| 2e 32 37 0a 20 20 20 6e | 63 75 72 73 65 73 20 31 |.27. n|curses 1|
|000026a0| 2e 38 2e 35 0a 0a 0a 0a | 50 4f 53 53 49 42 4c 45 |.8.5....|POSSIBLE|
|000026b0| 20 46 55 54 55 52 45 20 | 45 4e 48 41 4e 43 45 4d | FUTURE |ENHANCEM|
|000026c0| 45 4e 54 53 3a 0a 0a 2d | 20 41 64 64 20 61 64 64 |ENTS:..-| Add add|
|000026d0| 69 74 69 6f 6e 61 6c 20 | 6f 70 74 69 6f 6e 73 20 |itional |options |
|000026e0| 74 6f 20 74 68 65 20 2e | 53 61 66 65 64 65 6c 72 |to the .|Safedelr|
|000026f0| 63 20 66 69 6c 65 20 74 | 6f 20 61 6c 6c 6f 77 0a |c file t|o allow.|
|00002700| 20 20 76 61 72 69 6f 75 | 73 20 77 61 79 73 20 6f | variou|s ways o|
|00002710| 66 20 73 6f 72 74 69 6e | 67 20 74 68 65 20 6e 63 |f sortin|g the nc|
|00002720| 75 72 73 65 73 20 64 69 | 73 70 6c 61 79 2c 20 64 |urses di|splay, d|
|00002730| 69 66 66 65 72 65 6e 74 | 0a 20 20 77 61 79 73 20 |ifferent|. ways |
|00002740| 6f 66 20 64 69 73 70 6c | 61 79 69 6e 67 20 74 68 |of displ|aying th|
|00002750| 65 20 64 61 74 65 73 20 | 28 6d 6d 2f 64 64 2f 79 |e dates |(mm/dd/y|
|00002760| 79 20 76 73 20 64 64 2f | 6d 6d 2f 79 79 29 2c 20 |y vs dd/|mm/yy), |
|00002770| 65 74 63 0a 2d 20 41 6c | 6c 6f 77 20 61 6c 6c 20 |etc.- Al|low all |
|00002780| 6e 63 75 72 73 65 73 20 | 6f 70 74 69 6f 6e 73 20 |ncurses |options |
|00002790| 74 6f 20 62 65 20 64 6f | 6e 65 20 66 72 6f 6d 20 |to be do|ne from |
|000027a0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 0a 20 20 6c 69 |the comm|and. li|
|000027b0| 6e 65 20 28 63 75 72 72 | 65 6e 74 6c 79 20 74 68 |ne (curr|ently th|
|000027c0| 65 20 72 65 6d 6f 76 65 | 20 61 6e 64 20 6e 65 77 |e remove| and new|
|000027d0| 6e 61 6d 65 20 61 63 74 | 69 6f 6e 73 20 61 72 65 |name act|ions are|
|000027e0| 20 6e 6f 74 0a 20 20 61 | 76 61 69 6c 61 62 6c 65 | not. a|vailable|
|000027f0| 20 6f 6e 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 | on the |command |
|00002800| 6c 69 6e 65 29 0a 2d 20 | 41 64 64 20 61 20 63 68 |line).- |Add a ch|
|00002810| 61 72 61 63 74 65 72 20 | 73 65 61 72 63 68 20 6f |aracter |search o|
|00002820| 70 74 69 6f 6e 20 74 6f | 20 74 68 65 20 6e 63 75 |ption to| the ncu|
|00002830| 72 73 65 73 20 69 6e 74 | 65 72 66 61 63 65 0a 2d |rses int|erface.-|
|00002840| 20 41 6c 6c 6f 77 20 74 | 68 65 20 66 69 6c 65 73 | Allow t|he files|
|00002850| 20 74 6f 20 62 65 20 73 | 6f 72 74 65 64 20 69 6e | to be s|orted in|
|00002860| 20 76 61 72 69 6f 75 73 | 20 77 61 79 73 20 77 69 | various| ways wi|
|00002870| 74 68 69 6e 0a 20 20 74 | 68 65 20 6e 63 75 72 73 |thin. t|he ncurs|
|00002880| 65 73 20 69 6e 74 65 72 | 66 61 63 65 20 28 77 69 |es inter|face (wi|
|00002890| 74 68 6f 75 74 20 72 65 | 71 75 69 72 69 6e 67 20 |thout re|quiring |
|000028a0| 74 68 65 20 75 73 65 72 | 20 74 6f 20 0a 20 20 65 |the user| to . e|
|000028b0| 78 69 74 20 74 68 65 6e | 20 72 65 65 6e 74 65 72 |xit then| reenter|
|000028c0| 29 0a 2d 20 41 6c 6c 6f | 77 20 74 68 65 20 66 69 |).- Allo|w the fi|
|000028d0| 6c 65 6e 61 6d 65 20 70 | 61 74 74 65 72 6e 20 74 |lename p|attern t|
|000028e0| 6f 20 62 65 20 63 68 61 | 6e 67 65 64 20 77 69 74 |o be cha|nged wit|
|000028f0| 68 69 6e 20 74 68 65 0a | 20 20 6e 63 75 72 73 65 |hin the.| ncurse|
|00002900| 73 20 69 6e 74 65 72 66 | 61 63 65 0a 2d 20 41 64 |s interf|ace.- Ad|
|00002910| 64 20 73 75 70 70 6f 72 | 74 20 66 6f 72 20 70 61 |d suppor|t for pa|
|00002920| 67 65 2d 75 70 2c 20 70 | 61 67 65 2d 64 6f 77 6e |ge-up, p|age-down|
|00002930| 2c 20 68 6f 6d 65 2c 20 | 61 6e 64 20 65 6e 64 20 |, home, |and end |
|00002940| 6b 65 79 73 0a 20 20 69 | 6e 20 74 68 65 20 6e 63 |keys. i|n the nc|
|00002950| 75 72 73 65 73 20 69 6e | 74 65 72 66 61 63 65 0a |urses in|terface.|
|00002960| 2d 20 50 75 74 20 61 6c | 6c 20 66 69 6c 65 20 6d |- Put al|l file m|
|00002970| 6f 76 65 6d 65 6e 74 20 | 61 6e 64 20 63 6f 6d 70 |ovement |and comp|
|00002980| 72 65 73 73 69 6f 6e 20 | 69 6e 74 6f 20 61 20 62 |ression |into a b|
|00002990| 61 63 6b 67 72 6f 75 6e | 64 0a 20 20 70 72 6f 63 |ackgroun|d. proc|
|000029a0| 65 73 73 20 74 6f 20 69 | 6d 70 72 6f 76 65 20 74 |ess to i|mprove t|
|000029b0| 68 65 20 72 65 73 70 6f | 6e 73 65 20 74 69 6d 65 |he respo|nse time|
|000029c0| 20 6f 66 20 73 61 66 65 | 64 65 6c 65 74 65 0a 2d | of safe|delete.-|
|000029d0| 20 41 64 64 20 6d 6f 75 | 73 65 20 73 75 70 70 6f | Add mou|se suppo|
|000029e0| 72 74 20 74 6f 20 74 68 | 65 20 6e 63 75 72 73 65 |rt to th|e ncurse|
|000029f0| 73 20 75 6e 64 65 6c 65 | 74 65 20 73 6f 20 66 69 |s undele|te so fi|
|00002a00| 6c 65 73 20 63 61 6e 20 | 0a 20 20 62 65 20 73 65 |les can |. be se|
|00002a10| 6c 65 63 74 65 64 20 77 | 69 74 68 20 61 20 6d 6f |lected w|ith a mo|
|00002a20| 75 73 65 20 61 73 20 77 | 65 6c 6c 20 61 73 20 74 |use as w|ell as t|
|00002a30| 68 65 20 6b 65 79 62 6f | 61 72 64 0a 2d 20 48 61 |he keybo|ard.- Ha|
|00002a40| 76 65 20 75 6e 64 65 6c | 65 74 65 20 72 75 6e 20 |ve undel|ete run |
|00002a50| 6e 61 74 69 76 65 6c 79 | 20 75 6e 64 65 72 20 58 |natively| under X|
|00002a60| 31 31 20 0a 0a 0a 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |11 ...==|========|
|00002a70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002a80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002a90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002aa0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002ab0| 3d 3d 3d 3d 3d 3d 0a 59 | 6f 75 20 6f 6e 6c 79 20 |======.Y|ou only |
|00002ac0| 6e 65 65 64 20 74 6f 20 | 72 65 61 64 20 74 68 65 |need to |read the|
|00002ad0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 69 66 20 79 6f | followi|ng if yo|
|00002ae0| 75 20 61 72 65 20 72 65 | 61 6c 6c 79 20 69 6e 74 |u are re|ally int|
|00002af0| 65 72 65 73 74 65 64 20 | 69 6e 20 68 6f 77 20 69 |erested |in how i|
|00002b00| 74 20 77 6f 72 6b 73 0a | 3d 3d 3d 3d 3d 3d 3d 3d |t works.|========|
|00002b10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002b20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002b30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002b40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002b50| 3d 3d 3d 3d 3d 3d 3d 3d | 0a 0a 54 68 69 73 20 75 |========|..This u|
|00002b60| 74 69 6c 69 74 79 20 69 | 73 20 70 61 74 74 65 72 |tility i|s patter|
|00002b70| 6e 65 64 20 61 66 74 65 | 72 20 74 68 65 20 53 6d |ned afte|r the Sm|
|00002b80| 61 72 74 43 61 6e 20 75 | 74 69 6c 69 74 79 20 66 |artCan u|tility f|
|00002b90| 72 6f 6d 20 53 79 6d 61 | 6e 74 65 63 20 43 6f 72 |rom Syma|ntec Cor|
|00002ba0| 70 2e 20 20 57 68 65 6e | 20 0a 61 20 66 69 6c 65 |p. When| .a file|
|00002bb0| 20 69 73 20 64 65 6c 65 | 74 65 64 20 62 79 20 74 | is dele|ted by t|
|00002bc0| 68 65 20 75 73 65 72 20 | 61 20 63 6f 6d 70 72 65 |he user |a compre|
|00002bd0| 73 73 65 64 20 63 6f 70 | 79 20 6f 66 20 69 74 20 |ssed cop|y of it |
|00002be0| 69 73 20 70 6c 61 63 65 | 64 20 69 6e 20 61 20 70 |is place|d in a p|
|00002bf0| 72 65 73 65 6c 65 63 74 | 65 64 0a 64 69 72 65 63 |reselect|ed.direc|
|00002c00| 74 6f 72 79 20 75 6e 64 | 65 72 20 61 20 67 65 6e |tory und|er a gen|
|00002c10| 65 72 61 74 65 64 20 66 | 69 6c 65 20 6e 61 6d 65 |erated f|ile name|
|00002c20| 20 61 6e 64 20 72 65 6d | 6f 76 65 64 20 66 72 6f | and rem|oved fro|
|00002c30| 6d 20 69 74 73 20 6f 72 | 69 67 69 6e 61 6c 20 6c |m its or|iginal l|
|00002c40| 6f 63 61 74 69 6f 6e 2e | 0a 45 61 63 68 20 75 73 |ocation.|.Each us|
|00002c50| 65 72 20 68 61 73 20 61 | 20 6c 6f 67 20 66 69 6c |er has a| log fil|
|00002c60| 65 20 77 68 69 63 68 20 | 6b 65 65 70 73 20 74 72 |e which |keeps tr|
|00002c70| 61 63 6b 20 6f 66 20 65 | 61 63 68 20 66 69 6c 65 |ack of e|ach file|
|00002c80| 20 74 68 65 79 20 68 61 | 76 65 20 64 65 6c 65 74 | they ha|ve delet|
|00002c90| 65 64 20 61 6e 64 0a 63 | 72 6f 73 73 2d 72 65 66 |ed and.c|ross-ref|
|00002ca0| 65 72 65 6e 63 65 73 20 | 74 68 65 6d 20 74 6f 20 |erences |them to |
|00002cb0| 74 68 65 20 67 65 6e 65 | 72 61 74 65 64 20 66 69 |the gene|rated fi|
|00002cc0| 6c 65 20 6e 61 6d 65 73 | 2e 20 20 54 68 65 20 6c |le names|. The l|
|00002cd0| 6f 67 20 66 69 6c 65 20 | 6e 61 6d 65 20 69 73 20 |og file |name is |
|00002ce0| 0a 2e 73 61 66 65 64 65 | 6c 65 74 65 2e 6c 6f 67 |..safede|lete.log|
|00002cf0| 20 61 6e 64 20 69 73 20 | 6b 65 70 74 20 69 6e 20 | and is |kept in |
|00002d00| 74 68 65 20 75 73 65 72 | 73 20 68 6f 6d 65 20 64 |the user|s home d|
|00002d10| 69 72 65 63 74 6f 72 79 | 2e 20 20 0a 0a 54 6f 20 |irectory|. ..To |
|00002d20| 70 72 65 76 65 6e 74 20 | 74 68 65 20 66 69 6c 65 |prevent |the file|
|00002d30| 73 79 73 74 65 6d 20 66 | 72 6f 6d 20 66 69 6c 6c |system f|rom fill|
|00002d40| 69 6e 67 20 75 70 20 77 | 69 74 68 20 75 73 65 72 |ing up w|ith user|
|00002d50| 2d 64 65 6c 65 74 65 64 | 20 66 69 6c 65 73 20 74 |-deleted| files t|
|00002d60| 68 65 20 73 61 66 65 64 | 65 6c 63 68 6b 20 0a 63 |he safed|elchk .c|
|00002d70| 6f 6d 6d 61 6e 64 20 73 | 63 61 6e 73 20 74 68 65 |ommand s|cans the|
|00002d80| 20 75 73 65 72 73 20 2e | 73 61 66 65 64 65 6c 65 | users .|safedele|
|00002d90| 74 65 2e 6c 6f 67 20 61 | 6e 64 20 73 61 66 65 64 |te.log a|nd safed|
|00002da0| 65 6c 65 74 65 20 64 69 | 72 65 63 74 6f 72 79 20 |elete di|rectory |
|00002db0| 72 65 6d 6f 76 69 6e 67 | 20 61 6c 6c 0a 66 69 6c |removing| all.fil|
|00002dc0| 65 73 20 6f 6c 64 65 72 | 20 74 68 61 6e 20 61 20 |es older| than a |
|00002dd0| 73 65 74 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 61 |set numb|er of da|
|00002de0| 79 73 20 28 73 65 65 20 | 74 68 65 20 4d 41 58 44 |ys (see |the MAXD|
|00002df0| 41 59 53 20 76 61 72 69 | 61 62 6c 65 20 69 6e 20 |AYS vari|able in |
|00002e00| 74 68 65 0a 4d 61 6b 65 | 66 69 6c 65 29 2e 20 20 |the.Make|file). |
|00002e10| 54 68 65 20 75 73 65 72 | 27 73 20 2e 73 61 66 65 |The user|'s .safe|
|00002e20| 64 65 6c 65 74 65 2e 6c | 6f 67 20 69 73 20 75 70 |delete.l|og is up|
|00002e30| 64 61 74 65 64 20 74 6f | 20 72 65 66 6c 65 63 74 |dated to| reflect|
|00002e40| 20 61 6e 79 20 66 69 6c | 65 73 20 72 65 6d 6f 76 | any fil|es remov|
|00002e50| 65 64 0a 66 72 6f 6d 20 | 74 68 65 69 72 20 73 61 |ed.from |their sa|
|00002e60| 66 65 64 65 6c 65 74 65 | 20 64 69 72 65 63 74 6f |fedelete| directo|
|00002e70| 72 79 2e 20 20 53 61 66 | 65 64 65 6c 63 68 6b 20 |ry. Saf|edelchk |
|00002e80| 61 6c 73 6f 20 73 63 61 | 6e 73 20 66 6f 72 20 69 |also sca|ns for i|
|00002e90| 6e 63 6f 6e 73 69 73 74 | 65 6e 63 69 65 73 0a 62 |nconsist|encies.b|
|00002ea0| 65 74 77 65 65 6e 20 74 | 68 65 20 2e 73 61 66 65 |etween t|he .safe|
|00002eb0| 64 65 6c 65 74 65 2e 6c | 6f 67 20 61 6e 64 20 74 |delete.l|og and t|
|00002ec0| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 72 65 70 |he direc|tory rep|
|00002ed0| 6f 72 74 69 6e 67 20 74 | 6f 20 74 68 65 20 75 73 |orting t|o the us|
|00002ee0| 65 72 20 61 6e 79 20 74 | 68 61 74 0a 61 72 65 20 |er any t|hat.are |
|00002ef0| 66 6f 75 6e 64 2e 0a 0a | 54 6f 20 61 6c 6c 6f 77 |found...|To allow|
|00002f00| 20 73 6f 6d 65 20 66 6c | 65 78 69 62 69 6c 69 74 | some fl|exibilit|
|00002f10| 79 20 66 6f 72 20 74 68 | 65 20 75 73 65 72 73 20 |y for th|e users |
|00002f20| 61 20 76 61 72 69 61 62 | 6c 65 20 63 61 6c 6c 65 |a variab|le calle|
|00002f30| 64 20 53 41 46 45 44 41 | 59 53 20 63 61 6e 20 62 |d SAFEDA|YS can b|
|00002f40| 65 20 73 65 74 0a 69 6e | 20 65 69 74 68 65 72 20 |e set.in| either |
|00002f50| 2f 65 74 63 2f 70 72 6f | 66 69 6c 65 20 6f 72 20 |/etc/pro|file or |
|00002f60| 74 68 65 20 2e 62 61 73 | 68 5f 70 72 6f 66 69 6c |the .bas|h_profil|
|00002f70| 65 20 66 6f 72 20 65 61 | 63 68 20 75 73 65 72 2e |e for ea|ch user.|
|00002f80| 20 20 54 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 | This v|ariable |
|00002f90| 69 73 0a 75 73 65 64 20 | 62 79 20 62 6f 74 68 20 |is.used |by both |
|00002fa0| 74 68 65 20 73 61 66 65 | 64 65 6c 65 74 65 20 61 |the safe|delete a|
|00002fb0| 6e 64 20 74 68 65 20 73 | 61 66 65 64 65 6c 63 68 |nd the s|afedelch|
|00002fc0| 6b 20 70 72 6f 67 72 61 | 6d 73 2e 20 20 57 68 65 |k progra|ms. Whe|
|00002fd0| 6e 20 73 61 66 65 64 65 | 6c 65 74 65 20 73 74 61 |n safede|lete sta|
|00002fe0| 72 74 73 0a 70 72 6f 63 | 65 73 73 69 6e 67 20 69 |rts.proc|essing i|
|00002ff0| 74 20 63 68 65 63 6b 73 | 20 74 6f 20 73 65 65 20 |t checks| to see |
|00003000| 69 66 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |if the v|ariable |
|00003010| 69 73 20 64 65 66 69 6e | 65 64 2e 20 20 49 66 20 |is defin|ed. If |
|00003020| 24 53 41 46 45 44 41 59 | 53 20 69 73 20 6e 6f 74 |$SAFEDAY|S is not|
|00003030| 20 0a 64 65 66 69 6e 65 | 64 2c 20 6f 72 20 69 73 | .define|d, or is|
|00003040| 20 64 65 66 69 6e 65 64 | 20 61 6e 64 20 69 73 20 | defined| and is |
|00003050| 6e 6f 6e 2d 7a 65 72 6f | 2c 20 74 68 65 20 66 69 |non-zero|, the fi|
|00003060| 6c 65 73 20 73 70 65 63 | 69 66 69 65 64 20 6f 6e |les spec|ified on|
|00003070| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | the com|mand lin|
|00003080| 65 0a 61 72 65 20 73 61 | 66 65 64 65 6c 65 74 65 |e.are sa|fedelete|
|00003090| 64 20 61 73 20 64 65 73 | 63 72 69 62 65 64 20 61 |d as des|cribed a|
|000030a0| 62 6f 76 65 2e 20 20 49 | 66 20 24 53 41 46 45 44 |bove. I|f $SAFED|
|000030b0| 41 59 53 20 69 73 20 64 | 65 66 69 6e 65 64 20 61 |AYS is d|efined a|
|000030c0| 6e 64 20 68 61 73 20 61 | 20 76 61 6c 75 65 20 6f |nd has a| value o|
|000030d0| 66 0a 7a 65 72 6f 2c 20 | 73 61 66 65 64 65 6c 65 |f.zero, |safedele|
|000030e0| 74 65 20 6a 75 73 74 20 | 69 6e 76 6f 6b 65 73 20 |te just |invokes |
|000030f0| 74 68 65 20 2f 62 69 6e | 2f 72 6d 20 63 6f 6d 6d |the /bin|/rm comm|
|00003100| 61 6e 64 20 74 6f 20 72 | 65 6d 6f 76 65 20 74 68 |and to r|emove th|
|00003110| 65 20 66 69 6c 65 73 2c | 20 74 68 75 73 0a 74 75 |e files,| thus.tu|
|00003120| 72 6e 69 6e 67 20 6f 66 | 66 20 74 68 65 20 73 61 |rning of|f the sa|
|00003130| 66 65 64 65 6c 65 74 65 | 20 66 75 6e 63 74 69 6f |fedelete| functio|
|00003140| 6e 2e 20 20 54 68 69 73 | 20 63 61 6e 20 62 65 20 |n. This| can be |
|00003150| 68 61 6e 64 79 20 69 66 | 20 79 6f 75 20 6b 6e 6f |handy if| you kno|
|00003160| 77 20 74 68 61 74 20 74 | 68 65 0a 66 69 6c 65 73 |w that t|he.files|
|00003170| 20 79 6f 75 27 6c 6c 20 | 62 65 20 64 65 6c 65 74 | you'll |be delet|
|00003180| 69 6e 67 20 77 69 6c 6c | 20 6e 65 76 65 72 20 62 |ing will| never b|
|00003190| 65 20 6e 65 65 64 65 64 | 20 61 67 61 69 6e 2e 20 |e needed| again. |
|000031a0| 20 4a 75 73 74 20 73 65 | 74 20 24 53 41 46 45 44 | Just se|t $SAFED|
|000031b0| 41 59 53 20 74 6f 20 30 | 0a 61 6e 64 20 73 61 66 |AYS to 0|.and saf|
|000031c0| 65 64 65 6c 65 74 65 20 | 77 69 6c 6c 20 69 67 6e |edelete |will ign|
|000031d0| 6f 72 65 20 61 6c 6c 20 | 72 65 71 75 65 73 74 73 |ore all |requests|
|000031e0| 20 74 6f 20 73 61 66 65 | 6c 79 20 64 65 6c 65 74 | to safe|ly delet|
|000031f0| 65 20 66 69 6c 65 73 2e | 20 20 44 6f 6e 27 74 20 |e files.| Don't |
|00003200| 66 6f 72 67 65 74 0a 74 | 6f 20 72 65 73 65 74 20 |forget.t|o reset |
|00003210| 24 53 41 46 45 44 41 59 | 53 20 74 6f 20 61 20 6e |$SAFEDAY|S to a n|
|00003220| 6f 6e 2d 7a 65 72 6f 20 | 76 61 6c 75 65 20 77 68 |on-zero |value wh|
|00003230| 65 6e 20 79 6f 75 27 72 | 65 20 64 6f 6e 65 2e 0a |en you'r|e done..|
|00003240| 0a 46 6f 72 20 6d 6f 72 | 65 20 67 72 61 6e 75 6c |.For mor|e granul|
|00003250| 61 72 69 74 79 20 61 74 | 20 74 68 65 20 66 69 6c |arity at| the fil|
|00003260| 65 6e 61 6d 65 20 6c 65 | 76 65 6c 2c 20 65 61 63 |ename le|vel, eac|
|00003270| 68 20 75 73 65 72 20 63 | 61 6e 20 6f 70 74 69 6f |h user c|an optio|
|00003280| 6e 61 6c 6c 79 20 68 61 | 76 65 20 61 0a 2e 53 61 |nally ha|ve a..Sa|
|00003290| 66 65 64 65 6c 72 63 20 | 66 69 6c 65 20 69 6e 20 |fedelrc |file in |
|000032a0| 74 68 65 69 72 20 24 48 | 4f 4d 45 20 64 69 72 65 |their $H|OME dire|
|000032b0| 63 74 6f 72 79 2e 20 20 | 54 68 69 73 20 66 69 6c |ctory. |This fil|
|000032c0| 65 20 63 6f 6e 74 61 69 | 6e 73 20 66 69 6c 65 20 |e contai|ns file |
|000032d0| 6e 61 6d 65 73 20 61 6e | 64 0a 70 61 74 74 65 72 |names an|d.patter|
|000032e0| 6e 73 20 77 68 69 63 68 | 20 63 6f 6e 74 72 6f 6c |ns which| control|
|000032f0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 64 | the num|ber of d|
|00003300| 61 79 73 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 |ays a pa|rticular|
|00003310| 20 66 69 6c 65 20 73 68 | 6f 75 6c 64 20 62 65 20 | file sh|ould be |
|00003320| 6b 65 70 74 0a 69 6e 20 | 74 68 65 20 73 61 66 65 |kept.in |the safe|
|00003330| 64 65 6c 65 74 65 20 64 | 69 72 65 63 74 6f 72 79 |delete d|irectory|
|00003340| 2e 20 20 41 6e 79 20 66 | 69 6c 65 20 6e 61 6d 65 |. Any f|ile name|
|00003350| 20 6e 6f 74 20 6d 61 74 | 63 68 69 6e 67 20 61 20 | not mat|ching a |
|00003360| 70 61 74 74 65 72 6e 20 | 69 6e 20 74 68 65 20 0a |pattern |in the .|
|00003370| 2e 53 61 66 65 64 65 6c | 72 63 20 77 69 6c 6c 20 |.Safedel|rc will |
|00003380| 62 65 20 63 6f 6e 74 72 | 6f 6c 6c 65 64 20 62 79 |be contr|olled by|
|00003390| 20 74 68 65 20 24 53 41 | 46 45 44 41 59 53 20 6f | the $SA|FEDAYS o|
|000033a0| 72 20 74 68 65 20 24 4d | 41 58 44 41 59 53 20 76 |r the $M|AXDAYS v|
|000033b0| 61 72 69 61 62 6c 65 2c | 20 0a 77 68 69 63 68 65 |ariable,| .whiche|
|000033c0| 76 65 72 20 68 61 73 20 | 74 68 65 20 6c 6f 77 65 |ver has |the lowe|
|000033d0| 72 20 76 61 6c 75 65 2e | 0a 0a 53 61 66 65 64 65 |r value.|..Safede|
|000033e0| 6c 63 68 6b 20 69 73 20 | 63 6f 64 65 64 20 74 6f |lchk is |coded to|
|000033f0| 20 72 75 6e 20 69 6e 20 | 74 77 6f 20 64 69 66 66 | run in |two diff|
|00003400| 65 72 65 6e 74 20 6d 6f | 64 65 73 2c 20 75 73 65 |erent mo|des, use|
|00003410| 72 20 6d 6f 64 65 20 61 | 6e 64 20 61 64 6d 69 6e |r mode a|nd admin|
|00003420| 69 73 74 72 61 74 6f 72 | 0a 6d 6f 64 65 2e 20 20 |istrator|.mode. |
|00003430| 49 6e 20 75 73 65 72 20 | 6d 6f 64 65 20 28 69 2e |In user |mode (i.|
|00003440| 65 2e 20 69 6e 76 6f 6b | 65 64 20 62 79 20 74 68 |e. invok|ed by th|
|00003450| 65 20 75 73 65 72 29 20 | 6f 6e 6c 79 20 74 68 6f |e user) |only tho|
|00003460| 73 65 20 66 69 6c 65 73 | 20 69 6e 20 74 68 65 20 |se files| in the |
|00003470| 75 73 65 72 27 73 0a 73 | 61 66 65 64 65 6c 65 74 |user's.s|afedelet|
|00003480| 65 20 64 69 72 65 63 74 | 6f 72 79 20 61 72 65 20 |e direct|ory are |
|00003490| 73 63 61 6e 6e 65 64 20 | 61 6e 64 20 72 65 6d 6f |scanned |and remo|
|000034a0| 76 65 64 2e 20 20 49 6e | 20 61 64 6d 69 6e 69 73 |ved. In| adminis|
|000034b0| 74 72 61 74 6f 72 20 6d | 6f 64 65 20 0a 28 69 2e |trator m|ode .(i.|
|000034c0| 65 2e 20 69 6e 76 6f 6b | 65 64 20 62 79 20 72 6f |e. invok|ed by ro|
|000034d0| 6f 74 29 20 74 68 65 20 | 66 69 6c 65 73 20 66 6f |ot) the |files fo|
|000034e0| 72 20 61 6c 6c 20 75 73 | 65 72 73 20 61 72 65 20 |r all us|ers are |
|000034f0| 73 63 61 6e 6e 65 64 20 | 61 6e 64 20 72 65 6d 6f |scanned |and remo|
|00003500| 76 65 64 2e 0a 54 68 65 | 20 72 65 61 73 6f 6e 69 |ved..The| reasoni|
|00003510| 6e 67 20 66 6f 72 20 74 | 68 69 73 20 77 61 79 20 |ng for t|his way |
|00003520| 6f 66 20 64 6f 69 6e 67 | 20 74 68 69 6e 67 73 20 |of doing| things |
|00003530| 67 6f 65 73 20 6c 69 6b | 65 20 74 68 69 73 3a 0a |goes lik|e this:.|
|00003540| 0a 2d 20 73 61 66 65 64 | 65 6c 63 68 6b 20 69 73 |.- safed|elchk is|
|00003550| 20 72 65 61 6c 6c 79 20 | 6d 65 61 6e 74 20 74 6f | really |meant to|
|00003560| 20 62 65 20 65 78 65 63 | 75 74 65 64 20 66 72 6f | be exec|uted fro|
|00003570| 6d 20 65 69 74 68 65 72 | 20 2f 65 74 63 2f 70 72 |m either| /etc/pr|
|00003580| 6f 66 69 6c 65 20 6f 72 | 20 66 72 6f 6d 20 0a 20 |ofile or| from . |
|00003590| 20 65 61 63 68 20 75 73 | 65 72 73 20 2e 62 61 73 | each us|ers .bas|
|000035a0| 68 5f 70 72 6f 66 69 6c | 65 2e 0a 2d 20 69 66 20 |h_profil|e..- if |
|000035b0| 65 78 65 63 75 74 65 64 | 20 66 72 6f 6d 20 2f 65 |executed| from /e|
|000035c0| 74 63 2f 70 72 6f 66 69 | 6c 65 2c 20 6e 6f 20 70 |tc/profi|le, no p|
|000035d0| 72 6f 62 6c 65 6d 2c 20 | 20 74 68 65 20 75 73 65 |roblem, | the use|
|000035e0| 72 73 20 6f 6c 64 20 73 | 61 66 65 64 65 6c 65 74 |rs old s|afedelet|
|000035f0| 65 64 20 66 69 6c 65 73 | 0a 20 20 77 69 6c 6c 20 |ed files|. will |
|00003600| 62 65 20 72 65 6d 6f 76 | 65 64 20 74 6f 20 70 72 |be remov|ed to pr|
|00003610| 65 76 65 6e 74 20 61 20 | 62 75 6e 63 68 20 6f 66 |event a |bunch of|
|00003620| 20 6f 6c 64 20 66 69 6c | 65 73 20 63 6c 75 74 74 | old fil|es clutt|
|00003630| 65 72 69 6e 67 20 75 70 | 20 74 68 65 20 66 69 6c |ering up| the fil|
|00003640| 65 73 79 73 74 65 6d 2e | 0a 2d 20 69 66 20 65 78 |esystem.|.- if ex|
|00003650| 65 63 75 74 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |ecuted f|rom the |
|00003660| 75 73 65 72 73 20 2e 62 | 61 73 68 5f 70 72 6f 66 |users .b|ash_prof|
|00003670| 69 6c 65 20 74 68 65 20 | 75 73 65 72 20 68 61 73 |ile the |user has|
|00003680| 20 74 68 65 20 6f 70 74 | 69 6f 6e 20 6f 66 20 6e | the opt|ion of n|
|00003690| 65 76 65 72 0a 20 20 72 | 75 6e 6e 69 6e 67 20 73 |ever. r|unning s|
|000036a0| 61 66 65 64 65 6c 63 68 | 6b 20 28 74 68 65 79 20 |afedelch|k (they |
|000036b0| 63 61 6e 20 6a 75 73 74 | 20 72 65 6d 6f 76 65 20 |can just| remove |
|000036c0| 69 74 20 66 72 6f 6d 20 | 74 68 65 69 72 20 2e 62 |it from |their .b|
|000036d0| 61 73 68 5f 70 72 6f 66 | 69 6c 65 29 2e 0a 2d 20 |ash_prof|ile)..- |
|000036e0| 74 68 75 73 2c 20 73 65 | 74 74 69 6e 67 20 61 20 |thus, se|tting a |
|000036f0| 63 72 6f 6e 74 61 62 20 | 65 6e 74 72 79 20 66 72 |crontab |entry fr|
|00003700| 6f 6d 20 72 6f 6f 74 20 | 74 6f 20 69 6e 76 6f 6b |om root |to invok|
|00003710| 65 20 73 61 66 65 64 65 | 6c 63 68 6b 20 6f 6e 20 |e safede|lchk on |
|00003720| 61 20 70 65 72 69 6f 64 | 69 63 0a 20 20 62 61 73 |a period|ic. bas|
|00003730| 69 73 20 65 6e 66 6f 72 | 63 65 73 20 73 79 73 74 |is enfor|ces syst|
|00003740| 65 6d 20 70 6f 6c 69 63 | 79 20 66 6f 72 20 73 61 |em polic|y for sa|
|00003750| 66 65 64 65 6c 65 74 65 | 64 20 66 69 6c 65 73 2e |fedelete|d files.|
|00003760| 20 20 49 6e 76 6f 6b 69 | 6e 67 20 73 61 66 65 64 | Invoki|ng safed|
|00003770| 65 6c 63 68 6b 20 61 73 | 0a 20 20 72 6f 6f 74 20 |elchk as|. root |
|00003780| 64 65 66 61 75 6c 74 73 | 20 74 6f 20 72 75 6e 6e |defaults| to runn|
|00003790| 69 6e 67 20 69 6e 20 61 | 64 6d 69 6e 69 73 74 72 |ing in a|dministr|
|000037a0| 61 74 6f 72 20 6d 6f 64 | 65 2e 20 20 54 6f 20 72 |ator mod|e. To r|
|000037b0| 75 6e 20 73 61 66 65 64 | 65 6c 63 68 6b 20 69 6e |un safed|elchk in|
|000037c0| 20 75 73 65 72 0a 20 20 | 6d 6f 64 65 20 61 73 20 | user. |mode as |
|000037d0| 72 6f 6f 74 20 79 6f 75 | 20 6d 75 73 74 20 75 73 |root you| must us|
|000037e0| 65 20 74 68 65 20 2d 75 | 20 6f 70 74 69 6f 6e 2e |e the -u| option.|
|000037f0| 0a 0a 54 68 65 20 75 6e | 64 65 6c 65 74 65 20 63 |..The un|delete c|
|00003800| 6f 6d 6d 61 6e 64 20 75 | 6e 64 65 6c 65 74 65 73 |ommand u|ndeletes|
|00003810| 20 74 68 65 20 66 69 6c | 65 73 20 74 68 61 74 20 | the fil|es that |
|00003820| 77 65 72 65 20 70 72 65 | 76 69 6f 75 73 6c 79 20 |were pre|viously |
|00003830| 72 65 6d 6f 76 65 64 20 | 77 69 74 68 20 0a 73 61 |removed |with .sa|
|00003840| 66 65 64 65 6c 65 74 65 | 2e 20 20 49 74 20 68 61 |fedelete|. It ha|
|00003850| 73 20 74 77 6f 20 6d 6f | 64 65 73 2c 20 63 6f 6d |s two mo|des, com|
|00003860| 6d 61 6e 64 20 61 6e 64 | 20 69 6e 74 65 72 61 63 |mand and| interac|
|00003870| 74 69 76 65 2e 20 20 49 | 6e 20 63 6f 6d 6d 61 6e |tive. I|n comman|
|00003880| 64 20 6d 6f 64 65 2c 20 | 74 68 65 0a 75 73 65 72 |d mode, |the.user|
|00003890| 20 73 70 65 63 69 66 69 | 65 73 20 74 68 65 20 6e | specifi|es the n|
|000038a0| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |ame of t|he file |
|000038b0| 6f 6e 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6c |on the c|ommand l|
|000038c0| 69 6e 65 20 28 6f 6e 6c | 79 20 6f 6e 65 20 66 69 |ine (onl|y one fi|
|000038d0| 6c 65 20 61 74 20 61 0a | 74 69 6d 65 2c 20 66 6f |le at a.|time, fo|
|000038e0| 72 20 6e 6f 77 29 2e 20 | 20 55 6e 64 65 6c 65 74 |r now). | Undelet|
|000038f0| 65 20 74 68 65 6e 20 73 | 63 61 6e 73 20 74 68 65 |e then s|cans the|
|00003900| 20 75 73 65 72 27 73 20 | 2e 73 61 66 65 64 65 6c | user's |.safedel|
|00003910| 65 74 65 2e 6c 6f 67 20 | 6c 6f 6f 6b 69 6e 67 20 |ete.log |looking |
|00003920| 66 6f 72 20 74 68 65 0a | 6d 6f 73 74 20 72 65 63 |for the.|most rec|
|00003930| 65 6e 74 20 6f 63 63 75 | 72 65 6e 63 65 20 6f 66 |ent occu|rence of|
|00003940| 20 74 68 61 74 20 66 69 | 6c 65 20 28 74 68 69 73 | that fi|le (this|
|00003950| 20 61 6c 6c 6f 77 73 20 | 6d 75 6c 74 69 70 6c 65 | allows |multiple|
|00003960| 20 63 6f 70 69 65 73 20 | 6f 66 20 74 68 65 20 73 | copies |of the s|
|00003970| 61 6d 65 20 66 69 6c 65 | 0a 74 6f 20 65 78 69 73 |ame file|.to exis|
|00003980| 74 20 69 6e 20 74 68 65 | 20 73 61 66 65 64 65 6c |t in the| safedel|
|00003990| 65 74 65 20 64 69 72 65 | 63 74 6f 72 79 29 2e 20 |ete dire|ctory). |
|000039a0| 20 54 68 65 20 66 69 6c | 65 20 69 73 20 74 68 65 | The fil|e is the|
|000039b0| 6e 20 72 65 73 74 6f 72 | 65 64 20 74 6f 20 69 74 |n restor|ed to it|
|000039c0| 73 20 0a 6f 72 69 67 69 | 6e 61 6c 20 6c 6f 63 61 |s .origi|nal loca|
|000039d0| 74 69 6f 6e 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |tion alo|ng with |
|000039e0| 69 74 73 20 6f 72 69 67 | 69 6e 61 6c 20 70 65 72 |its orig|inal per|
|000039f0| 6d 69 73 73 69 6f 6e 73 | 20 61 6e 64 20 74 69 6d |missions| and tim|
|00003a00| 65 73 74 61 6d 70 73 2e | 20 20 53 6f 6d 65 0a 73 |estamps.| Some.s|
|00003a10| 61 66 65 74 79 20 63 68 | 65 63 6b 73 20 61 72 65 |afety ch|ecks are|
|00003a20| 20 70 65 72 66 6f 72 6d | 65 64 20 69 6e 74 65 72 | perform|ed inter|
|00003a30| 6e 61 6c 6c 79 20 74 6f | 20 6d 61 6b 65 20 73 75 |nally to| make su|
|00003a40| 72 65 20 74 68 65 20 66 | 69 6c 65 20 77 61 73 20 |re the f|ile was |
|00003a50| 73 75 63 63 65 73 73 66 | 75 6c 6c 79 0a 75 6e 64 |successf|ully.und|
|00003a60| 65 6c 65 74 65 64 2e 20 | 20 4f 6e 63 65 20 74 68 |eleted. | Once th|
|00003a70| 65 20 75 6e 64 65 6c 65 | 74 65 20 70 72 6f 63 65 |e undele|te proce|
|00003a80| 73 73 20 69 73 20 76 65 | 72 69 66 69 65 64 20 74 |ss is ve|rified t|
|00003a90| 68 65 20 73 61 66 65 64 | 65 6c 65 74 65 64 20 63 |he safed|eleted c|
|00003aa0| 6f 70 79 20 6f 66 20 74 | 68 65 20 0a 66 69 6c 65 |opy of t|he .file|
|00003ab0| 2c 20 61 6e 64 20 69 74 | 73 20 63 6f 72 72 65 73 |, and it|s corres|
|00003ac0| 70 6f 6e 64 69 6e 67 20 | 6c 6f 67 20 65 6e 74 72 |ponding |log entr|
|00003ad0| 79 2c 20 61 72 65 20 72 | 65 6d 6f 76 65 64 2e 0a |y, are r|emoved..|
|00003ae0| 0a 54 6f 20 65 6e 74 65 | 72 20 69 6e 74 65 72 61 |.To ente|r intera|
|00003af0| 63 74 69 76 65 20 6d 6f | 64 65 20 6a 75 73 74 20 |ctive mo|de just |
|00003b00| 69 73 73 75 65 20 74 68 | 65 20 75 6e 64 65 6c 65 |issue th|e undele|
|00003b10| 74 65 20 63 6f 6d 6d 61 | 6e 64 20 77 69 74 68 20 |te comma|nd with |
|00003b20| 6e 6f 20 6f 70 74 69 6f | 6e 73 2e 0a 54 68 69 73 |no optio|ns..This|
|00003b30| 20 77 69 6c 6c 20 64 69 | 73 70 6c 61 79 20 61 20 | will di|splay a |
|00003b40| 73 63 72 6f 6c 6c 61 62 | 6c 65 20 6c 69 73 74 20 |scrollab|le list |
|00003b50| 6f 66 20 66 69 6c 65 73 | 20 74 68 61 74 20 74 68 |of files| that th|
|00003b60| 65 20 75 73 65 72 20 63 | 75 72 72 65 6e 74 6c 79 |e user c|urrently|
|00003b70| 20 68 61 73 20 6c 69 73 | 74 65 64 0a 69 6e 20 74 | has lis|ted.in t|
|00003b80| 68 65 69 72 20 2e 73 61 | 66 65 64 65 6c 65 74 65 |heir .sa|fedelete|
|00003b90| 2e 6c 6f 67 2e 20 20 54 | 68 69 73 20 64 69 73 70 |.log. T|his disp|
|00003ba0| 6c 61 79 20 66 61 63 69 | 6c 69 74 79 20 75 73 65 |lay faci|lity use|
|00003bb0| 73 20 6e 63 75 72 73 65 | 73 20 28 74 68 65 20 53 |s ncurse|s (the S|
|00003bc0| 79 73 74 65 6d 20 56 0a | 63 75 72 73 65 73 2c 20 |ystem V.|curses, |
|00003bd0| 6e 6f 74 20 74 68 65 20 | 42 53 44 20 63 75 72 73 |not the |BSD curs|
|00003be0| 65 73 29 2e 20 20 54 68 | 69 73 20 61 6c 6c 6f 77 |es). Th|is allow|
|00003bf0| 73 20 74 68 65 20 75 73 | 65 72 20 74 6f 20 70 69 |s the us|er to pi|
|00003c00| 63 6b 20 61 6e 64 20 63 | 68 6f 6f 73 65 20 77 68 |ck and c|hoose wh|
|00003c10| 69 63 68 0a 66 69 6c 65 | 28 73 29 20 74 6f 20 75 |ich.file|(s) to u|
|00003c20| 6e 64 65 6c 65 74 65 2e | 20 20 54 68 65 20 61 63 |ndelete.| The ac|
|00003c30| 74 75 61 6c 20 75 6e 64 | 65 6c 65 74 65 20 70 72 |tual und|elete pr|
|00003c40| 6f 63 65 73 73 20 69 73 | 20 74 68 65 20 73 61 6d |ocess is| the sam|
|00003c50| 65 20 61 73 20 66 6f 72 | 20 63 6f 6d 6d 61 6e 64 |e as for| command|
|00003c60| 0a 6d 6f 64 65 2e 0a 00 | 00 00 00 00 00 00 00 00 |.mode...|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 73 61 66 65 64 65 6c 65 | 74 65 2d 31 2e 33 2f 4d |safedele|te-1.3/M|
|00003e10| 61 6b 65 66 69 6c 65 2e | 4c 49 4e 55 58 00 00 00 |akefile.|LINUX...|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00003e70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00003e80| 20 20 20 35 30 34 31 20 | 20 36 30 35 36 33 36 35 | 5041 | 6056365|
|00003e90| 36 32 32 20 20 31 35 32 | 33 35 00 20 30 00 00 00 |622 152|35. 0...|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 75 73 74 61 72 20 20 | 00 72 65 6e 69 63 6b 65 |.ustar |.renicke|
|00003f10| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 23 20 4d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 73 |# Makefi|le for s|
|00004010| 61 66 65 64 65 6c 65 74 | 65 20 75 74 69 6c 69 74 |afedelet|e utilit|
|00004020| 79 0a 23 20 4a 65 66 66 | 20 52 65 6e 69 63 6b 65 |y.# Jeff| Renicke|
|00004030| 72 0a 23 20 5b 23 20 45 | 64 69 74 20 30 34 2c 20 |r.# [# E|dit 04, |
|00004040| 44 61 74 65 20 32 33 2d | 4e 6f 76 2d 39 35 2c 20 |Date 23-|Nov-95, |
|00004050| 4d 6f 64 75 6c 65 20 4d | 61 6b 65 66 69 6c 65 20 |Module M|akefile |
|00004060| 23 5d 0a 20 0a 23 20 54 | 68 69 73 20 73 70 65 63 |#]. .# T|his spec|
|00004070| 69 66 69 65 73 20 77 68 | 65 72 65 20 74 68 65 20 |ifies wh|ere the |
|00004080| 22 64 65 6c 65 74 65 64 | 22 20 66 69 6c 65 73 20 |"deleted|" files |
|00004090| 61 72 65 20 74 6f 20 0a | 23 20 62 65 20 70 6c 61 |are to .|# be pla|
|000040a0| 63 65 64 2e 20 20 54 68 | 69 73 20 77 69 6c 6c 20 |ced. Th|is will |
|000040b0| 62 65 20 70 72 65 66 69 | 78 65 64 20 62 79 20 74 |be prefi|xed by t|
|000040c0| 68 65 20 75 73 65 72 73 | 0a 23 20 24 48 4f 4d 45 |he users|.# $HOME|
|000040d0| 20 64 69 72 65 63 74 6f | 72 79 2e 20 20 45 78 61 | directo|ry. Exa|
|000040e0| 6d 70 6c 65 3a 20 75 73 | 65 72 20 66 6f 6f 27 73 |mple: us|er foo's|
|000040f0| 20 68 6f 6d 65 0a 23 20 | 64 69 72 65 63 74 6f 72 | home.# |director|
|00004100| 79 20 69 73 20 2f 68 6f | 6d 65 2f 66 6f 6f 20 2d |y is /ho|me/foo -|
|00004110| 2d 20 74 68 65 20 73 61 | 66 65 64 65 6c 65 74 65 |- the sa|fedelete|
|00004120| 64 20 66 69 6c 65 73 0a | 23 20 77 69 6c 6c 20 62 |d files.|# will b|
|00004130| 65 20 6b 65 70 74 20 69 | 6e 20 2f 68 6f 6d 65 2f |e kept i|n /home/|
|00004140| 66 6f 6f 2f 2e 53 61 66 | 65 64 65 6c 65 74 65 0a |foo/.Saf|edelete.|
|00004150| 53 41 46 45 44 49 52 20 | 3d 20 2f 2e 53 61 66 65 |SAFEDIR |= /.Safe|
|00004160| 64 65 6c 65 74 65 0a 20 | 0a 23 20 54 68 69 73 20 |delete. |.# This |
|00004170| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 6d 61 |specifie|s the ma|
|00004180| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ximum nu|mber of |
|00004190| 64 61 79 73 20 74 6f 20 | 6b 65 65 70 0a 23 20 61 |days to |keep.# a|
|000041a0| 6e 79 20 73 61 66 65 64 | 65 6c 65 74 65 64 20 66 |ny safed|eleted f|
|000041b0| 69 6c 65 2e 0a 4d 41 58 | 44 41 59 53 20 3d 20 33 |ile..MAX|DAYS = 3|
|000041c0| 30 0a 20 0a 23 20 54 68 | 69 73 20 69 73 20 74 68 |0. .# Th|is is th|
|000041d0| 65 20 6d 61 78 69 6d 75 | 6d 20 6e 75 6d 62 65 72 |e maximu|m number|
|000041e0| 20 6f 66 20 66 69 6c 65 | 73 20 74 6f 20 62 65 20 | of file|s to be |
|000041f0| 64 69 73 70 6c 61 79 65 | 64 0a 23 20 62 79 20 74 |displaye|d.# by t|
|00004200| 68 65 20 75 6e 64 65 6c | 65 74 65 20 63 6f 6d 6d |he undel|ete comm|
|00004210| 61 6e 64 2e 0a 4d 41 58 | 46 49 4c 45 53 20 3d 20 |and..MAX|FILES = |
|00004220| 31 30 30 30 0a 20 0a 23 | 20 54 68 69 73 20 73 70 |1000. .#| This sp|
|00004230| 65 63 69 66 69 65 73 20 | 74 68 65 20 64 69 72 65 |ecifies |the dire|
|00004240| 63 74 6f 72 79 20 77 68 | 65 72 65 20 74 68 65 20 |ctory wh|ere the |
|00004250| 65 78 65 63 75 74 61 62 | 6c 65 20 0a 23 20 63 6f |executab|le .# co|
|00004260| 6d 6d 61 6e 64 73 20 77 | 69 6c 6c 20 62 65 20 70 |mmands w|ill be p|
|00004270| 6c 61 63 65 64 2e 0a 42 | 49 4e 44 49 52 20 3d 20 |laced..B|INDIR = |
|00004280| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 62 69 6e 0a 20 |/usr/loc|al/bin. |
|00004290| 0a 23 20 54 68 69 73 20 | 73 70 65 63 69 66 69 65 |.# This |specifie|
|000042a0| 73 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |s the di|rectory |
|000042b0| 66 6f 72 20 74 68 65 20 | 6d 61 6e 75 61 6c 20 70 |for the |manual p|
|000042c0| 61 67 65 73 2e 0a 4d 41 | 4e 44 49 52 20 3d 20 2f |ages..MA|NDIR = /|
|000042d0| 75 73 72 2f 6c 6f 63 61 | 6c 2f 6d 61 6e 0a 0a 0a |usr/loca|l/man...|
|000042e0| 31 20 3d 20 2d 44 53 41 | 46 45 5f 44 49 52 5f 4e |1 = -DSA|FE_DIR_N|
|000042f0| 41 4d 45 3d 27 22 24 28 | 53 41 46 45 44 49 52 29 |AME='"$(|SAFEDIR)|
|00004300| 22 27 0a 32 20 3d 20 2d | 44 4d 41 58 5f 53 41 46 |"'.2 = -|DMAX_SAF|
|00004310| 45 5f 44 41 59 53 3d 27 | 24 28 4d 41 58 44 41 59 |E_DAYS='|$(MAXDAY|
|00004320| 53 29 27 0a 33 20 3d 20 | 2d 44 4d 41 58 5f 46 49 |S)'.3 = |-DMAX_FI|
|00004330| 4c 45 53 3d 27 24 28 4d | 41 58 46 49 4c 45 53 29 |LES='$(M|AXFILES)|
|00004340| 27 0a 43 43 20 3d 20 67 | 63 63 0a 23 0a 23 20 49 |'.CC = g|cc.#.# I|
|00004350| 66 20 79 6f 75 20 68 61 | 76 65 20 6e 63 75 72 73 |f you ha|ve ncurs|
|00004360| 65 73 20 28 74 68 65 20 | 53 79 73 74 65 6d 20 56 |es (the |System V|
|00004370| 20 66 6c 61 76 6f 72 2c | 20 4e 4f 54 20 42 53 44 | flavor,| NOT BSD|
|00004380| 21 21 29 20 75 6e 63 6f | 6d 6d 65 6e 74 20 74 68 |!!) unco|mment th|
|00004390| 65 20 6e 65 78 74 0a 23 | 20 6c 69 6e 65 20 61 6e |e next.#| line an|
|000043a0| 64 20 63 6f 6d 6d 65 6e | 74 20 6f 75 74 20 74 68 |d commen|t out th|
|000043b0| 65 20 73 65 63 6f 6e 64 | 20 43 46 4c 41 47 53 20 |e second| CFLAGS |
|000043c0| 6c 69 6e 65 2e 2e 2e 0a | 43 46 4c 41 47 53 20 3d |line....|CFLAGS =|
|000043d0| 20 24 31 20 24 32 20 24 | 33 20 2d 4f 32 20 2d 57 | $1 $2 $|3 -O2 -W|
|000043e0| 61 6c 6c 20 2d 44 4c 49 | 4e 55 58 20 2d 49 2f 75 |all -DLI|NUX -I/u|
|000043f0| 73 72 2f 69 6e 63 6c 75 | 64 65 2f 6e 63 75 72 73 |sr/inclu|de/ncurs|
|00004400| 65 73 0a 23 20 43 46 4c | 41 47 53 20 3d 20 24 31 |es.# CFL|AGS = $1|
|00004410| 20 24 32 20 24 33 20 2d | 4f 32 20 2d 57 61 6c 6c | $2 $3 -|O2 -Wall|
|00004420| 20 2d 44 4c 49 4e 55 58 | 20 2d 44 4e 4f 5f 43 55 | -DLINUX| -DNO_CU|
|00004430| 52 53 45 53 20 0a 4c 44 | 46 4c 41 47 53 20 3d 20 |RSES .LD|FLAGS = |
|00004440| 2d 4e 20 2d 73 0a 0a 61 | 6c 6c 3a 20 73 61 66 65 |-N -s..a|ll: safe|
|00004450| 64 65 6c 65 74 65 20 75 | 6e 64 65 6c 65 74 65 20 |delete u|ndelete |
|00004460| 73 61 66 65 64 65 6c 63 | 68 6b 20 73 61 66 65 63 |safedelc|hk safec|
|00004470| 6e 76 74 0a 0a 73 61 66 | 65 64 65 6c 65 74 65 3a |nvt..saf|edelete:|
|00004480| 20 73 61 66 65 64 65 6c | 65 74 65 2e 6f 20 70 61 | safedel|ete.o pa|
|00004490| 72 73 65 2e 6f 20 63 68 | 6b 70 65 72 6d 2e 6f 20 |rse.o ch|kperm.o |
|000044a0| 72 65 61 64 72 63 2e 6f | 20 63 68 65 63 6b 70 61 |readrc.o| checkpa|
|000044b0| 74 2e 6f 20 63 68 65 63 | 6b 64 61 79 73 2e 6f 20 |t.o chec|kdays.o |
|000044c0| 6c 6f 63 6b 66 69 6c 65 | 2e 6f 0a 09 24 28 43 43 |lockfile|.o..$(CC|
|000044d0| 29 20 24 28 4c 44 46 4c | 41 47 53 29 20 2d 6f 20 |) $(LDFL|AGS) -o |
|000044e0| 73 61 66 65 64 65 6c 65 | 74 65 20 73 61 66 65 64 |safedele|te safed|
|000044f0| 65 6c 65 74 65 2e 6f 20 | 70 61 72 73 65 2e 6f 20 |elete.o |parse.o |
|00004500| 63 68 6b 70 65 72 6d 2e | 6f 20 72 65 61 64 72 63 |chkperm.|o readrc|
|00004510| 2e 6f 20 63 68 65 63 6b | 70 61 74 2e 6f 20 63 68 |.o check|pat.o ch|
|00004520| 65 63 6b 64 61 79 73 2e | 6f 20 6c 6f 63 6b 66 69 |eckdays.|o lockfi|
|00004530| 6c 65 2e 6f 0a 0a 75 6e | 64 65 6c 65 74 65 3a 20 |le.o..un|delete: |
|00004540| 75 6e 64 65 6c 65 74 65 | 2e 6f 20 70 61 72 73 65 |undelete|.o parse|
|00004550| 2e 6f 20 63 68 6b 70 65 | 72 6d 2e 6f 20 63 68 65 |.o chkpe|rm.o che|
|00004560| 63 6b 70 61 74 2e 6f 20 | 72 65 63 6c 65 6e 2e 6f |ckpat.o |reclen.o|
|00004570| 20 6c 6f 63 6b 66 69 6c | 65 2e 6f 20 72 65 61 64 | lockfil|e.o read|
|00004580| 72 63 2e 6f 0a 23 0a 23 | 20 49 66 20 79 6f 75 20 |rc.o.#.#| If you |
|00004590| 68 61 76 65 20 6e 63 75 | 72 73 65 73 20 28 74 68 |have ncu|rses (th|
|000045a0| 65 20 53 79 73 74 65 6d | 20 56 20 66 6c 61 76 6f |e System| V flavo|
|000045b0| 72 2c 20 4e 4f 54 20 42 | 53 44 21 21 29 20 75 6e |r, NOT B|SD!!) un|
|000045c0| 63 6f 6d 6d 65 6e 74 20 | 74 68 65 20 6e 65 78 74 |comment |the next|
|000045d0| 0a 23 20 6c 69 6e 65 20 | 61 6e 64 20 63 6f 6d 6d |.# line |and comm|
|000045e0| 65 6e 74 20 6f 75 74 20 | 74 68 65 20 73 65 63 6f |ent out |the seco|
|000045f0| 6e 64 20 43 46 4c 41 47 | 53 20 6c 69 6e 65 2e 2e |nd CFLAG|S line..|
|00004600| 2e 0a 09 24 28 43 43 29 | 20 24 28 4c 44 46 4c 41 |...$(CC)| $(LDFLA|
|00004610| 47 53 29 20 2d 6f 20 75 | 6e 64 65 6c 65 74 65 20 |GS) -o u|ndelete |
|00004620| 75 6e 64 65 6c 65 74 65 | 2e 6f 20 70 61 72 73 65 |undelete|.o parse|
|00004630| 2e 6f 20 63 68 6b 70 65 | 72 6d 2e 6f 20 63 68 65 |.o chkpe|rm.o che|
|00004640| 63 6b 70 61 74 2e 6f 20 | 72 65 63 6c 65 6e 2e 6f |ckpat.o |reclen.o|
|00004650| 20 6c 6f 63 6b 66 69 6c | 65 2e 6f 20 72 65 61 64 | lockfil|e.o read|
|00004660| 72 63 2e 6f 20 2d 6c 6e | 63 75 72 73 65 73 0a 23 |rc.o -ln|curses.#|
|00004670| 09 24 28 43 43 29 20 24 | 28 4c 44 46 4c 41 47 53 |.$(CC) $|(LDFLAGS|
|00004680| 29 20 2d 6f 20 75 6e 64 | 65 6c 65 74 65 20 75 6e |) -o und|elete un|
|00004690| 64 65 6c 65 74 65 2e 6f | 20 70 61 72 73 65 2e 6f |delete.o| parse.o|
|000046a0| 20 63 68 6b 70 65 72 6d | 2e 6f 20 63 68 65 63 6b | chkperm|.o check|
|000046b0| 70 61 74 2e 6f 20 72 65 | 63 6c 65 6e 2e 6f 20 6c |pat.o re|clen.o l|
|000046c0| 6f 63 6b 66 69 6c 65 2e | 6f 20 72 65 61 64 72 63 |ockfile.|o readrc|
|000046d0| 2e 6f 0a 0a 73 61 66 65 | 64 65 6c 63 68 6b 3a 20 |.o..safe|delchk: |
|000046e0| 73 61 66 65 64 65 6c 63 | 68 6b 2e 6f 20 63 68 6b |safedelc|hk.o chk|
|000046f0| 70 65 72 6d 2e 6f 20 72 | 65 61 64 72 63 2e 6f 20 |perm.o r|eadrc.o |
|00004700| 63 68 65 63 6b 64 61 79 | 73 2e 6f 20 70 61 72 73 |checkday|s.o pars|
|00004710| 65 2e 6f 20 72 65 63 6c | 65 6e 2e 6f 20 6c 6f 63 |e.o recl|en.o loc|
|00004720| 6b 66 69 6c 65 2e 6f 20 | 63 68 65 63 6b 70 61 74 |kfile.o |checkpat|
|00004730| 2e 6f 0a 09 24 28 43 43 | 29 20 24 28 4c 44 46 4c |.o..$(CC|) $(LDFL|
|00004740| 41 47 53 29 20 2d 6f 20 | 73 61 66 65 64 65 6c 63 |AGS) -o |safedelc|
|00004750| 68 6b 20 73 61 66 65 64 | 65 6c 63 68 6b 2e 6f 20 |hk safed|elchk.o |
|00004760| 63 68 6b 70 65 72 6d 2e | 6f 20 72 65 61 64 72 63 |chkperm.|o readrc|
|00004770| 2e 6f 20 63 68 65 63 6b | 70 61 74 2e 6f 20 63 68 |.o check|pat.o ch|
|00004780| 65 63 6b 64 61 79 73 2e | 6f 20 70 61 72 73 65 2e |eckdays.|o parse.|
|00004790| 6f 20 72 65 63 6c 65 6e | 2e 6f 20 6c 6f 63 6b 66 |o reclen|.o lockf|
|000047a0| 69 6c 65 2e 6f 0a 0a 73 | 61 66 65 63 6e 76 74 3a |ile.o..s|afecnvt:|
|000047b0| 20 73 61 66 65 63 6e 76 | 74 2e 6f 20 72 65 63 6c | safecnv|t.o recl|
|000047c0| 65 6e 2e 6f 20 6c 6f 63 | 6b 66 69 6c 65 2e 6f 20 |en.o loc|kfile.o |
|000047d0| 72 65 61 64 72 63 2e 6f | 0a 09 24 28 43 43 29 20 |readrc.o|..$(CC) |
|000047e0| 24 28 4c 44 46 4c 41 47 | 53 29 20 2d 6f 20 73 61 |$(LDFLAG|S) -o sa|
|000047f0| 66 65 63 6e 76 74 20 73 | 61 66 65 63 6e 76 74 2e |fecnvt s|afecnvt.|
|00004800| 6f 20 72 65 63 6c 65 6e | 2e 6f 20 6c 6f 63 6b 66 |o reclen|.o lockf|
|00004810| 69 6c 65 2e 6f 20 72 65 | 61 64 72 63 2e 6f 0a 0a |ile.o re|adrc.o..|
|00004820| 69 6e 73 74 61 6c 6c 3a | 20 73 61 66 65 64 65 6c |install:| safedel|
|00004830| 65 74 65 20 75 6e 64 65 | 6c 65 74 65 20 73 61 66 |ete unde|lete saf|
|00004840| 65 64 65 6c 63 68 6b 20 | 73 61 66 65 63 6e 76 74 |edelchk |safecnvt|
|00004850| 0a 09 69 6e 73 74 61 6c | 6c 20 2d 64 20 24 28 42 |..instal|l -d $(B|
|00004860| 49 4e 44 49 52 29 0a 09 | 69 6e 73 74 61 6c 6c 20 |INDIR)..|install |
|00004870| 2d 6d 20 30 37 35 35 20 | 73 61 66 65 64 65 6c 65 |-m 0755 |safedele|
|00004880| 74 65 20 24 28 42 49 4e | 44 49 52 29 0a 09 69 6e |te $(BIN|DIR)..in|
|00004890| 73 74 61 6c 6c 20 2d 6d | 20 30 37 35 35 20 75 6e |stall -m| 0755 un|
|000048a0| 64 65 6c 65 74 65 20 24 | 28 42 49 4e 44 49 52 29 |delete $|(BINDIR)|
|000048b0| 0a 09 69 6e 73 74 61 6c | 6c 20 2d 6d 20 30 37 35 |..instal|l -m 075|
|000048c0| 35 20 73 61 66 65 64 65 | 6c 63 68 6b 20 24 28 42 |5 safede|lchk $(B|
|000048d0| 49 4e 44 49 52 29 0a 09 | 69 6e 73 74 61 6c 6c 20 |INDIR)..|install |
|000048e0| 2d 6d 20 30 37 35 35 20 | 73 61 66 65 63 6e 76 74 |-m 0755 |safecnvt|
|000048f0| 20 24 28 42 49 4e 44 49 | 52 29 0a 09 69 6e 73 74 | $(BINDI|R)..inst|
|00004900| 61 6c 6c 20 2d 64 20 24 | 28 4d 41 4e 44 49 52 29 |all -d $|(MANDIR)|
|00004910| 2f 6d 61 6e 31 0a 09 69 | 6e 73 74 61 6c 6c 20 2d |/man1..i|nstall -|
|00004920| 6d 20 30 34 34 34 20 73 | 61 66 65 64 65 6c 65 74 |m 0444 s|afedelet|
|00004930| 65 2e 31 20 24 28 4d 41 | 4e 44 49 52 29 2f 6d 61 |e.1 $(MA|NDIR)/ma|
|00004940| 6e 31 0a 09 69 6e 73 74 | 61 6c 6c 20 2d 6d 20 30 |n1..inst|all -m 0|
|00004950| 34 34 34 20 75 6e 64 65 | 6c 65 74 65 2e 31 20 24 |444 unde|lete.1 $|
|00004960| 28 4d 41 4e 44 49 52 29 | 2f 6d 61 6e 31 0a 09 69 |(MANDIR)|/man1..i|
|00004970| 6e 73 74 61 6c 6c 20 2d | 6d 20 30 34 34 34 20 73 |nstall -|m 0444 s|
|00004980| 61 66 65 64 65 6c 63 68 | 6b 2e 31 20 24 28 4d 41 |afedelch|k.1 $(MA|
|00004990| 4e 44 49 52 29 2f 6d 61 | 6e 31 0a 09 69 6e 73 74 |NDIR)/ma|n1..inst|
|000049a0| 61 6c 6c 20 2d 6d 20 30 | 34 34 34 20 73 61 66 65 |all -m 0|444 safe|
|000049b0| 63 6e 76 74 2e 31 20 24 | 28 4d 41 4e 44 49 52 29 |cnvt.1 $|(MANDIR)|
|000049c0| 2f 6d 61 6e 31 0a 09 69 | 6e 73 74 61 6c 6c 20 2d |/man1..i|nstall -|
|000049d0| 64 20 24 28 4d 41 4e 44 | 49 52 29 2f 6d 61 6e 35 |d $(MAND|IR)/man5|
|000049e0| 0a 09 69 6e 73 74 61 6c | 6c 20 2d 6d 20 30 34 34 |..instal|l -m 044|
|000049f0| 34 20 73 61 66 65 64 65 | 6c 72 63 2e 35 20 24 28 |4 safede|lrc.5 $(|
|00004a00| 4d 41 4e 44 49 52 29 2f | 6d 61 6e 35 0a 0a 63 6c |MANDIR)/|man5..cl|
|00004a10| 65 61 6e 3a 20 0a 09 72 | 6d 20 2d 66 20 2a 2e 6f |ean: ..r|m -f *.o|
|00004a20| 0a 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c00| 73 61 66 65 64 65 6c 65 | 74 65 2d 31 2e 33 2f 4d |safedele|te-1.3/M|
|00004c10| 61 6b 65 66 69 6c 65 2e | 41 49 58 00 00 00 00 00 |akefile.|AIX.....|
|00004c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00004c70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00004c80| 20 20 20 36 30 31 34 20 | 20 36 30 35 36 33 36 35 | 6014 | 6056365|
|00004c90| 34 32 36 20 20 31 34 37 | 36 32 00 20 30 00 00 00 |426 147|62. 0...|
|00004ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d00| 00 75 73 74 61 72 20 20 | 00 72 65 6e 69 63 6b 65 |.ustar |.renicke|
|00004d10| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00004d20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00004d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 23 20 4d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 73 |# Makefi|le for s|
|00004e10| 61 66 65 64 65 6c 65 74 | 65 20 75 74 69 6c 69 74 |afedelet|e utilit|
|00004e20| 79 0a 23 20 4a 65 66 66 | 20 52 65 6e 69 63 6b 65 |y.# Jeff| Renicke|
|00004e30| 72 0a 23 20 5b 23 20 45 | 64 69 74 20 30 34 2c 20 |r.# [# E|dit 04, |
|00004e40| 44 61 74 65 20 32 33 2d | 4e 6f 76 2d 39 35 2c 20 |Date 23-|Nov-95, |
|00004e50| 4d 6f 64 75 6c 65 20 4d | 61 6b 65 66 69 6c 65 20 |Module M|akefile |
|00004e60| 23 5d 0a 20 0a 23 20 54 | 68 69 73 20 73 70 65 63 |#]. .# T|his spec|
|00004e70| 69 66 69 65 73 20 77 68 | 65 72 65 20 74 68 65 20 |ifies wh|ere the |
|00004e80| 22 64 65 6c 65 74 65 64 | 22 20 66 69 6c 65 73 20 |"deleted|" files |
|00004e90| 61 72 65 20 74 6f 20 0a | 23 20 62 65 20 70 6c 61 |are to .|# be pla|
|00004ea0| 63 65 64 2e 20 20 54 68 | 69 73 20 77 69 6c 6c 20 |ced. Th|is will |
|00004eb0| 62 65 20 70 72 65 66 69 | 78 65 64 20 62 79 20 74 |be prefi|xed by t|
|00004ec0| 68 65 20 75 73 65 72 73 | 0a 23 20 24 48 4f 4d 45 |he users|.# $HOME|
|00004ed0| 20 64 69 72 65 63 74 6f | 72 79 2e 20 20 45 78 61 | directo|ry. Exa|
|00004ee0| 6d 70 6c 65 3a 20 75 73 | 65 72 20 66 6f 6f 27 73 |mple: us|er foo's|
|00004ef0| 20 68 6f 6d 65 0a 23 20 | 64 69 72 65 63 74 6f 72 | home.# |director|
|00004f00| 79 20 69 73 20 2f 68 6f | 6d 65 2f 66 6f 6f 20 2d |y is /ho|me/foo -|
|00004f10| 2d 20 74 68 65 20 73 61 | 66 65 64 65 6c 65 74 65 |- the sa|fedelete|
|00004f20| 64 20 66 69 6c 65 73 0a | 23 20 77 69 6c 6c 20 62 |d files.|# will b|
|00004f30| 65 20 6b 65 70 74 20 69 | 6e 20 2f 68 6f 6d 65 2f |e kept i|n /home/|
|00004f40| 66 6f 6f 2f 2e 53 61 66 | 65 64 65 6c 65 74 65 0a |foo/.Saf|edelete.|
|00004f50| 53 41 46 45 44 49 52 20 | 3d 20 2f 2e 53 61 66 65 |SAFEDIR |= /.Safe|
|00004f60| 64 65 6c 65 74 65 0a 20 | 0a 23 20 54 68 69 73 20 |delete. |.# This |
|00004f70| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 6d 61 |specifie|s the ma|
|00004f80| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ximum nu|mber of |
|00004f90| 64 61 79 73 20 74 6f 20 | 6b 65 65 70 0a 23 20 61 |days to |keep.# a|
|00004fa0| 6e 79 20 73 61 66 65 64 | 65 6c 65 74 65 64 20 66 |ny safed|eleted f|
|00004fb0| 69 6c 65 2e 0a 4d 41 58 | 44 41 59 53 20 3d 20 33 |ile..MAX|DAYS = 3|
|00004fc0| 30 0a 20 0a 23 20 54 68 | 69 73 20 69 73 20 74 68 |0. .# Th|is is th|
|00004fd0| 65 20 6d 61 78 69 6d 75 | 6d 20 6e 75 6d 62 65 72 |e maximu|m number|
|00004fe0| 20 6f 66 20 66 69 6c 65 | 73 20 74 6f 20 62 65 20 | of file|s to be |
|00004ff0| 64 69 73 70 6c 61 79 65 | 64 0a 23 20 62 79 20 74 |displaye|d.# by t|
|00005000| 68 65 20 75 6e 64 65 6c | 65 74 65 20 63 6f 6d 6d |he undel|ete comm|
|00005010| 61 6e 64 2e 0a 4d 41 58 | 46 49 4c 45 53 20 3d 20 |and..MAX|FILES = |
|00005020| 31 30 30 30 0a 20 0a 23 | 20 54 68 69 73 20 73 70 |1000. .#| This sp|
|00005030| 65 63 69 66 69 65 73 20 | 74 68 65 20 64 69 72 65 |ecifies |the dire|
|00005040| 63 74 6f 72 79 20 77 68 | 65 72 65 20 74 68 65 20 |ctory wh|ere the |
|00005050| 65 78 65 63 75 74 61 62 | 6c 65 20 0a 23 20 63 6f |executab|le .# co|
|00005060| 6d 6d 61 6e 64 73 20 77 | 69 6c 6c 20 62 65 20 70 |mmands w|ill be p|
|00005070| 6c 61 63 65 64 2e 0a 42 | 49 4e 44 49 52 20 3d 20 |laced..B|INDIR = |
|00005080| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 62 69 6e 0a 20 |/usr/loc|al/bin. |
|00005090| 0a 23 20 54 68 69 73 20 | 73 70 65 63 69 66 69 65 |.# This |specifie|
|000050a0| 73 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |s the di|rectory |
|000050b0| 66 6f 72 20 74 68 65 20 | 6d 61 6e 75 61 6c 20 70 |for the |manual p|
|000050c0| 61 67 65 73 2e 0a 4d 41 | 4e 44 49 52 20 3d 20 2f |ages..MA|NDIR = /|
|000050d0| 75 73 72 2f 6c 6f 63 61 | 6c 2f 6d 61 6e 0a 0a 0a |usr/loca|l/man...|
|000050e0| 31 20 3d 20 2d 44 53 41 | 46 45 5f 44 49 52 5f 4e |1 = -DSA|FE_DIR_N|
|000050f0| 41 4d 45 3d 27 22 24 28 | 53 41 46 45 44 49 52 29 |AME='"$(|SAFEDIR)|
|00005100| 22 27 0a 32 20 3d 20 2d | 44 4d 41 58 5f 53 41 46 |"'.2 = -|DMAX_SAF|
|00005110| 45 5f 44 41 59 53 3d 27 | 24 28 4d 41 58 44 41 59 |E_DAYS='|$(MAXDAY|
|00005120| 53 29 27 0a 33 20 3d 20 | 2d 44 4d 41 58 5f 46 49 |S)'.3 = |-DMAX_FI|
|00005130| 4c 45 53 3d 27 24 28 4d | 41 58 46 49 4c 45 53 29 |LES='$(M|AXFILES)|
|00005140| 27 0a 43 43 20 3d 20 63 | 63 0a 23 0a 23 20 49 66 |'.CC = c|c.#.# If|
|00005150| 20 79 6f 75 20 68 61 76 | 65 20 6e 63 75 72 73 65 | you hav|e ncurse|
|00005160| 73 20 28 74 68 65 20 53 | 79 73 74 65 6d 20 56 20 |s (the S|ystem V |
|00005170| 66 6c 61 76 6f 72 2c 20 | 4e 4f 54 20 42 53 44 21 |flavor, |NOT BSD!|
|00005180| 21 29 20 75 6e 63 6f 6d | 6d 65 6e 74 20 74 68 65 |!) uncom|ment the|
|00005190| 20 6e 65 78 74 20 6c 69 | 6e 65 0a 23 20 61 6e 64 | next li|ne.# and|
|000051a0| 20 63 6f 6d 6d 65 6e 74 | 20 6f 75 74 20 74 68 65 | comment| out the|
|000051b0| 20 73 65 63 6f 6e 64 20 | 43 46 4c 41 47 53 20 6c | second |CFLAGS l|
|000051c0| 69 6e 65 2e 2e 2e 0a 23 | 20 43 46 4c 41 47 53 20 |ine....#| CFLAGS |
|000051d0| 3d 20 24 31 20 24 32 20 | 24 33 20 2d 4f 32 20 2d |= $1 $2 |$3 -O2 -|
|000051e0| 44 41 49 58 20 2d 49 2f | 75 73 72 2f 69 6e 63 6c |DAIX -I/|usr/incl|
|000051f0| 75 64 65 2f 6e 63 75 72 | 73 65 73 20 2d 49 2f 75 |ude/ncur|ses -I/u|
|00005200| 73 72 2f 6c 6f 63 61 6c | 2f 69 6e 63 6c 75 64 65 |sr/local|/include|
|00005210| 2f 6e 63 75 72 73 65 73 | 20 2d 49 2e 2f 0a 43 46 |/ncurses| -I./.CF|
|00005220| 4c 41 47 53 20 3d 20 24 | 31 20 24 32 20 24 33 20 |LAGS = $|1 $2 $3 |
|00005230| 2d 44 41 49 58 20 2d 44 | 4e 4f 5f 43 55 52 53 45 |-DAIX -D|NO_CURSE|
|00005240| 53 20 2d 4f 32 20 2d 49 | 2e 2f 0a 4c 44 46 4c 41 |S -O2 -I|./.LDFLA|
|00005250| 47 53 20 3d 20 2d 73 0a | 0a 61 6c 6c 3a 20 73 61 |GS = -s.|.all: sa|
|00005260| 66 65 64 65 6c 65 74 65 | 20 75 6e 64 65 6c 65 74 |fedelete| undelet|
|00005270| 65 20 73 61 66 65 64 65 | 6c 63 68 6b 20 73 61 66 |e safede|lchk saf|
|00005280| 65 63 6e 76 74 0a 0a 73 | 61 66 65 64 65 6c 65 74 |ecnvt..s|afedelet|
|00005290| 65 3a 20 73 61 66 65 64 | 65 6c 65 74 65 2e 6f 20 |e: safed|elete.o |
|000052a0| 70 61 72 73 65 2e 6f 20 | 63 68 6b 70 65 72 6d 2e |parse.o |chkperm.|
|000052b0| 6f 20 72 65 61 64 72 63 | 2e 6f 20 63 68 65 63 6b |o readrc|.o check|
|000052c0| 70 61 74 2e 6f 20 63 68 | 65 63 6b 64 61 79 73 2e |pat.o ch|eckdays.|
|000052d0| 6f 20 67 65 74 6f 70 74 | 2e 6f 20 67 65 74 6f 70 |o getopt|.o getop|
|000052e0| 74 31 2e 6f 20 6c 6f 63 | 6b 66 69 6c 65 2e 6f 0a |t1.o loc|kfile.o.|
|000052f0| 09 24 28 43 43 29 20 24 | 28 4c 44 46 4c 41 47 53 |.$(CC) $|(LDFLAGS|
|00005300| 29 20 2d 6f 20 73 61 66 | 65 64 65 6c 65 74 65 20 |) -o saf|edelete |
|00005310| 73 61 66 65 64 65 6c 65 | 74 65 2e 6f 20 70 61 72 |safedele|te.o par|
|00005320| 73 65 2e 6f 20 63 68 6b | 70 65 72 6d 2e 6f 20 72 |se.o chk|perm.o r|
|00005330| 65 61 64 72 63 2e 6f 20 | 63 68 65 63 6b 70 61 74 |eadrc.o |checkpat|
|00005340| 2e 6f 20 63 68 65 63 6b | 64 61 79 73 2e 6f 20 67 |.o check|days.o g|
|00005350| 65 74 6f 70 74 2e 6f 20 | 67 65 74 6f 70 74 31 2e |etopt.o |getopt1.|
|00005360| 6f 20 6c 6f 63 6b 66 69 | 6c 65 2e 6f 20 2d 6c 62 |o lockfi|le.o -lb|
|00005370| 73 64 0a 0a 75 6e 64 65 | 6c 65 74 65 3a 20 75 6e |sd..unde|lete: un|
|00005380| 64 65 6c 65 74 65 2e 6f | 20 70 61 72 73 65 2e 6f |delete.o| parse.o|
|00005390| 20 63 68 6b 70 65 72 6d | 2e 6f 20 63 68 65 63 6b | chkperm|.o check|
|000053a0| 70 61 74 2e 6f 20 72 65 | 63 6c 65 6e 2e 6f 20 67 |pat.o re|clen.o g|
|000053b0| 65 74 6f 70 74 2e 6f 20 | 67 65 74 6f 70 74 31 2e |etopt.o |getopt1.|
|000053c0| 6f 20 6c 6f 63 6b 66 69 | 6c 65 2e 6f 20 72 65 61 |o lockfi|le.o rea|
|000053d0| 64 72 63 2e 6f 0a 23 0a | 23 20 49 66 20 79 6f 75 |drc.o.#.|# If you|
|000053e0| 20 68 61 76 65 20 6e 63 | 75 72 73 65 73 20 28 74 | have nc|urses (t|
|000053f0| 68 65 20 53 79 73 74 65 | 6d 20 56 20 66 6c 61 76 |he Syste|m V flav|
|00005400| 6f 72 2c 20 4e 4f 54 20 | 42 53 44 21 21 29 20 75 |or, NOT |BSD!!) u|
|00005410| 6e 63 6f 6d 6d 65 6e 74 | 20 74 68 65 20 6e 65 78 |ncomment| the nex|
|00005420| 74 20 6c 69 6e 65 0a 23 | 20 61 6e 64 20 63 6f 6d |t line.#| and com|
|00005430| 6d 65 6e 74 20 6f 75 74 | 20 74 68 65 20 73 65 63 |ment out| the sec|
|00005440| 6f 6e 64 20 6c 69 6e 65 | 2e 2e 2e 0a 23 09 24 28 |ond line|....#.$(|
|00005450| 43 43 29 20 24 28 4c 44 | 46 4c 41 47 53 29 20 2d |CC) $(LD|FLAGS) -|
|00005460| 6f 20 75 6e 64 65 6c 65 | 74 65 20 75 6e 64 65 6c |o undele|te undel|
|00005470| 65 74 65 2e 6f 20 70 61 | 72 73 65 2e 6f 20 63 68 |ete.o pa|rse.o ch|
|00005480| 6b 70 65 72 6d 2e 6f 20 | 63 68 65 63 6b 70 61 74 |kperm.o |checkpat|
|00005490| 2e 6f 20 72 65 63 6c 65 | 6e 2e 6f 20 67 65 74 6f |.o recle|n.o geto|
|000054a0| 70 74 2e 6f 20 67 65 74 | 6f 70 74 31 2e 6f 20 6c |pt.o get|opt1.o l|
|000054b0| 6f 63 6b 66 69 6c 65 2e | 6f 20 72 65 61 64 72 63 |ockfile.|o readrc|
|000054c0| 2e 6f 20 2d 6c 62 73 64 | 20 2d 6c 6e 63 75 72 73 |.o -lbsd| -lncurs|
|000054d0| 65 73 0a 09 24 28 43 43 | 29 20 24 28 4c 44 46 4c |es..$(CC|) $(LDFL|
|000054e0| 41 47 53 29 20 2d 6f 20 | 75 6e 64 65 6c 65 74 65 |AGS) -o |undelete|
|000054f0| 20 75 6e 64 65 6c 65 74 | 65 2e 6f 20 70 61 72 73 | undelet|e.o pars|
|00005500| 65 2e 6f 20 63 68 6b 70 | 65 72 6d 2e 6f 20 63 68 |e.o chkp|erm.o ch|
|00005510| 65 63 6b 70 61 74 2e 6f | 20 72 65 63 6c 65 6e 2e |eckpat.o| reclen.|
|00005520| 6f 20 67 65 74 6f 70 74 | 2e 6f 20 67 65 74 6f 70 |o getopt|.o getop|
|00005530| 74 31 2e 6f 20 6c 6f 63 | 6b 66 69 6c 65 2e 6f 20 |t1.o loc|kfile.o |
|00005540| 72 65 61 64 72 63 2e 6f | 20 2d 6c 62 73 64 0a 0a |readrc.o| -lbsd..|
|00005550| 73 61 66 65 64 65 6c 63 | 68 6b 3a 20 73 61 66 65 |safedelc|hk: safe|
|00005560| 64 65 6c 63 68 6b 2e 6f | 20 63 68 6b 70 65 72 6d |delchk.o| chkperm|
|00005570| 2e 6f 20 72 65 61 64 72 | 63 2e 6f 20 63 68 65 63 |.o readr|c.o chec|
|00005580| 6b 64 61 79 73 2e 6f 20 | 70 61 72 73 65 2e 6f 20 |kdays.o |parse.o |
|00005590| 72 65 63 6c 65 6e 2e 6f | 20 67 65 74 6f 70 74 2e |reclen.o| getopt.|
|000055a0| 6f 20 67 65 74 6f 70 74 | 31 2e 6f 20 6c 6f 63 6b |o getopt|1.o lock|
|000055b0| 66 69 6c 65 2e 6f 20 63 | 68 65 63 6b 70 61 74 2e |file.o c|heckpat.|
|000055c0| 6f 0a 09 24 28 43 43 29 | 20 24 28 4c 44 46 4c 41 |o..$(CC)| $(LDFLA|
|000055d0| 47 53 29 20 2d 6f 20 73 | 61 66 65 64 65 6c 63 68 |GS) -o s|afedelch|
|000055e0| 6b 20 73 61 66 65 64 65 | 6c 63 68 6b 2e 6f 20 63 |k safede|lchk.o c|
|000055f0| 68 6b 70 65 72 6d 2e 6f | 20 72 65 61 64 72 63 2e |hkperm.o| readrc.|
|00005600| 6f 20 63 68 65 63 6b 70 | 61 74 2e 6f 20 63 68 65 |o checkp|at.o che|
|00005610| 63 6b 64 61 79 73 2e 6f | 20 70 61 72 73 65 2e 6f |ckdays.o| parse.o|
|00005620| 20 72 65 63 6c 65 6e 2e | 6f 20 67 65 74 6f 70 74 | reclen.|o getopt|
|00005630| 2e 6f 20 67 65 74 6f 70 | 74 31 2e 6f 20 6c 6f 63 |.o getop|t1.o loc|
|00005640| 6b 66 69 6c 65 2e 6f 20 | 2d 6c 62 73 64 0a 0a 73 |kfile.o |-lbsd..s|
|00005650| 61 66 65 63 6e 76 74 3a | 20 73 61 66 65 63 6e 76 |afecnvt:| safecnv|
|00005660| 74 2e 6f 20 72 65 63 6c | 65 6e 2e 6f 20 67 65 74 |t.o recl|en.o get|
|00005670| 6f 70 74 2e 6f 20 67 65 | 74 6f 70 74 31 2e 6f 20 |opt.o ge|topt1.o |
|00005680| 6c 6f 63 6b 66 69 6c 65 | 2e 6f 20 72 65 61 64 72 |lockfile|.o readr|
|00005690| 63 2e 6f 0a 09 24 28 43 | 43 29 20 24 28 4c 44 46 |c.o..$(C|C) $(LDF|
|000056a0| 4c 41 47 53 29 20 2d 6f | 20 73 61 66 65 63 6e 76 |LAGS) -o| safecnv|
|000056b0| 74 20 73 61 66 65 63 6e | 76 74 2e 6f 20 72 65 63 |t safecn|vt.o rec|
|000056c0| 6c 65 6e 2e 6f 20 67 65 | 74 6f 70 74 2e 6f 20 67 |len.o ge|topt.o g|
|000056d0| 65 74 6f 70 74 31 2e 6f | 20 6c 6f 63 6b 66 69 6c |etopt1.o| lockfil|
|000056e0| 65 2e 6f 20 72 65 61 64 | 72 63 2e 6f 20 2d 6c 62 |e.o read|rc.o -lb|
|000056f0| 73 64 0a 0a 69 6e 73 74 | 61 6c 6c 3a 20 73 61 66 |sd..inst|all: saf|
|00005700| 65 64 65 6c 65 74 65 20 | 75 6e 64 65 6c 65 74 65 |edelete |undelete|
|00005710| 20 73 61 66 65 64 65 6c | 63 68 6b 20 73 61 66 65 | safedel|chk safe|
|00005720| 63 6e 76 74 0a 09 69 66 | 20 5b 20 21 20 2d 64 20 |cnvt..if| [ ! -d |
|00005730| 24 28 42 49 4e 44 49 52 | 29 20 5d 3b 20 74 68 65 |$(BINDIR|) ]; the|
|00005740| 6e 20 6d 6b 64 69 72 20 | 24 28 42 49 4e 44 49 52 |n mkdir |$(BINDIR|
|00005750| 29 20 3b 20 66 69 0a 09 | 2f 75 73 72 2f 75 63 62 |) ; fi..|/usr/ucb|
|00005760| 2f 69 6e 73 74 61 6c 6c | 20 2d 6d 20 30 37 35 35 |/install| -m 0755|
|00005770| 20 60 70 77 64 60 2f 73 | 61 66 65 64 65 6c 65 74 | `pwd`/s|afedelet|
|00005780| 65 20 24 28 42 49 4e 44 | 49 52 29 0a 09 2f 75 73 |e $(BIND|IR)../us|
|00005790| 72 2f 75 63 62 2f 69 6e | 73 74 61 6c 6c 20 2d 6d |r/ucb/in|stall -m|
|000057a0| 20 30 37 35 35 20 60 70 | 77 64 60 2f 75 6e 64 65 | 0755 `p|wd`/unde|
|000057b0| 6c 65 74 65 20 24 28 42 | 49 4e 44 49 52 29 0a 09 |lete $(B|INDIR)..|
|000057c0| 2f 75 73 72 2f 75 63 62 | 2f 69 6e 73 74 61 6c 6c |/usr/ucb|/install|
|000057d0| 20 2d 6d 20 30 37 35 35 | 20 60 70 77 64 60 2f 73 | -m 0755| `pwd`/s|
|000057e0| 61 66 65 64 65 6c 63 68 | 6b 20 24 28 42 49 4e 44 |afedelch|k $(BIND|
|000057f0| 49 52 29 0a 09 2f 75 73 | 72 2f 75 63 62 2f 69 6e |IR)../us|r/ucb/in|
|00005800| 73 74 61 6c 6c 20 2d 6d | 20 30 37 35 35 20 60 70 |stall -m| 0755 `p|
|00005810| 77 64 60 2f 73 61 66 65 | 63 6e 76 74 20 24 28 42 |wd`/safe|cnvt $(B|
|00005820| 49 4e 44 49 52 29 0a 09 | 69 66 20 5b 20 21 20 2d |INDIR)..|if [ ! -|
|00005830| 64 20 24 28 4d 41 4e 44 | 49 52 29 20 5d 3b 20 74 |d $(MAND|IR) ]; t|
|00005840| 68 65 6e 20 6d 6b 64 69 | 72 20 24 28 4d 41 4e 44 |hen mkdi|r $(MAND|
|00005850| 49 52 29 20 3b 20 66 69 | 0a 09 69 66 20 5b 20 21 |IR) ; fi|..if [ !|
|00005860| 20 2d 64 20 24 28 4d 41 | 4e 44 49 52 29 2f 6d 61 | -d $(MA|NDIR)/ma|
|00005870| 6e 31 20 5d 3b 20 74 68 | 65 6e 20 6d 6b 64 69 72 |n1 ]; th|en mkdir|
|00005880| 20 24 28 4d 41 4e 44 49 | 52 29 2f 6d 61 6e 31 20 | $(MANDI|R)/man1 |
|00005890| 3b 20 66 69 0a 09 2f 75 | 73 72 2f 75 63 62 2f 69 |; fi../u|sr/ucb/i|
|000058a0| 6e 73 74 61 6c 6c 20 2d | 6d 20 30 34 34 34 20 60 |nstall -|m 0444 `|
|000058b0| 70 77 64 60 2f 73 61 66 | 65 64 65 6c 65 74 65 2e |pwd`/saf|edelete.|
|000058c0| 31 20 24 28 4d 41 4e 44 | 49 52 29 2f 6d 61 6e 31 |1 $(MAND|IR)/man1|
|000058d0| 0a 09 2f 75 73 72 2f 75 | 63 62 2f 69 6e 73 74 61 |../usr/u|cb/insta|
|000058e0| 6c 6c 20 2d 6d 20 30 34 | 34 34 20 60 70 77 64 60 |ll -m 04|44 `pwd`|
|000058f0| 2f 75 6e 64 65 6c 65 74 | 65 2e 31 20 24 28 4d 41 |/undelet|e.1 $(MA|
|00005900| 4e 44 49 52 29 2f 6d 61 | 6e 31 0a 09 2f 75 73 72 |NDIR)/ma|n1../usr|
|00005910| 2f 75 63 62 2f 69 6e 73 | 74 61 6c 6c 20 2d 6d 20 |/ucb/ins|tall -m |
|00005920| 30 34 34 34 20 60 70 77 | 64 60 2f 73 61 66 65 64 |0444 `pw|d`/safed|
|00005930| 65 6c 63 68 6b 2e 31 20 | 24 28 4d 41 4e 44 49 52 |elchk.1 |$(MANDIR|
|00005940| 29 2f 6d 61 6e 31 0a 09 | 2f 75 73 72 2f 75 63 62 |)/man1..|/usr/ucb|
|00005950| 2f 69 6e 73 74 61 6c 6c | 20 2d 6d 20 30 34 34 34 |/install| -m 0444|
|00005960| 20 60 70 77 64 60 2f 73 | 61 66 65 63 6e 76 74 2e | `pwd`/s|afecnvt.|
|00005970| 31 20 24 28 4d 41 4e 44 | 49 52 29 2f 6d 61 6e 31 |1 $(MAND|IR)/man1|
|00005980| 0a 09 69 66 20 5b 20 21 | 20 2d 64 20 24 28 4d 41 |..if [ !| -d $(MA|
|00005990| 4e 44 49 52 29 2f 6d 61 | 6e 35 20 5d 3b 20 74 68 |NDIR)/ma|n5 ]; th|
|000059a0| 65 6e 20 6d 6b 64 69 72 | 20 24 28 4d 41 4e 44 49 |en mkdir| $(MANDI|
|000059b0| 52 29 2f 6d 61 6e 35 20 | 3b 20 66 69 0a 09 2f 75 |R)/man5 |; fi../u|
|000059c0| 73 72 2f 75 63 62 2f 69 | 6e 73 74 61 6c 6c 20 2d |sr/ucb/i|nstall -|
|000059d0| 6d 20 30 34 34 34 20 60 | 70 77 64 60 2f 73 61 66 |m 0444 `|pwd`/saf|
|000059e0| 65 64 65 6c 72 63 2e 35 | 20 24 28 4d 41 4e 44 49 |edelrc.5| $(MANDI|
|000059f0| 52 29 2f 6d 61 6e 35 0a | 0a 63 6c 65 61 6e 3a 20 |R)/man5.|.clean: |
|00005a00| 0a 09 72 6d 20 2d 66 20 | 2a 2e 6f 0a 00 00 00 00 |..rm -f |*.o.....|
|00005a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 73 61 66 65 64 65 6c 65 | 74 65 2d 31 2e 33 2f 4d |safedele|te-1.3/M|
|00005c10| 61 6b 65 66 69 6c 65 2e | 48 50 55 58 00 00 00 00 |akefile.|HPUX....|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00005c70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00005c80| 20 20 20 36 30 35 31 20 | 20 36 30 35 36 33 36 35 | 6051 | 6056365|
|00005c90| 35 35 35 20 20 31 35 31 | 33 31 00 20 30 00 00 00 |555 151|31. 0...|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 75 73 74 61 72 20 20 | 00 72 65 6e 69 63 6b 65 |.ustar |.renicke|
|00005d10| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00005d20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00005d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 23 20 4d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 73 |# Makefi|le for s|
|00005e10| 61 66 65 64 65 6c 65 74 | 65 20 75 74 69 6c 69 74 |afedelet|e utilit|
|00005e20| 79 0a 23 20 4a 65 66 66 | 20 52 65 6e 69 63 6b 65 |y.# Jeff| Renicke|
|00005e30| 72 0a 23 20 5b 23 20 45 | 64 69 74 20 30 34 2c 20 |r.# [# E|dit 04, |
|00005e40| 44 61 74 65 20 32 33 2d | 4e 6f 76 2d 39 35 2c 20 |Date 23-|Nov-95, |
|00005e50| 4d 6f 64 75 6c 65 20 4d | 61 6b 65 66 69 6c 65 20 |Module M|akefile |
|00005e60| 23 5d 0a 20 0a 23 20 54 | 68 69 73 20 73 70 65 63 |#]. .# T|his spec|
|00005e70| 69 66 69 65 73 20 77 68 | 65 72 65 20 74 68 65 20 |ifies wh|ere the |
|00005e80| 22 64 65 6c 65 74 65 64 | 22 20 66 69 6c 65 73 20 |"deleted|" files |
|00005e90| 61 72 65 20 74 6f 20 0a | 23 20 62 65 20 70 6c 61 |are to .|# be pla|
|00005ea0| 63 65 64 2e 20 20 54 68 | 69 73 20 77 69 6c 6c 20 |ced. Th|is will |
|00005eb0| 62 65 20 70 72 65 66 69 | 78 65 64 20 62 79 20 74 |be prefi|xed by t|
|00005ec0| 68 65 20 75 73 65 72 73 | 0a 23 20 24 48 4f 4d 45 |he users|.# $HOME|
|00005ed0| 20 64 69 72 65 63 74 6f | 72 79 2e 20 20 45 78 61 | directo|ry. Exa|
|00005ee0| 6d 70 6c 65 3a 20 75 73 | 65 72 20 66 6f 6f 27 73 |mple: us|er foo's|
|00005ef0| 20 68 6f 6d 65 0a 23 20 | 64 69 72 65 63 74 6f 72 | home.# |director|
|00005f00| 79 20 69 73 20 2f 68 6f | 6d 65 2f 66 6f 6f 20 2d |y is /ho|me/foo -|
|00005f10| 2d 20 74 68 65 20 73 61 | 66 65 64 65 6c 65 74 65 |- the sa|fedelete|
|00005f20| 64 20 66 69 6c 65 73 0a | 23 20 77 69 6c 6c 20 62 |d files.|# will b|
|00005f30| 65 20 6b 65 70 74 20 69 | 6e 20 2f 68 6f 6d 65 2f |e kept i|n /home/|
|00005f40| 66 6f 6f 2f 2e 53 61 66 | 65 64 65 6c 65 74 65 0a |foo/.Saf|edelete.|
|00005f50| 53 41 46 45 44 49 52 20 | 3d 20 2f 2e 53 61 66 65 |SAFEDIR |= /.Safe|
|00005f60| 64 65 6c 65 74 65 0a 20 | 0a 23 20 54 68 69 73 20 |delete. |.# This |
|00005f70| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 6d 61 |specifie|s the ma|
|00005f80| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ximum nu|mber of |
|00005f90| 64 61 79 73 20 74 6f 20 | 6b 65 65 70 0a 23 20 61 |days to |keep.# a|
|00005fa0| 6e 79 20 73 61 66 65 64 | 65 6c 65 74 65 64 20 66 |ny safed|eleted f|
|00005fb0| 69 6c 65 2e 0a 4d 41 58 | 44 41 59 53 20 3d 20 33 |ile..MAX|DAYS = 3|
|00005fc0| 30 0a 20 0a 23 20 54 68 | 69 73 20 69 73 20 74 68 |0. .# Th|is is th|
|00005fd0| 65 20 6d 61 78 69 6d 75 | 6d 20 6e 75 6d 62 65 72 |e maximu|m number|
|00005fe0| 20 6f 66 20 66 69 6c 65 | 73 20 74 6f 20 62 65 20 | of file|s to be |
|00005ff0| 64 69 73 70 6c 61 79 65 | 64 0a 23 20 62 79 20 74 |displaye|d.# by t|
|00006000| 68 65 20 75 6e 64 65 6c | 65 74 65 20 63 6f 6d 6d |he undel|ete comm|
|00006010| 61 6e 64 2e 0a 4d 41 58 | 46 49 4c 45 53 20 3d 20 |and..MAX|FILES = |
|00006020| 31 30 30 30 0a 20 0a 23 | 20 54 68 69 73 20 73 70 |1000. .#| This sp|
|00006030| 65 63 69 66 69 65 73 20 | 74 68 65 20 64 69 72 65 |ecifies |the dire|
|00006040| 63 74 6f 72 79 20 77 68 | 65 72 65 20 74 68 65 20 |ctory wh|ere the |
|00006050| 65 78 65 63 75 74 61 62 | 6c 65 20 0a 23 20 63 6f |executab|le .# co|
|00006060| 6d 6d 61 6e 64 73 20 77 | 69 6c 6c 20 62 65 20 70 |mmands w|ill be p|
|00006070| 6c 61 63 65 64 2e 0a 42 | 49 4e 44 49 52 20 3d 20 |laced..B|INDIR = |
|00006080| 2f 75 73 72 2f 6c 6f 63 | 61 6c 2f 62 69 6e 0a 20 |/usr/loc|al/bin. |
|00006090| 0a 23 20 54 68 69 73 20 | 73 70 65 63 69 66 69 65 |.# This |specifie|
|000060a0| 73 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |s the di|rectory |
|000060b0| 66 6f 72 20 74 68 65 20 | 6d 61 6e 75 61 6c 20 70 |for the |manual p|
|000060c0| 61 67 65 73 2e 0a 4d 41 | 4e 44 49 52 20 3d 20 2f |ages..MA|NDIR = /|
|000060d0| 75 73 72 2f 6c 6f 63 61 | 6c 2f 6d 61 6e 0a 0a 0a |usr/loca|l/man...|
|000060e0| 31 20 3d 20 2d 44 53 41 | 46 45 5f 44 49 52 5f 4e |1 = -DSA|FE_DIR_N|
|000060f0| 41 4d 45 3d 27 22 24 28 | 53 41 46 45 44 49 52 29 |AME='"$(|SAFEDIR)|
|00006100| 22 27 0a 32 20 3d 20 2d | 44 4d 41 58 5f 53 41 46 |"'.2 = -|DMAX_SAF|
|00006110| 45 5f 44 41 59 53 3d 27 | 24 28 4d 41 58 44 41 59 |E_DAYS='|$(MAXDAY|
|00006120| 53 29 27 0a 33 20 3d 20 | 2d 44 4d 41 58 5f 46 49 |S)'.3 = |-DMAX_FI|
|00006130| 4c 45 53 3d 27 24 28 4d | 41 58 46 49 4c 45 53 29 |LES='$(M|AXFILES)|
|00006140| 27 0a 43 43 20 3d 20 63 | 63 0a 23 0a 23 20 49 66 |'.CC = c|c.#.# If|
|00006150| 20 79 6f 75 20 68 61 76 | 65 20 6e 63 75 72 73 65 | you hav|e ncurse|
|00006160| 73 20 28 74 68 65 20 53 | 79 73 74 65 6d 20 56 20 |s (the S|ystem V |
|00006170| 66 6c 61 76 6f 72 2c 20 | 4e 4f 54 20 42 53 44 21 |flavor, |NOT BSD!|
|00006180| 21 29 20 75 6e 63 6f 6d | 6d 65 6e 74 20 74 68 65 |!) uncom|ment the|
|00006190| 20 6e 65 78 74 0a 23 20 | 6c 69 6e 65 20 61 6e 64 | next.# |line and|
|000061a0| 20 63 6f 6d 6d 65 6e 74 | 20 6f 75 74 20 74 68 65 | comment| out the|
|000061b0| 20 73 65 63 6f 6e 64 20 | 43 46 4c 41 47 53 20 6c | second |CFLAGS l|
|000061c0| 69 6e 65 2e 2e 2e 0a 23 | 20 43 46 4c 41 47 53 20 |ine....#| CFLAGS |
|000061d0| 3d 20 24 31 20 24 32 20 | 24 33 20 2d 44 48 50 55 |= $1 $2 |$3 -DHPU|
|000061e0| 58 20 2d 49 2f 75 73 72 | 2f 69 6e 63 6c 75 64 65 |X -I/usr|/include|
|000061f0| 2f 6e 63 75 72 73 65 73 | 20 2d 49 2f 75 73 72 2f |/ncurses| -I/usr/|
|00006200| 6c 6f 63 61 6c 2f 69 6e | 63 6c 75 64 65 2f 6e 63 |local/in|clude/nc|
|00006210| 75 72 73 65 73 20 2d 49 | 2e 2f 0a 43 46 4c 41 47 |urses -I|./.CFLAG|
|00006220| 53 20 3d 20 24 31 20 24 | 32 20 24 33 20 2d 44 48 |S = $1 $|2 $3 -DH|
|00006230| 50 55 58 20 2d 44 4e 4f | 5f 43 55 52 53 45 53 20 |PUX -DNO|_CURSES |
|00006240| 2d 49 2e 2f 0a 4c 44 46 | 4c 41 47 53 20 3d 20 2d |-I./.LDF|LAGS = -|
|00006250| 73 0a 0a 61 6c 6c 3a 20 | 73 61 66 65 64 65 6c 65 |s..all: |safedele|
|00006260| 74 65 20 75 6e 64 65 6c | 65 74 65 20 73 61 66 65 |te undel|ete safe|
|00006270| 64 65 6c 63 68 6b 20 73 | 61 66 65 63 6e 76 74 0a |delchk s|afecnvt.|
|00006280| 0a 73 61 66 65 64 65 6c | 65 74 65 3a 20 73 61 66 |.safedel|ete: saf|
|00006290| 65 64 65 6c 65 74 65 2e | 6f 20 70 61 72 73 65 2e |edelete.|o parse.|
|000062a0| 6f 20 63 68 6b 70 65 72 | 6d 2e 6f 20 72 65 61 64 |o chkper|m.o read|
|000062b0| 72 63 2e 6f 20 63 68 65 | 63 6b 70 61 74 2e 6f 20 |rc.o che|ckpat.o |
|000062c0| 63 68 65 63 6b 64 61 79 | 73 2e 6f 20 67 65 74 6f |checkday|s.o geto|
|000062d0| 70 74 2e 6f 20 67 65 74 | 6f 70 74 31 2e 6f 20 6c |pt.o get|opt1.o l|
|000062e0| 6f 63 6b 66 69 6c 65 2e | 6f 0a 09 24 28 43 43 29 |ockfile.|o..$(CC)|
|000062f0| 20 24 28 4c 44 46 4c 41 | 47 53 29 20 2d 6f 20 73 | $(LDFLA|GS) -o s|
|00006300| 61 66 65 64 65 6c 65 74 | 65 20 73 61 66 65 64 65 |afedelet|e safede|
|00006310| 6c 65 74 65 2e 6f 20 70 | 61 72 73 65 2e 6f 20 63 |lete.o p|arse.o c|
|00006320| 68 6b 70 65 72 6d 2e 6f | 20 72 65 61 64 72 63 2e |hkperm.o| readrc.|
|00006330| 6f 20 63 68 65 63 6b 70 | 61 74 2e 6f 20 63 68 65 |o checkp|at.o che|
|00006340| 63 6b 64 61 79 73 2e 6f | 20 67 65 74 6f 70 74 2e |ckdays.o| getopt.|
|00006350| 6f 20 67 65 74 6f 70 74 | 31 2e 6f 20 6c 6f 63 6b |o getopt|1.o lock|
|00006360| 66 69 6c 65 2e 6f 0a 0a | 75 6e 64 65 6c 65 74 65 |file.o..|undelete|
|00006370| 3a 20 75 6e 64 65 6c 65 | 74 65 2e 6f 20 70 61 72 |: undele|te.o par|
|00006380| 73 65 2e 6f 20 63 68 6b | 70 65 72 6d 2e 6f 20 63 |se.o chk|perm.o c|
|00006390| 68 65 63 6b 70 61 74 2e | 6f 20 72 65 63 6c 65 6e |heckpat.|o reclen|
|000063a0| 2e 6f 20 67 65 74 6f 70 | 74 2e 6f 20 67 65 74 6f |.o getop|t.o geto|
|000063b0| 70 74 31 2e 6f 20 6c 6f | 63 6b 66 69 6c 65 2e 6f |pt1.o lo|ckfile.o|
|000063c0| 20 72 65 61 64 72 63 2e | 6f 0a 23 20 49 66 20 79 | readrc.|o.# If y|
|000063d0| 6f 75 20 68 61 76 65 20 | 6e 63 75 72 73 65 73 20 |ou have |ncurses |
|000063e0| 28 74 68 65 20 53 79 73 | 74 65 6d 20 56 20 66 6c |(the Sys|tem V fl|
|000063f0| 61 76 6f 72 2c 20 4e 4f | 54 20 42 53 44 21 21 29 |avor, NO|T BSD!!)|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.