From: Christian Neukirchen <chneukirchen@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: Infinite loop in parsing <()?
Date: Thu, 25 Mar 2010 12:17:48 +0100 [thread overview]
Message-ID: <87d3yszm3n.fsf@gmail.com> (raw)
In-Reply-To: <100324173337.ZM25554@torch.brasslantern.com> (Bart Schaefer's message of "Wed, 24 Mar 2010 17:33:37 -0700")
Bart Schaefer <schaefer@brasslantern.com> 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@gmail.com> http://chneukirchen.org
next prev parent reply other threads:[~2010-03-25 11:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 18:22 Christian Neukirchen
2010-03-25 0:33 ` Bart Schaefer
2010-03-25 11:17 ` Christian Neukirchen [this message]
2010-03-25 13:06 ` Peter Stephenson
2010-03-25 14:21 ` Bart Schaefer
2010-03-25 15:16 ` Peter Stephenson
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=87d3yszm3n.fsf@gmail.com \
--to=chneukirchen@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).