Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!goanna!wren!msf From: msf@wren.cs.rmit.OZ.AU (Michael Fuller) Newsgroups: comp.unix.shell Subject: Re: Stupid question... Summary: Yes, it is stupid, RTFM Message-ID: Date: 28 May 91 09:02:49 GMT References: <1991May27.225630.18310@watdragon.waterloo.edu> <29957@hydra.gatech.EDU> Sender: news@goanna.cs.rmit.oz.au Lines: 29 In <29957@hydra.gatech.EDU> gt5223b@prism.gatech.EDU (Doug Berkland) writes: >Along the lines of hard to remove files... is there any way to remove >a file beginning with a - ? Using \- doesn't get it... any ideas? I really hate to say "RTFM", but...! I quote from the manual entry for "rm": NAME rm, rmdir - remove (unlink) files or directories SYNOPSIS rm [ -f ] [ -r ] [ -i ] [ - ] file ... [deleted] The null option - indicates that all the arguments following it are to be treated as file names. This allows the specif- ^^^^^^^^^^^^^^^^^^^^^^^ ication of file names starting with a minus. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ !!!!!!! Michael Fuller _____________________________________________________________________________ Key Centre for Knowledge Based Systems, RMIT, Australia. ACSNET: msf@goanna.cs.rmit.OZ BITNET: msf%goanna.cs.rmit.OZ.AU@relay.cs.net INTERNET: msf@goanna.cs.rmit.OZ.AU UUCP: ..!uunet!goanna.cs.rmit.OZ.AU!msf