[Thu, Oct 10, 2013 at 11:38:47AM +0200] Andreas Schwab
> "Oliver J. Morais" <oliver.mor...@gmail.com> writes:
> > Playing around with aliases, I stumbled over the following:
> > $ alias alias="eval alias"
> > $ alias foo=bar
> You have created an infinite recursion, same as f() { f; }; f.

Sure, but I think bash should not just crash, zsh for example catches
this glitch:

% alias alias="eval alias"
% alias foo=bar
zsh: job table full or recursion limit exceeded

I know, bash != zsh and the eval-alias-foo is a silly thing to do,
but crashing is a bug :)

Reply via email to