hopkins@sun.com (Don Hopkins) (03/06/91)
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."@9!0I)L7 #$D/ P(,*0@01 @Q"U#"7 MFD <P8*:(J1W88$\M #%"TK "A8-+@T@D@CR# ##$50D4(331!1PU=0($7" M"B34U1@(()2 ! M#^%"$$4"8!$40L(F0 Q4F )$0"S',$$2>4>A&1 FL-=>$ M>(AY40(1+LR0@A0G8#C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@0V\()@5B*0)B=E-GJIYA2GL@ A T$(5FM"3'@")!$V( M@10R P08!(&==?/!ETB@ A=8*'M)" +@L(,Y&.1@""I(0@Q8V81X/8T$2RA8 M"X30!!1, 0<0<E0-E*F#A[ @"M@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@QX2,0 DD,$$35N "WS@A!%NS#T^Q ((G_$ *,.!""I90 M A!\ 05J&]@0YA85$4"!""AX@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@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@A)"@+:P%"& 3,@0$X:P%8=I%,XF MZ $,B' A(&0Y"C[@ @U:)(,?E,I8,O""GM;\1]-1@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
paul@sequoia.cray.com (Paul Dow (CRI-UK)) (03/06/91)
In article <HOPKINS.91Mar6021429@poit.sun.com>, hopkins@sun.com (Don Hopkins) writes: |> 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! |> OK, I may be being dumb, but it looks to me as if the "README" file contains the text "README: No such file or directory". I know the "How to remove a file..." discussion has been going on for some time, and that some people, will tire of it. Was this submission intended to be helpful or just to confuse some poor critter who did not know much about the system ? Paul.
felps@convex.com (Robert Felps) (03/07/91)
I realize this has probably already been posted more than once, but here it is anyway. I thought "rm ./-file" would always work. Robert Felps
franz@meaddata.com (Franz Weckesser) (03/09/91)
"rm ./-filename" works well also. Franz ================================================================= Everything should be made as simple as possible, but no simpler - A.E. =================================================================