There’s no difference except in “nestability”:
The $() is nestable:
$ echo $(echo "hi" $(echo "there"))
while the “ is not.
There’s no difference except in “nestability”:
The $() is nestable:
$ echo $(echo "hi" $(echo "there"))
while the “ is not.