On Tue, Mar 23, 2021 at 2:26 PM Robert Elz <k...@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 > >