▲ | gorgoiler 2 days ago | |||||||
The IFS part is misguided. If the author used double quotes around the array reference then words are kept intact:
Whereas in their (counter-)example, with missing quotes:
To paraphrase the manual: Any element of an array may be referenced using ${name[subscript]}. If subscript is @ the word expands to all members of name. If the word is double-quoted, "${name[@]}" expands each element of name to a separate word. | ||||||||
▲ | degamad 2 days ago | parent [-] | |||||||
The author addresses that in footnote 2:
| ||||||||
|