9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] rc(1) pattern-matching regression
Date: Wed, 16 Feb 2022 13:01:31 +0100	[thread overview]
Message-ID: <EA6631F6E8908DE63D0D11F69F4090DB@wopr.sciops.net> (raw)
In-Reply-To: <9D2350CE4852CDE2926D71A87892444D@felloff.net>

On Tue Feb 15 21:42:40 +0100 2022, cinap_lenrek@felloff.net wrote:
> 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

Thanks, seems to work now :)

Cheers,
qwx

  reply	other threads:[~2022-02-16 18:13 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
2022-02-16 12:01   ` qwx [this message]
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=EA6631F6E8908DE63D0D11F69F4090DB@wopr.sciops.net \
    --to=qwx@sciops.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).