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: Robert Elz
Subject: Re: Redirection between assignment statement and command name prevents alias substitution
Date: Tue, 23 Mar 2021 15:01:20 +0700

    Date:        Tue, 23 Mar 2021 08:43:54 +0200
    From:        =?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com>
    Message-ID:  
<CAH7i3LqkLWwQrUz=a5YsCGXiqpwTwXf23zgqD9KVhvwXFNuXig@mail.gmail.com>

  |     $ a=b >&2 u
  |     No command u found, did you mean:

Kind of interesting that ksh93 seems to do the same thing.   No other
shell I was able to test however (including ancient pdksh and mksh).
(except old NetBSD sh, with broken aliases, where none of the three forms
worked).

kre




reply via email to

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