^ not working as intended
Opened this issue · 2 comments
tskinnar commented
Hi, I'm pretty new at this so pardon me if i'm a bit clumsy.
I was in the the Variables and Expansions section in Bash Academy when this exercise came up. Can someone explain why I'm getting the "bad substitution" output?
$ greeting="hello world"
$ echo "$greeting"
hello world
$ echo "${greetingˆ}."
-bash: ${greetingˆ}.: bad substitution
$
Thanks for your help.
chigh commented
tskinnar commented
$ echo $BASH_VERSION
3.2.57(1)-release
I see. Thanks.