小编joe*_*dle的帖子

哪些 shell 不支持美元括号扩展和需求反引号?

现代建议是使用:

$(...)
Run Code Online (Sandbox Code Playgroud)

而不是旧的:

`...`
Run Code Online (Sandbox Code Playgroud)

主要是为了可读性和避免嵌套时需要转义。

哪些 shell 不支持该$(...)表单,它们中的任何一个今天仍在使用吗?

shell command-substitution portability

8
推荐指数
2
解决办法
1148
查看次数

标签 统计

command-substitution ×1

portability ×1

shell ×1