Can the list administrator please unsubscribe this gentleman and send
him a friendly email to resubscribe when he gets back?

Thanks.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:redhat-list-admin@;redhat.com]
On Behalf Of Cameron Simpson
Sent: Thursday, November 14, 2002 10:49 PM
To: [EMAIL PROTECTED]
Subject: Re: urgent file removal problem

On 09:34 13 Nov 2002, Robert P. J. Day <[EMAIL PROTECTED]> wrote:
| On Wed, 13 Nov 2002, Willem van der Walt<[EMAIL PROTECTED]> wrote:
| > > [...] rm -- --multi [...]
| >
| > Thanks!
| > It worked.
| > I would like to understand why it works though.
| 
| by default, most unix/linux commands will treat anything
| starting with a "-" as an option string.  however, the
| magic token "--" tells the command that all the rest
| of the command is to be treated strictly as arguments.
| 
| this trick works not just with "rm", but most commands.

It is worth mentioning that even for commands that don't honour the use
of
"--" as an "end of options" marker you merely have to use another name
for your file which doesn't start with a dash. Like "./--multi". That
will work with _any_ command.

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]
http://www.zip.com.au/~cs/

When you're all dressed up and no place to go.  - B.H. Burt (19th cent)



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list





-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to