The Alan Sondheim Mail Archive


afile that erases itself leaving no trace of contents

http://www.alansondheim.org/erase0.jpg
http://www.alansondheim.org/erase1.jpg
http://www.alansondheim.org/erase2.jpg

$ pico afile that erases itself
[1;1H
   UW PICO 5.07 New Buffer [23;1H [24;1H [23;1H Get Help WriteOut
Read File Prev Pg Cut Text Cur Pos [24;1H Exit Justify Where is
Next Pg UnCut Text To Spell [3;1H [22;1H [22;35H [ New file ]
[1;41H File: afile [3;1H [1;37H File: afile Modified [3;1H [3;4H
afile [22;1H [22;1H File Name to write :  [22;22H [23;15H
   To Files [24;2H
  Cancel Complete [22;22H afile [22;27H [22;1H
[22;34H [ Writing... ] [22;1H
[22;33H [ Wrote 1 line ] [1;37H
     File: afile [23;1H [24;1H [23;1H Get Help WriteOut Read File
Prev Pg Cut Text Cur Pos [24;1H Exit Justify Where is Next Pg
UnCut Text To Spell [3;9H [23;1H [24;1H $ history 1 pico afile
that erases itself $ pico afilethaterasesitself [1;1H
   UW PICO 5.07 New Buffer [23;1H [24;1H [23;1H Get Help WriteOut
Read File Prev Pg Cut Text Cur Pos [24;1H Exit Justify Where is
Next Pg UnCut Text To Spell [3;1H [22;1H

[22;35H [ New file ] [1;33H File: afilethaterasesitself [3;1H
[1;29H File: afilethaterasesitself Modified [3;1H [3;4H [3;6H
filethaterasesitself [22;1H

[3;25H [3;24H [3;23H [3;22H [3;21H [3;20H [3;19H [3;18H [3;17H
[3;16H [3;15H [3;14H [3;13H [3;12H [3;11H [3;10H [3;9H [3;8H
[3;7H [3;6H [3;5H filethaterasesitself [3;5H [22;1H

[22;1H File Name to write :  [22;22H [23;15H To Files [24;2H
Cancel Complete [22;22H afilethaterasesitself [22;43H [22;1H

[22;34H
[ Writing... ]
[22;1H

[22;33H [ Wrote 1 line ] [1;29H File: afilethaterasesitself
[23;1H [24;1H [23;1H Get Help WriteOut Read File Prev Pg Cut
Text Cur Pos [24;1H Exit Justify Where is Next Pg UnCut Text To
Spell [3;5H [23;1H [24;1H

$ ls Mail elo.rtf sl News linux talks a lisp texts ad mail
tlk.txt afile mod tz.txt afilethaterasesitself notes.txt vr
alist olda zz biog older dhsi.rtf sc

$ chmod a 777 afile $ ./afile $ ls Mail elo.rtf sc News linux sl
a lisp talks ad mail texts afilethaterasesitself mod tlk.txt
alist notes.txt tz.txt biog olda vr dhsi.rtf older zz $ chmod
777 afile* $ ./afile* $ ls Mail ad dhsi.rtf lisp notes.txt sc
texts vr News alist elo.rtf mail olda sl tlk.txt zz a biog linux
mod older talks tz.txt $ exit

Generated by Mnemosyne 0.12.