Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

${$} throwing syntax error when use in cat << EOF on ksh93 93u+ . #1484

Open
Saikiran-m opened this issue Aug 20, 2020 · 1 comment
Open

Comments

@Saikiran-m
Copy link

Solaris 11 that ship with ksh93, the following behavior is observed:

Version of ksh93 on system:
~# ksh --version
version sh (AT&T Research) 93u+ 2012-08-01

The issue:
echo ${$} working fine but echo ${$} throwing syntax error when use in cat << EOF.

Recreation steps followed below:
Case 1: with $$
:# echo $$
1323
:
# cat << EOF

$$
EOF
1323

Case 2 : with ${$}
:# echo ${$}
1323
:
# cat << EOF

echo ${$}
EOF
/usr/bin/ksh: syntax error: `$' unexpected

@Saikiran-m Saikiran-m changed the title ${$} thrwoing syntax error when use in cat << EOF on ksh93 93u+ . ${$} throwing syntax error when use in cat << EOF on ksh93 93u+ . Aug 20, 2020
@McDutchie
Copy link
Contributor

For anyone else reading: This is fixed on the ksh 93u+m fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants