相关疑难解决方法(0)

为什么 Unix 手册页使用双反引号代替双引号?

我注意到由 Unix 实用程序格式化的手册页和其他文档通常使用双反引号``后跟双单引号''来包装带引号的短语而不是双引号字符"。单引号同样被替换。为什么是这样?

以下是来自手册页的几个示例grep

 To find all occurrences of the pattern `.Pp' at the beginning of a line:

       $ grep '^\.Pp' myfile

 The apostrophes ensure the entire expression is evaluated by grep instead
 of by the user's shell.  The caret `^' matches the null string at the
 beginning of a line, and the `\' escapes the `.', which would otherwise match
 any character.

 The grep utility is compliant with the IEEE Std …
Run Code Online (Sandbox Code Playgroud)

man history

36
推荐指数
2
解决办法
3395
查看次数

标签 统计

history ×1

man ×1