bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirection between assignment statement and command name prevents a


From: Chet Ramey
Subject: Re: Redirection between assignment statement and command name prevents alias substitution
Date: Mon, 29 Mar 2021 14:45:44 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 3/25/21 2:00 AM, Oğuz wrote:

I'm not sure why you want or need that, aliases
are dumb (bizarre) and shoukd be deleted...

I keep trying to get tge POSIX people to
remove them from the standard.  They keep ignoring me.  Shells won't drop
support, but at least
no-one woukd be able to rely on them working,
or working any particular way any more.


They are fine as an interactive feature but definitely don't belong in
shell scripts.

That's why you have to turn on `expand_aliases' in default mode.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]