zsh-users
 help / color / mirror / code / Atom feed
From: Pier Paolo Grassi <pierpaolog@gmail.com>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Zsh-Users List <zsh-users@zsh.org>
Subject: Re: case sensitive globbing
Date: Wed, 29 Sep 2021 12:32:56 +0200	[thread overview]
Message-ID: <CAP+y1xCiTHn2u-8mrzh1Xx_E-F+qadU_eG7RScajYiV0_7h6pw@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMp8wiV7AWk7Y8C6bxPtUomez5yQ+y++KnzZ-2vEi=4VbA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

Yes, it works.
I thought case_glob was unset because I wasn't seeing it in the list
produced by setopt, but it seem that one should explicitly call setopt
no_case_glob like you showed me to

thanks

Pier Paolo Grassi


Il giorno mer 29 set 2021 alle ore 12:27 Roman Perepelitsa <
roman.perepelitsa@gmail.com> ha scritto:

> On Wed, Sep 29, 2021 at 12:21 PM Pier Paolo Grassi <pierpaolog@gmail.com>
> wrote:
> >
> > Hello, I have case_glob unset. should:
> >
> > *a*
> >
> > match the file Abc or not?
>
> Yes, in locales where 'a' is lowercase 'A' it should.
>
>     () {
>       emulate -L zsh -o no_case_glob
>       local LC_ALL=C
>       touch Abc
>       print -r -- *a*
>     }
>
>     Abc
>
> Does this work for you?
>
> Roman.
>

[-- Attachment #2: Type: text/html, Size: 1445 bytes --]

  reply	other threads:[~2021-09-29 10:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 10:20 Pier Paolo Grassi
2021-09-29 10:27 ` Roman Perepelitsa
2021-09-29 10:32   ` Pier Paolo Grassi [this message]
2021-09-29 10:39     ` Roman Perepelitsa
2021-09-29 10:46       ` Pier Paolo Grassi
2021-09-29 14:37       ` Vin Shelton

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=CAP+y1xCiTHn2u-8mrzh1Xx_E-F+qadU_eG7RScajYiV0_7h6pw@mail.gmail.com \
    --to=pierpaolog@gmail.com \
    --cc=roman.perepelitsa@gmail.com \
    --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).