Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
SH_FILE_EXPANSION broken with process substitution
- X-seq: zsh-workers 46104
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: "Zsh workers" <zsh-workers@xxxxxxx>
- Subject: SH_FILE_EXPANSION broken with process substitution
- Date: Tue, 23 Jun 2020 23:23:07 +0200
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.co.uk
- Cc: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "O. simplex" <ordinatio.simplex@xxxxxxxxxxxxx>, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- In-reply-to: <20200610134459.514b0a3d@tarpaulin.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <y4afldJoSwA-2f_A41orqMuqL0PBuCH-bNNmILkCJiCULsMaJLUaE3b6Wnik_-NsmQ4Mt-RplAmjIhnzlOdwTA0yOvz8FtBd2l-Hj3bdYKs=@protonmail.ch> <XWTtnbNNmSf6ayC1Z_SII5UXqL0LrqoRShGLovWZDKg1StMWFkYX55t-fM1WgkdPzjwnncuT2uNhKTqSpLdJK6-tjpJlcwM8hIPgwZj3qzE=@protonmail.ch> <20200515085324.63c6325f@tarpaulin.shahaf.local2> <Ww4N4kk6TH_2Cp6_B0A709kTrD8LonXJPl6qmAAx75k0eQ7OczWUSwo7LCJOnXJm-nyuAVtdf8HOIGGb0krLeM0Z_fRWy723j1XTVA6vgek=@protonmail.ch> <M7YSmAUEta0Gj8cEz4B9Gn5KKAunBIeatP3PsxZ68C1YOpcag2nmBp-uirDw9qmL9UZ90zKlkVMJ8FmGFrLmbl3R40U4r-wT5ktHeAwIZrg=@protonmail.ch> <20200606081909.33d488c5@tarpaulin.shahaf.local2> <99116-1591744033.948885@zagI.gwnq.OfJE> <20200610134459.514b0a3d@tarpaulin.shahaf.local2>
- Sender: zsh-workers@xxxxxxx
Following on from the gpg completion breakage, it seems this option has
been broken when used in combination with EQUALS.
This got broken in 35a8612 (workers/26042), released in 4.3.10:
zsh -df --shfileexpansion -c ': =(echo hi)'
The _gpg issue is minimally demonstrated with the following. It is
reproducible even with 3.0.8 so may be by design.
zsh -df --shfileexpansion -c 'a=( ${x%[:=\[]*} )'
The documentation only talks about tilde expansion not equals expansion
so it isn't obvious why this should fail. Or why swapping : and = fixes
it. This perhaps goes to show that the option isn't widely used other
than as part of emulate sh (which also disables equals).
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author