Ugly file name

Mark Kimmerly markk at sigma.UUCP
Thu May 18 06:14:47 AEST 1989


In article <448 at hsi86.hsi.UUCP> derek at hsi86.UUCP (Derek Lee-Wo) writes:
>
>This doesn't work for filenames that start with a minus. eg -badfile
>Anyone know how to erase such files with whipping up a short C program?

Try 'rm - -badfile'

The first '-' tells rm to treat everything that follows
as arguments, not options.
-- 
Mark Kimmerly						markk at sigma.UUCP
Summation Inc.						1-206-823-7964



More information about the Comp.unix.wizards mailing list