Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@anorak.coverform.lan (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: dummy question Date: 22 Oct 1996 11:22:07 +0100 Organization: Coverform Ltd. Lines: 22 Sender: brian@awfulhak.demon.co.uk Message-ID: <54i78f$1sh@anorak.coverform.lan> References: <53mfdu$1iv@wa4phy.async.com> <53oncv$fi5@newshost.lanl.gov> <N.101396.162611.72@scrantr> <53udvf$85v@uriah.heep.sax.de> <DzFKID.CDL@cogsci.ed.ac.uk> <5495il$c8@uriah.heep.sax.de> Reply-To: brian@awfulhak.demon.co.uk NNTP-Posting-Host: anorak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 In article <5495il$c8@uriah.heep.sax.de>, j@uriah.heep.sax.de (J Wunsch) writes: : richard@cogsci.ed.ac.uk (Richard Tobin) wrote: : >> > rm -- --remove-files >> >> Even better, put a file called "--" in all your directories so that >> "rm *" always works, even when you have other files beginning with >> "-". : : ...until the first day you got a file named #foo# in your directory. : Nope - "rm *" would still work ! But I guess you could create a file called '# foo' (without the quotes). This wouldn't go, but the subsequent '--*' would. -- Brian <brian@awfulhak.demon.co.uk> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour.... .