Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Infinite loop in parsing <()?



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