file removal question

David Alan Black dblack at pilot.njin.net
Sun Feb 24 02:42:02 AEST 1991


Here's a little brain-teaser:

I've managed, though faulty sed syntax, to end up with a 0-byte file
called "-e".

The question is: how do I delete it????

I've tried:

rm -e
rm ?e
rm -?
rm \-e

but rm isn't having any of it.

What with this being zero bytes, I'm not losing sleep over it, but I'd
be interested in suggestions.

David Black
dblack at pilot.njin.net



More information about the Comp.unix.questions mailing list