手册页中的句号?

发布于 2024-09-13 01:55:40 字数 299 浏览 1 评论 0原文

我有一条粗线,后面跟着一条以句点开头的线。 man 认为 . 是命令的开始...有没有办法“转义”它?

.B bold words
./something

./something 是在终端中键入的命令,而不是 man 宏。我想要 man 显示它。

我尝试过的事情: ../something \./something

I have a bold line, followed by a line starting with a period. man thinks that the . is the start of a command... is there a way to "escape" it?

.B bold words
./something

The ./something is a command to type in a terminal, not a man macro. I want man to display it.

Things I've tried: ../something \./something

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

痴者 2024-09-20 01:55:40

根据 GNU Troff 手册,你应该把 \& 位于不应被解释为命令开头的句点之前,即

.B bold words
\&./something

According to the GNU Troff manual, you should put \& in front of a period that should not be interpreted as the beginning of a command, i.e.

.B bold words
\&./something
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文