From: zzapper <david@rayninfo.co.uk>
To: zsh-users@zsh.org
Subject: Re: "\rm -f" stops after the 1st glob not found
Date: Sat, 17 Aug 2013 14:01:01 +0000 (UTC) [thread overview]
Message-ID: <XnsA21F98C71D077davidrayninfocouk@80.91.229.13> (raw)
In-Reply-To: <20130817133600.GG10846@pug.qqx.org>
Aaron Schrab <aaron@schrab.com> wrote in news:20130817133600.GG10846
@pug.qqx.org:
> At 11:11 +0000 17 Aug 2013, zzapper <david@rayninfo.co.uk> wrote:
>>Bart Schaefer <schaefer@brasslantern.com> wrote in
>>news:130816211320.ZM27930@torch.brasslantern.com:
>>
>>> ls *.{jpg,gif}(.N)
>>
>>Bart,
>>Yeah that's what happened and confused me, of course if I was doing a
>>delete that would/could be disastrous
>
> How so?
>
> ls with no (non-option) arguments will list the current directory. rm
> with no arguments won't delete anything, it will just display an error
> message if the -f option wasn't used.
>
You are right you are corect all though ls lists the unmatched files rm
will not delete them with or without the -f.
next prev parent reply other threads:[~2013-08-17 14:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 9:25 Leonardo Barbosa
2013-08-14 9:53 ` Peter Stephenson
2013-08-16 14:34 ` zzapper
2013-08-17 4:13 ` Bart Schaefer
2013-08-17 11:11 ` zzapper
2013-08-17 13:36 ` Aaron Schrab
2013-08-17 14:01 ` zzapper [this message]
2013-08-17 19:42 ` 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=XnsA21F98C71D077davidrayninfocouk@80.91.229.13 \
--to=david@rayninfo.co.uk \
--cc=zsh-users@zsh.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.
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).