Chet Ramey <[email protected]> wrote:

> Which shells don't rescan the alias value in the lexer? AFAICT, that's one
> of the things everyone does the same way.

A shell that did this would only be able to alias one word by one other word
and macros like 

        alias ll='ls -l'

would not work. I am not aware of any shell that behaves this way.

Note that even if the alias replacement would happen before the lexer, this 
would cause the lexer to scan the alias replacement.


Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
    [email protected] (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to