Stupid question...

Miquel van Smoorenburg miquels at htsa.htsa.aha.nl
Thu May 30 23:55:32 AEST 1991


In article <1991May28.153437 at axion.bt.co.uk%> dwestlan at axion.bt.co.uk (Dave Westland) writes:
%>
%>In article <29957 at hydra.gatech.EDU>, gt5223b at 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 at axion.bt.co.uk                  |

      AAAAAAAAAAAAARRRRRRRRRRRRGGGGGGGGGGGGGHHHHHHHHHHHHHHHH!!!!!!!!

rm ./-name !!!!

Miquel.
-- 
---
%    Miquel van Smoorenburg, Baljuwstraat 20, 2461 SL Langeraar, Holland    %
%  miquels at drinkel.nl.mugnet.org         miquels at maestro.htsa.aha.nl        %
%              God is real, unless declared integer..                       %



More information about the Comp.unix.shell mailing list