From Bash Reference ManualExpansion is performed on the command line after it has been split  into tokens. There are seven kinds of expansion performed:brace expansiontilde expansionparameter and variable expansioncommand substitutionarithmetic expansionword splittingfilename expansionFrom the programming languages perspective,  are shell expansions of the same kind of pre-defined compiler macros in C? What is the concept for shell expansions called in programming languages?
What is shell expansion in programming language theory?
programming languages