Zsh Mailing List Archive
Messages sorted by:
Re: Infinite loop in parsing <()?
- X-seq: zsh-workers 27829
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Infinite loop in parsing <()?
- Date: Thu, 25 Mar 2010 15:16:17 +0000
- In-reply-to: <100325072154.ZM26462@xxxxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:email@example.com>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: CSR
- References: <87ljdhzijx.fsf@xxxxxxxxx> <100324173337.ZM25554@xxxxxxxxxxxxxxxxxxxxxx> <87d3yszm3n.fsf@xxxxxxxxx> <20100325130601.1ad26f05@news01> <100325072154.ZM26462@xxxxxxxxxxxxxxxxxxxxxx>
On Thu, 25 Mar 2010 07:21:54 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Mar 25, 1:06pm, Peter Stephenson wrote:
> } + print -u $ZTST_fd 'This test hangs the shell when it fails...'
> } + alias sort='LC_ALL=C sort'
> } + cat <(echo foo | sort)
> } +0:Alias expansion works at the end of parsed strings
> } +>foo
> Probably not really anything to worry about, but this test will
> fail without hanging if there is no "sort" command in the path.
I noticed there were no other uses of sort (actually for reasons hinted at
by the LC_ALL=C there, although I seem to remember that wasn't good
enough---it was getting really hairy to get consistent results across
systems) and was wondering about changing it to another cat, which I've now
done; the test still hangs in old shells.
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by: