Path: utzoo!attcan!uunet!husc6!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.unix.wizards Subject: Re: Fun with * Message-ID: <8445@alice.UUCP> Date: 19 Nov 88 19:34:45 GMT References: <1232@atari.UUCP> <564@comdesign.CDI.COM> <17247@agate.BERKELEY.EDU> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 18 In article <17247@agate.BERKELEY.EDU>, weemba@garnet.berkeley.edu (Obnoxious Math Grad Student) writes: > And while you're at it, don't forget the problem of the lexicograph- > ically first file being named "-f". If your rm command uses getopt, you can remove a file named "-f" by saying rm -- -f or even rm -f -- -f The `--' is a widget that says `There are no more options after this; everything else is an argument even if it looks like an option.' -- --Andrew Koenig ark@europa.att.com