when I run this I get this 'bad substitution' error. What can I do?
$ x="Hello World"
$ echo "$x"
Hello World
$ echo "${x^^}"
-bash: ${x^^}: bad substitution
EDIT: I would like to have it in all upper case.
when I run this I get this 'bad substitution' error. What can I do?
$ x="Hello World"
$ echo "$x"
Hello World
$ echo "${x^^}"
-bash: ${x^^}: bad substitution
EDIT: I would like to have it in all upper case.