bug-bash
[Top][All Lists]
Advanced

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

Redirection between assignment statement and command name prevents alias


From: Oğuz
Subject: Redirection between assignment statement and command name prevents alias substitution
Date: Tue, 23 Mar 2021 08:43:54 +0200

    $ alias u=uname
    $ >&2 a=b u
    Linux
    $ >&2 u
    Linux
    $ a=b >&2 u
    No command u found, did you mean:
    ...

In all three cases `u' is in a position where a command name may appear,
and should be subjected to alias substitution.

This is reproducible on devel too


-- 
Oğuz


reply via email to

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