命令替换得到$((2+3))为什么没有继续扩展?-灵析社区

劳资最帅

[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 之前。

阅读量:1

点赞量:0

问AI