info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Commands on filenames starting with "-"


From: Vincent Beffara
Subject: Re: Commands on filenames starting with "-"
Date: Sun, 12 Dec 2010 00:43:42 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin)

>> I have not been able to figure out how to run commands on them such as
>> cat or to cut out the leading dash (mv).
>
> Use -- to tell the command, that from there on, no options are given
> anymore.
>
> # Delete the files -i and --interactive
> $ rm -- -i --interactive

Or simply use ./-i ...

   /v

-- 
|                 |   UMPA - ENS Lyon   | Mél: vbeffara@ens-lyon.fr |
| Vincent Beffara |  46 allée d'Italie  | Tél: (+33) 4 72 72 85 25  |
|                 | 69364 Lyon Cedex 07 | Fax: (+33) 4 72 72 84 80  |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]