Fun with *

Eduardo Krell ekrell at hector.UUCP
Sun Nov 20 07:34:41 AEST 1988


In article <8445 at alice.UUCP> ark at alice.UUCP (Andrew Koenig) writes:

>If your rm command uses getopt, you can remove a file named "-f" by saying
>
>	rm -- -f

What's wrong with good old "rm ./-f" ?

This works regardless of getopt.
    
Eduardo Krell                   AT&T Bell Laboratories, Murray Hill, NJ

UUCP: {att,decvax,ucbvax}!ulysses!ekrell  Internet: ekrell at ulysses.att.com



More information about the Comp.unix.wizards mailing list