> "Alexander Else" <[EMAIL PROTECTED]>
> > ok :)
> > perl -e 'unlink "-h.epsi";'
> >
> > > >rm \-h.epsi
> > >
> > > Ah no, this one doesn't work, because the shell strips the \ and then
> > > rm sees -h again. Ditto for rm '-h.epsi'
>
This isn't anything to do with the shell, no combo of escapes
will work. What you have to convince is the rm command.
Try one of the following:
% rm - -h.espi
Many commands accept a "-" as indicating the end of options.
If that doesn't work for you, you can always go:
% touch foo
% rm foo -h.espi
Shell escapes are not a substitute for understanding, grasshopper :)
Richard Lane
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text