[Gllug] help deleting file

Tethys sta296 at astradyne.co.uk
Sat Feb 18 17:24:08 UTC 2006


Nix writes:

>(The correct solution, as others have posted, is --, which is
>interpreted by rm.)

Or for those old fogies among us, "rm ./--whatever". Traditionally
(pre GNU rm), you could give a single dash as a special argument
to signify that the next filename began with a dash. But it wasn't
supported everywhere IIRC, so prepending the path was the portable
way to do it.

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list