|man bash wrote:|
Command substitution allows the output of a command to replace the command name. There are two forms:
Bash performs the expansion by executing command in a subshell environment and replacing the command substitution with the standard output of the command, with any trailing newlines deleted. Embedded newlines are not deleted, but they may be removed during word splitting. The command substitution $(cat file) can be replaced by the equivalent but faster $(< file).
mkdir foo bar `gcc -print-prog-name=cc1` -v -Ifoo -Ibar