Discussion:
[ast-developers] Patch request for ksh93 command/variable substitution bug fixed in alpha version
lijo george
2017-06-15 12:44:06 UTC
Permalink
Hi,

The following testcase fails in the stable version, but has been fixed in
the alpha/beta version.( Solaris test system)
After going through the source, I haven't been able to isolate the
particular patch which fixed this.

Please let me know if there is a specific patch for this, or if it was
fixed as part of some other bug.

# cat cmdsubst.sh
#!/bin/ksh
l_vim=$(
vim -T dumb -u NONE -n -es a.txt <<EOF
:! echo $( uname -n )
EOF
)
echo "$l_vim"
exit 0

# ksh --version
version sh (AT&T Research) 93u+ 2012-08-01
#
# ksh cmdsubst.sh

# ./ksh-2013 --version
version sh (AT&T Research) 93v- 2013-10-08
# ./ksh-2013 cmdsubst.sh
S11_3_SRU


Thanks,
Lijo

Loading...