mailing list of musl libc
 help / color / mirror / Atom feed
From: Ismael Luceno <ismael@iodev.co.uk>
To: musl@lists.openwall.com
Subject: Re: [PATCH] glob: implement GLOB_NOMAGIC
Date: Sat, 27 Jul 2019 15:59:17 +0200
Message-ID: <20190727135917.GA16881@pirotess.home> (raw)
In-Reply-To: <20190727023951.GP1506@brightrain.aerifal.cx>

On 26/Jul/2019 22:39, Rich Felker wrote:
<...>
> The documentation for this flag is really poor. Do you know how it's
> supposed to interact with escaped characters? Is it really supposed to
> refuse to expand to the literal pattern when the literal pattern
> contains an escaped *, ?, or [ but not a special one?

It's intended for implementing csh-style globbing, which doesn't
recognize escaping.

I don't see any reason to enforce GLOB_NOESCAPE, though.

> Otherwise I think this looks ok. Nice use of strcspn.

:-).


  reply	other threads:[~2019-07-27 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-26 23:48 Ismael Luceno
2019-07-27  2:39 ` Rich Felker
2019-07-27 13:59   ` Ismael Luceno [this message]
2021-08-15 17:36     ` [musl] " Ismael Luceno

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=20190727135917.GA16881@pirotess.home \
    --to=ismael@iodev.co.uk \
    --cc=musl@lists.openwall.com \
    /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

mailing list of musl libc

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/musl

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 musl musl/ https://inbox.vuxu.org/musl \
		musl@inbox.vuxu.org
	public-inbox-index musl

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.musl


code repositories for the project(s) associated with this inbox:

	https://git.vuxu.org/mirror/musl/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git