Re: Unable to del an OS file with special char - need ideas

On Wed, Jul 9, 2008 at 11:44 AM, Bobak, Mark <Mark.Bobak@xxxxxxxxxxxx>
wrote:

>  Another option:
>
>
>
> rm -- -C
>
>
Ah, one of the rare folks that knows about '--'.

FYI for those new to it, '--' works for many linux/unix commands

Most std *nix commands accept the argument -- as meaning 'this is the end of
command line options,
everything past here is literal'

This is part of the getopt function in the stdlib.

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

Other related posts: