Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Infinite loop in parsing <()?
- X-seq: zsh-workers 27826
- From: Christian Neukirchen <chneukirchen@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Infinite loop in parsing <()?
- Date: Thu, 25 Mar 2010 12:17:48 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=rkaUuGZzzI0T/dZQuDtYd4wS922+q6FPQlwUxDLEKvk=; b=IdfTGWteSd2VLTnxEhnJDYjYxNOu42/pAevy/UPtJTWePZ7CVoZjiJrkPAC5yl2DhN g14Uzn24O1pTRs6KWZRV4Qn8h23IPfuARjWoOK8K3DtI4xphUr5hW523ZbY3eenb7DOP 5JEDntFt+wM6NUXVd9mLD+hSnjrKkTOMZfqS0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=upmj4fEtLHShiqNc0Mz+pScm42ocE+7Xive7/NCfj2qkZqnEB4YfnZXL7PST0WdBfg ELQJqA0jCYXNZGSc0fsT5qGNGRUKMOpZ2UPWZS44dA4XSL8dx+viICY2EWxNSsB0ob6e i7CNxsOiSasMq9LqYkC71QSayKj1gqNGBXG7k=
- In-reply-to: <100324173337.ZM25554@xxxxxxxxxxxxxxxxxxxxxx> (Bart Schaefer's message of "Wed, 24 Mar 2010 17:33:37 -0700")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <87ljdhzijx.fsf@xxxxxxxxx> <100324173337.ZM25554@xxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
> On Mar 24, 7:22pm, Christian Neukirchen wrote:
> }
> } % cat <(echo foo | sort)
> } # 100% CPU usage
>
> My guess would be that you have an alias for "sort" ...?
Whoops, right:
sort='LC_ALL=C sort'
% cat <(echo foo | LC_ALL=C sort)
works in zsh -f, but not with the alias set.
sort='LC_ALL=C /usr/bin/sort'
works as a fix for now... but why does the recursive alias make problems
here and not in general?
--
Christian Neukirchen <chneukirchen@xxxxxxxxx> http://chneukirchen.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author