>>364 > bash の man を参照するとわかるがクォートの除去は > 各種展開が終わってから行われる。 EXPANTIONSのとこにあるこれ? The order of expansions is: brace expansion, tilde expansion, parameter, variable and arithmetic expansion and command substitution (done in a left-to-right fashion), word splitting, and pathname expansion.
ここにあるのは、どの順で実行されていくかの説明で、クォートの解釈は別の段階だぞ。 Expansion is performed on the command line after it has been split into words. ってあるとおり、(1)シェルが一行読み込まれる → (2)単語への分割 → (3)各要素を展開する のうち(2)の話だ。(3)にある単語分割とは別物 #1行じゃない場合はちょっとおいといてくれ