Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!hopkins From: hopkins@sun.com (Don Hopkins) Newsgroups: comp.unix.wizards Subject: How to remove a file whose name begins with a dash Message-ID: Date: 6 Mar 91 10:14:29 GMT Sender: news@exodus.Eng.Sun.COM Distribution: comp Organization: /home/cirrus/hopkins/.organization Lines: 68 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@45*"Q1$L3&3H%%)$ M1Y440&)@X6(#A8@D*J680%%"9 @@6(S(.#($!1<6)T3$" $"1HT3.JB@"$%" M1! <2'"H(%)6!HL2(J2@0%*$Q1(02%3P."%$1 @<1HS>5*%#Q1"1,H @ <(B MQU<8-D@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@0@HFU#15 M#3:D( (00(B@P@A!H"#$#3*8L (,]%GU( L\I&"$%B,4F (1(B6AF0XI,*&% M?RP8H0-;7-000Q(B@ !$A"/T )L3+I@P @A.@$!<$$! 8>2*K8&PP@A18($% M#C/8( ,*4(Q A!"8P82#"T5 0,5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