4 ms·
The Bourne shell had $() before it had backquote. It's not a Bash-ism.
by nils-m-holm 7y ago
The Bourne shell had $() before it had backquote. It's not a Bash-ism.
- neilv 7y agoThank you, I was mistaken to call it a Bash-ism. Bash's documentation said it's a Posix-ism: > The POSIX $() form of command substitution is implemented (see Command Substitution), and preferred to the Bourne shell’s `` (which is also implemented for backwards compatibility). https://www.gnu.org/software/bash/manual/html_node/Major-Differences-From-The-Bourne-Shell.html https://www.gnu.org/software/bash/manual/html_node/Major-Dif...