On 1/17/23 2:21 AM, anonymous4feedb...@outlook.com wrote:
I am sorry I made a mistake in the first email. Bash printed foo= bar=v and
all other shells printed foo=v bar=. It turns out I am using --posix to
enable alias in bash, and that’s what makes the difference.
Thanks for the update; I
I am sorry I made a mistake in the first email. Bash printed foo= bar=v and all
other shells printed foo=v bar=. It turns out I am using --posix to enable
alias in bash, and that’s what makes the difference.
# file test
shopt -s expand_aliases 2>/dev/null
alias al=' '
alias foo=bar
al for foo