How to remove a file whose name begins with a dash

Don Hopkins hopkins at sun.com
Wed Mar 6 20:14:29 AEST 1991


The heavily encoded contents of this message may be used to effectivly
remove a file whose name begins with a dash.  It's like the garbage
can paradigm of the Mac, but the other way around: you drop this file
onto other files to dispose of them! Please be careful! No warranty
expressed or implied, not responsible for any damages, etc...

	-Don

Instructions: 

# touch ./-rf
# ls -l ./-rf
-rw-rw-r--  1 root            0 Mar  6 01:56 ./-rf
# ls -l README
-rw-rw-r--  1 root           34 Mar  6 01:56 README
# mv README ./-rf
# cat ./-rf
README: No such file or directory
# echo Volia!
Volia!

begin 664 README.Z.uu.Z.uu.Z.uu.Z.uu.Z.uu.Z.uu.Z.uu.Z.uu.Z
M'YV08LJ<2>,&A T;-$!(*1*$2),B+K2XJ%,GXL2*$BE:U)@1X\6-&!4T.9'%
M"@P<3)3PD.&#A8D@(*CL:$$B! H5,520D)&"A9 52V1 at 45*"Q1$L3&3H%%)$
M1Y440&)@X6(#A8 at D*J680%%"9 @@6(S(.#($!1<6)T3$" $"1HT3.JB@"$%"
M1! <2'"H(%)6!HL2(J2 at 0%*$Q1(02%3P."%$1 @<1HS>5*%#Q1"1,H @ <(B
MQU<8-D at 0B9(#!PT7*$9P'D%"2)(4(/26 .*#" P5)6+  "*C18D7,+2L,&$7
MIM\4,$S$3D'"*Q(F0E0H$0$Z!6 A;$W#ED$#QHH207A0D0'CB$V3)$9(B8&"
MB(PBF6NFD/$5B! 7):;0,,%"A0B10N!%'A4P(+:#$W;9A,,-[JT at 0@HFU#15
M#3:D( (00(B at P@A!H"#$#3*8L (,]%GU( L\I&"$%B,4F (1(B6AF0XI,*&%
M?RP8H0-;7-000Q(B@ !$A"/T )L3+I at P @A.@$!<$$! 8>2*K8&PP at A18($%
M#C/8( ,*4(Q A!"8P82#"T5  0,5."@9!0I)L7 #$D/ P(,*0 at 01 @Q"U#"7
MFD <P8*:(J1W88$\M #%"TK  "A8-+ at T@D at CR# ##$50D4(331!1PU=0($7"
M"B34U1@(()2 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"4&X@@PV6"H6,$$*
M+%B!<(P9 at A5TX0I9: *01, %&;A +B>X0A$2(H4=0 $K0W !#K98 AJ@# 9.
ML (1F(""&7C!""H(@0V\()@5B*0)B=E-GJIYA2GL@ A T$(5FM"3'@")!$V(
M at 10R P08!(&==?/!ETB@ A=8*'M)" + at L(,Y&.1@""I(0 at Q8V81X/8T$2RA8
M"X30!!1, 0<0<E0-E*F#A[ @"M at ABA(&%H,K=$Y(2[ ""DY@ R ,(54G^,$4
M0!""*70A5E%H 0Y$XCP5',%LJ;(!#RKX R(H04A"\$*!0""#)K  "%3H3O=$
M8((M7"@$M.26M:1 at QX2,0 DD,$$35N "WS at A!%NS#T^Q ((G_$ *,.!""I90
M A!\ 05J&]@0YA85$4"!""AX at 1!^@"D7]( (3TA8%L#DA""<@ 7,10(5K$B"
M%BS5!\:2I:^F-@(<X."D1H#""E!@A!D$3GE2&%@):@ 3%41A"2R 4C;QXYX8
M+ D(*7A!$(X@ I8D00 at 4TP$76K39)FQ!.>H;@H. T!H8A$ &X6E7$LBY+!4X
M5FLF,(&O2/4%))2@"D"B 1+DN%Z\]F<(":QN@?)$ Y&HH A-<($04&""'S"%
M!R,XP15#L ,A"$9-!'1:"XQ0!2$8 0<UP)P(C*"$(!0!!$S8RV*_4!8@<&$&
M3"".&I,@!1!XA7]AS((=03 #%X#-25XH at A)"@+:P%"& 3, at 0$X:P%8=I%,XF
MZ $,B' A(&0Y"C[@ @U:)(,?E,I8,O""GM;\1]-1 at 0LZF!QB C>#%1"!!2*X
M*P'WU,6V'"&06*#!$*X* A5(80M."-P)')6"&Y# :"B!@0)J<%+/Z. )(K""
<"DP @R<4K DU0)6N$H*#*WRP)@KP<QG<0 8% )# 
 
end



More information about the Comp.unix.wizards mailing list