[CentOS] Removing a file that starts with dashes

Wed Apr 2 21:05:08 UTC 2014
benfell at parts-unknown.org <benfell at parts-unknown.org>

On Wed, Apr 02, 2014 at 09:51:41AM -0500, Frank M. Ramaekers wrote:
> rm: unrecognized option `--backup=numbered'
> Try `rm ./'--backup=numbered'' to remove the file `--backup=numbered'.

This is what's worked for me. I know the double dash is supposed to
stop interpretation of arguments, but it hasn't worked for me.

-- 
David Benfell <benfell at parts-unknown.org>
See https://parts-unknown.org/node/2 if you don't understand the
attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20140402/44e68234/attachment-0004.sig>