Skip to content

can't expand a function name from an alias #666

@ormaaj

Description

@ormaaj

Another super important alias bug!

 ~ $ ksh /proc/self/fd/9 9<<\EOF9
alias 'x=function ' y=f
x y { echo :\); }
f
EOF9
/proc/self/fd/9[3]: f: not found

 ~ $ mksh /proc/self/fd/9 9<<\EOF9
alias 'x=function ' y=f
x y { echo :\); }
f
EOF9
:)

Version JM 93u+m/1.1.0-alpha+3c2b0dcf/MOD 2023-06-14

Metadata

Metadata

Assignees

No one assigned

    Labels

    backburnerLow priority (but feel free to fix it and do a PR)bugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions