9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] rc(1) pattern-matching regression
Date: Tue, 15 Feb 2022 21:37:05 +0100	[thread overview]
Message-ID: <9D2350CE4852CDE2926D71A87892444D@felloff.net> (raw)
In-Reply-To: <2248BB2EC411F4F96C089DB72BB66C6C@wopr.sciops.net>

i see whats wrong.

we have to propagate the glob attribute thru lists
as well. before it was only handled for single words
and propagated thru concatenations... but didnt
consider lists... sorry :(

theres a patch that should fix it:

http://felloff.net/usr/cinap_lenrek/globfix.diff

the intend of the change was to not having to
bruteforce check the argument list for each Xsimple()
command for globs (which might have very large
argument lists coming from from a variable or
`{}, but instead only do the globbing
evaulation when actually needed (the expression
containing a glob, which is what the parser
knows).

--
cinap

  reply	other threads:[~2022-02-16 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 10:53 qwx
2022-02-15 20:37 ` cinap_lenrek [this message]
2022-02-16 12:01   ` qwx
2022-02-16 18:09     ` cinap_lenrek

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=9D2350CE4852CDE2926D71A87892444D@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.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.
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).