Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!nuki.NetUSE.de!Kiel.Germany.EU.net!tpki.toppoint.de!vicki!victor From: victor@vicki.toppoint.de (Cornelius Keck) Subject: Re: Removing a file with a leading "-" in the name Message-ID: <1995Mar8.164232.19634@vicki.toppoint.de> Date: Wed, 8 Mar 1995 16:42:32 GMT References: <1995Feb20.023938.20960@rai.juice.or.jp> <3iedls$hks@ixnews3.ix.netcom.com> <3ij68m$39g@news.parc.xerox.com> <3ivijs$8c1@gyda.ifi.uio.no> <3j612d$63i@newton.burton.frostburg.md.us> <lwestman.19.000E7CA6@wrdis01.robins.af.mil> Organization: Another Amiga UNIX System Lines: 18 lwestman@wrdis01.robins.af.mil (Leslie Westman) writes: >I use wildcards. (do an ls first to be sure you're not accidentally >picking up something you don't want to) >ls *foo >rm *foo >Works for me! rm ./-foo ck. -- Cornelius "Captain Kernel" Keck victor@toppoint.de ****** Never trust a user task! ******