'man bash' verwendet 238 Mal den Begriff »expansion«.
https://www.gnu.org/software/bash/manua ... sions.html:
Was ist hier gemeint mit3.5 Shell Expansions; Expansion is performed on the command line after it has been split into tokens.
?expansion
Ich spreche nicht über
und andere expansion-Spezialfälle, die Bash behandelt, sondern die fast 238 anderen Vorkommen von expansion in der Ausgabe vonparameter expansion
Code: Alles auswählen
~$ man bash
Code: Alles auswählen
~$ man bash
Das sind ja nur ~7 Spezialfälle.** EXPANSION **
Expansion is performed on the command line after it has been split into words. There are seven kinds of expansion performed: brace expansion, tilde expansion, parameter and variable expansion, command substitution, arithmetic expansion, word splitting, and pathname expansion.
The order of expansions is: brace expansion; tilde expansion, parameter and variable expansion, arithmetic expansion, and command substitution (done in a left-to-right fashion); word splitting; and pathname expansion.
On systems that can support it, there is an additional expansion available: process substitution. This is performed at the same time as tilde, parameter, variable, and arithmetic expansion and command substitution.
After these expansions are performed, quote characters present in the original word are removed unless they have been quoted themselves (quote removal).
Only brace expansion, word splitting, and pathname expansion can increase the number of words of the expansion; other expansions expand a single word to a single word. The only exceptions to this are the expansions of "$@" and "${name[@]}", and, in most cases, $* and ${name[*]} as explained above (see PARAMETERS).
Oder ist es so, wie mir ein Regular schrieb?:
GrußBash is a cobbled-together Rube Goldberg pile of garbage.
bullgard