[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redirection between assignment statement and command name prevents a
From: |
Oğuz |
Subject: |
Re: Redirection between assignment statement and command name prevents alias substitution |
Date: |
Tue, 23 Mar 2021 13:10:19 +0300 |
On Tue, Mar 23, 2021 at 11:01 AM Robert Elz <kre@munnari.oz.au> wrote:
> Kind of interesting that ksh93 seems to do the same thing.
>
Yeah, I don't know, might be a coincidence. Another curious case where
ksh93 differs in behavior from all other shells I have is this:
$ echo a > a
$ echo b > b
$ alias l='< ' a=b
$ l a cat
a
I can't think of any reason not to expand `a' there.
- Redirection between assignment statement and command name prevents alias substitution, Oğuz, 2021/03/23
- Re: Redirection between assignment statement and command name prevents alias substitution, Robert Elz, 2021/03/23
- Re: Redirection between assignment statement and command name prevents alias substitution,
Oğuz <=
- Re: Redirection between assignment statement and command name prevents alias substitution, Robert Elz, 2021/03/23
- Re: Redirection between assignment statement and command name prevents alias substitution, Oğuz, 2021/03/23
- Re: Redirection between assignment statement and command name prevents alias substitution, Robert Elz, 2021/03/23
- Redirection between assignment statement and command name prevents alias substitution, Oğuz, 2021/03/23
- Re: Redirection between assignment statement and command name prevents alias substitution, Robert Elz, 2021/03/23
- Re: Redirection between assignment statement and command name prevents alias substitution, Oğuz, 2021/03/24
- Re: Redirection between assignment statement and command name prevents alias substitution, Robert Elz, 2021/03/24
- Re: Redirection between assignment statement and command name prevents alias substitution, Oğuz, 2021/03/25
- Re: Redirection between assignment statement and command name prevents alias substitution, Chris F.A. Johnson, 2021/03/25
- Re: Redirection between assignment statement and command name prevents alias substitution, Oğuz, 2021/03/25