From: "Andreas Kähäri" <andreas.kahari@abc.se>
To: "Denis Bitouzé" <dbitouze@wanadoo.fr>
Cc: zsh-users@zsh.org
Subject: Re: How to delete .*.~undo-tree~ files?
Date: Wed, 12 Jun 2024 14:25:52 +0200 [thread overview]
Message-ID: <ZmmT0KqwUXlWCS6m@eeyore.local> (raw)
In-Reply-To: <87a5jq73p0.fsf@example.com>
On Wed, Jun 12, 2024 at 02:20:27PM +0200, Denis Bitouzé wrote:
> Le 12/06/24 à 13h30, Marc Chantreux a écrit :
>
> >> ┌────
> >> │ rm -f .foo.\~undo-tree\~
> >> └────
> >
> > You can also quote things instead of protecting each chars separately.
> > I have the feeling it's more readable because of the expectations
> > brains when you used non-bareword langages for years.
> >
> > ┌────
> > │ rm -f ".foo.~undo-tree~"
> > └────
>
> Indeed, thanks!
>
> Anyway:
>
> ┌────
> │ rm -f ".*.~undo-tree~"
> └────
>
> doesn't remove in mass all the .*.~undo-tree~ in my current directory.
>
> Regards.
> --
> Denis
... because a quoted * does not glob anything.
rm -f .*.'~undo-tree~'
--
Andreas (Kusalananda) Kähäri
Uppsala, Sweden
.
next prev parent reply other threads:[~2024-06-12 12:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-12 10:04 Denis Bitouzé
2024-06-12 11:30 ` Marc Chantreux
2024-06-12 12:20 ` Denis Bitouzé
2024-06-12 12:25 ` Andreas Kähäri [this message]
2024-06-12 12:50 ` Denis Bitouzé
2024-06-12 17:46 ` Mark J. Reed
2024-06-12 18:28 ` Ray Andrews
2024-06-12 18:48 ` Bart Schaefer
2024-06-12 21:13 ` Ray Andrews
2024-06-12 13:11 ` Marc Chantreux
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=ZmmT0KqwUXlWCS6m@eeyore.local \
--to=andreas.kahari@abc.se \
--cc=dbitouze@wanadoo.fr \
--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).