Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!hp4nl!htsa!miquels From: miquels@htsa.htsa.aha.nl (Miquel van Smoorenburg) Newsgroups: comp.unix.shell Subject: Re: Re: Stupid question... Message-ID: <115@htsa.htsa.aha.nl> Date: 30 May 91 13:55:32 GMT References: <1991May27.225630.18310@watdragon.waterloo.edu%> <29957@hydra.gatech.EDU> <1991May28.153437@axion.bt.co.uk> Organization: Polytechnical Institute AHA-TMF, Amsterdam, The Netherlands Lines: 24 In article <1991May28.153437@axion.bt.co.uk%> dwestlan@axion.bt.co.uk (Dave Westland) writes: %> %>In article <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? %> %> A file called "-name" can be removed by the command : %> %>rm - -name %> %> The first "-" tells rm to take the argument (very) literally. %> | DAVID WESTLAND | %> | Email : dwestlan@axion.bt.co.uk | AAAAAAAAAAAAARRRRRRRRRRRRGGGGGGGGGGGGGHHHHHHHHHHHHHHHH!!!!!!!! rm ./-name !!!! Miquel. -- --- % Miquel van Smoorenburg, Baljuwstraat 20, 2461 SL Langeraar, Holland % % miquels@drinkel.nl.mugnet.org miquels@maestro.htsa.aha.nl % % God is real, unless declared integer.. %