Problem removing a file

thomas.b.merrick tbm at cbnews.ATT.COM
Thu Feb 2 23:14:31 AEST 1989


In article <791 at pedsga.UUCP> jeffj at pedsga.UUCP (Jeff Jonas,TF,7) writes:
>In article <695 at flatline.UUCP> erict at flatline.UUCP (j eric townsend) writes:
>|>Ok, I've really done it now.  I've created, in my home directory,
>|>a file by the name of:
>|>-ef
>|>rm: illegal option -- e
>|>usage: rm [-fir] file ...
>

Well, the easiest trick is like ::

      rm ./-ef

Works every time, even if rm does not understand "--".

Tom Merrick ATT BTL  Ward Hill MA    att!mvuxd!tbm



More information about the Comp.sys.att mailing list