From: Vincent Beffara <vbeffara@ens-lyon.fr>
To: info-gnus-english@gnu.org
Subject: Re: Commands on filenames starting with "-"
Date: Sun, 12 Dec 2010 00:43:42 +0100 [thread overview]
Message-ID: <m2bp4rlvtd.fsf@ens-lyon.fr> (raw)
In-Reply-To: <87vd32ksyx.fsf@member.fsf.org>
>> 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 |
prev parent reply other threads:[~2010-12-11 23:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-28 16:08 Haines Brown
2010-12-10 7:05 ` Tassilo Horn
2010-12-11 23:43 ` Vincent Beffara [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bp4rlvtd.fsf@ens-lyon.fr \
--to=vbeffara@ens-lyon.fr \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).