Single quotes are better, because then you can use double quotes inside the one-liner.
单引号更好,因为使用单引号后您可以在一行程序内使用双引号。
The bottom line is, don't use double quotes to specify your -e one-line script argument.
结论是:不要使用双引号来指定以 -e 开始的一行程序脚本参数。
Single quotes are better, because then you can use double quotes inside the one - liner.
单引号更好,因为使用单引号后您可以在一行程序内使用双引号。
So if I want to use a string as we'll call it which is a word or phrase generally, they always go between double quotes, David hence the quotes around David, and they are double quotes not single quotes intentionally.
当我们要表示单词啊,词组啊,句子啊等等这样的东西时,就会用到字符串,它们位于双引号之间,也就是这里双引号之间的,是双引号,不是单引号哦。
应用推荐