What's the difference between $(…) and `…`

前端 未结 3 747
一整个雨季
一整个雨季 2021-01-11 17:41

The question is as simple as stated in the title: What\'s the difference between the following two expressions?

$(...)
`...`

For example, a

3条回答
  •  甜味超标
    2021-01-11 18:20

    Using ``` is the historical syntax, POSIX has adopted the now standard ` $(...) syntax. See Section 2.6.3

提交回复
热议问题