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:
Thu, 25 Mar 2021 08:00:20 +0200
24 Mart 2021 Çarşamba tarihinde Robert Elz <kre@munnari.oz.au> yazdı:
> Date: Wed, 24 Mar 2021 11:15:11 +0300
> From: =?UTF-8?B?T8SfdXo=?= <oguzismailuysal@gmail.com>
> Message-ID: <CAH7i3Lqg_H=nTJn3FiZ9PQ9eKWcx
> K0pZmYz8_pNpLjtK4esSZw@mail.gmail.com>
>
> | I think I got the general idea of aliases now
>
> 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.
If a feature is supported by all shells, why leave it outside the standard?
Besides the ordinary user doesn't expect anything beyond simple aliases
like `la='ls -A' ll='ls -lh'' to work.
>
> kre
>
--
Oğuz