在第一行,简单地将要执行的命令以反引号括起。
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.
原始字符串字面值表示的值就是由反引号之间的字符组成的字符串。
The value of a raw string literal is the string composed of the uninterpreted characters between the quotes;
PS 1可以包含其他shell和环境变量、置换命令运算(通过反引号)和特殊的字面值。
PS1 can contain other shell and environment variables, in-place command evaluation (via backquotes), and specialized literals. Here's an initial example.
不带反斜杠的第一个后引号终止命令替换。
The first backquote not preceded by a backslash terminates the command substitution.
为了避免命令行解释器删除引号,应该加上一个反斜杠(\)。
To avoid that the quotation marks are removed by the command line interpreter, they are masked with a backslash (\).
注意:转义字符(反斜杠)包含在是XML文档一部分的引号之前(比如下面例子中的xml版本号)。
Note: Escape characters (backward slashes) are included before quotation marks that are part of the XML document (such as the XML version number in the example below).
所以,如果我想用单引号编码O'Reilly,我就必须使用反斜杠对它进行转义:'O\'Reilly'。
So, if I want to encode O'Reilly in a single quoted string, I must escape it using backslash, 'O\'Reilly'.
当然,这三种操作符(单引号、双引号和反撇号)都有合法的用途,但是与英语中的例外一样,记住和掌握这些细微差异很令人头疼。
Certainly, all three operators-the single, double, and back quotation marks-serve a valid purpose, but like exceptions in English, memorizing and mastering the variations can be maddening.
该函数使用一个正则表达式将一个单引号标记更改为带有反斜杠的单引号标记。
That function USES a regular expression to change a single quotation mark into backslashed single quotation mark.
您还可以简单地将整个字符串放到单引号(')中,但是需要在变量中真正的单引号字符前面加上一个反斜线(\ ')。
You can also simply enclose the entire variable value in single quotation marks (') as long as you precede any actual single quotation marks in the variable with a backslash (\ ').
这有助于检测一些常见错误,如遗漏的或多余的引号、遗漏的反花括号等。
This helps detect common errors like missing or extraneous quotes, missing closing braces, etc.
注意反斜杠n后面加上后引号-,后引号,再右边就是逗号。
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.
在MySQL中,字符序列\表示一个反斜杠转移单引号',但在DB 2中,单引号必须要再加一个单引号来实现转义' '(即两个单引号)。
The character sequence \ represents a backslash escaped single quote 'in MySQL, but in DB2, a single quote must be escaped by adding another single quote "(double single quotes)."
在一个字符串上调用。r会把它变成一个正则表达式;我们是用了原始(三重引号)字符串来避免诸多双重转义的反斜杠。
Calling.r on a string turns it into a regular expression; we use raw (triple-quoted) strings here to avoid having to double-escape backslashes.
一般来说,gnuplot在双引号内的字符串中进行类似于c的反斜杠处理。
In general, gnuplot does C-like backslash processing within double quoted strings.
在行末使用一个单独的反斜杠字符,长的双引号或单引号文本可以被打断跨过多行。像这样。
The backslash, the newline, and all leading whitespace on the next line is removed, resulting in "This is a long text string".
反斜杠会被解释成单个字符,除非后面紧接着一个双引号。
Backslashes are interpreted literally, unless they immediately precede a double quotation mark.
反斜杠会被解释成单个字符,除非后面紧接着一个双引号。
Backslashes are interpreted literally, unless they immediately precede a double quotation mark.
应用推荐