[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 14:51:02 +0300 |
On Tue, Mar 23, 2021 at 2:26 PM Robert Elz <kre@munnari.oz.au> wrote:
> though the NetBSD sh does expand it
dash and NetBSD sh do aliases just the way I expect (except aliases that
appear in a place where only a here document body may appear, but no shell
does that the way I think they'd do, so..), it's fascinating.
> after
> a '<' you're certainly not in the command word position, what comes next
> must be a redirect operand (filename). The space at the end of the 'l'
> alias value should cause alias expansion, but I can almost understand why
> it might not.
>
I don't see the point in checking the syntax of the input in the middle of
alias substitution, but that might be because I have never attempted to
write a shell or anything that complex.
>
> kre
>
>
- 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/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
- 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
- Re: Redirection between assignment statement and command name prevents alias substitution, Chet Ramey, 2021/03/29
- Re: Redirection between assignment statement and command name prevents alias substitution, Robert Elz, 2021/03/25