From: cls@truffula.sj.ca.us (Cameron L. Spitzer) Subject: Re: [Q] How to delete file with invalid name? Date: Sun, 8 Aug 1993 21:38:40 GMT
In article <930808.005835.3w0.rusnews.w165w@whiffer.mese.com>
jgeorge@whiffer.mese.com (Joe George) writes:
>[...] I now have a file called "-u -v" [...].
>rm chokes on trying to delete it.
rm './-u -v'
is suggested right at the beginning of the FAQ, and this really
wasn't a Linux question. I just removed a like-named file with
perl -e "unlink '-u -v'"
because perl is cool and it comes with SLS. Thank you Larry!
Cameron
followup to comp.unix.questions please