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: 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.


reply via email to

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