[bash](https://link.segmentfault.com/?enc=IgdoFyLerm89kJJzhMgqlA%3D%3D.qd%2B4RFiYGeETDk7SxCXS4wmUCmmVzts1tqkMTvZv3tM%3D) > 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. arithmetic expansion 在 command substitution 之前。