在第一行,简单地将要执行的命令以反引号括起。
On the first line, we simply enclosed the command we wanted to execute in back quotes.
注意,我们又使用了反引号语法来书写多行字符串。
Notice that we again use the back-tick notation for multi-line strings.
在反引号之间可以放置除反引号本身之外的任意字符。
Within the quotes, any character is legal except back quote.
printf So thus far, the things I put David between quotes are just simple things like David or David backslash N, but what if I want to do call my self David in quotes, right?
像我们前面提到的,我们把要显示的东西放在双引号之间,譬如,或,David反斜杠n,但是如果我自己的名字本来就叫,“David“
Notice I close the quotes after I'm putting a new line-- after I'm putting this new line, name but then to the right hand side is comma name.
注意反斜杠n后面加上后引号-,后引号,再右边就是逗号。
应用推荐