instead of
´` for command expansion DOK-SC1077For command expansion, the tick should slant left (` vs ´).
In some fonts it's hard to tell ticks apart, but Bash strongly distinguishes between backticks (grave accent
), forward ticks (acute accent
´) and regular ticks (apostrophe
'`).
Backticks denote start of command expansions, while forward ticks are considered literal. To help spot bugs, our checkers parse backticks and forward ticks interchangeably.
Exceptions:
If you want to write out literal forward ticks, such as fancyful ascii quotation marks:
echo "``Proprietary software is an injustice.´´ - Richard Stallman"
use single quotes instead:
echo '``Proprietary software is an injustice.´´ - Richard Stallman'
To nest forward ticks in command expansion, use $(..)
instead of escaping it using \
..``.