From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: rm nonexisting*; alias with parameters?
Date: Thu, 11 Aug 2005 00:51:20 +0200 [thread overview]
Message-ID: <237967ef050810155178939027@mail.gmail.com> (raw)
In-Reply-To: <7c737f3005081013313151c308@mail.gmail.com>
On 8/10/05, Deliverable Mail <deliverable@gmail.com> wrote:
> Thanks, Peter! (I hear you, Ligesh... will do later :) Worked as
> described. Making rm -f does not change zsh behavior, of course, as
> globbing happens before -f can kick in -- so it's a bit confusing that
> -f doesn't work. Thankfully zsh says zsh: before its globbing error.
> It's a tricky fault for those who expect rm -f to shut up and do it...
>
> Alexy
You can also add (N) directly after the pattern without the options
set and they will silently expand to nothing. ie rm *.txt *.bak(N)
will fail if there are no *.txt files but no *.bak files is okay.
next prev parent reply other threads:[~2005-08-10 22:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <deliverable@gmail.com>
2005-08-10 19:18 ` Deliverable Mail
2005-08-10 20:06 ` Peter Stephenson
2005-08-10 20:31 ` Deliverable Mail
2005-08-10 22:51 ` Mikael Magnusson [this message]
2005-08-11 3:17 ` "splitting prpblem" Meino Christian Cramer
2005-08-11 8:40 ` Michal Politowski
2005-08-11 17:01 ` Meino Christian Cramer
2009-06-16 3:17 ` serverizing a fat process with named pipes Alexy Khrabrov
2009-06-16 20:29 ` Peter Stephenson
2009-06-17 0:47 ` Bart Schaefer
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=237967ef050810155178939027@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=zsh-users@sunsite.dk \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).