English 中文(简体)
Period in a man page?
原标题:

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

最佳回答

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
问题回答

暂无回答




相关问题
UNIX System Call Listing?

I have an assignment where I need to use some system calls in UNIX, like mktime() and fnmatch(), to complete some operations. We re given only the names of the man pages to look up to find the ...

Why does man 2 open say that there are two kinds of open?

I ran into this question while typing man 2 open. It says that there are two kinds of open, one with two args, and one with three! last time i checked we could not overload functions in C. How did ...

What is "q.v." in the tcsh man page

Ok, this has been an on-going annoyance, so naturally I thought to bring it here. In the tcsh man page the phrase q.v. is used, and I have no clue why those four characters are inserted. Is it self ...

Period in a man page?

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 ...

How to get OpenGL man pages on Ubuntu as in "man glRotate"?

When on MacOSX, "man glRotate" brings up the glRotate manpage. On ubuntu, with manpages-dev and manpages-posix-dev insatlled, "man glRotate" doesn t bring up the glRotate manpage (though I can build ...

Remove page numbers from man pages in Solaris?

When I use Solaris, I get page numbers every 60 lines or so that look like this SunOS 5.11 Last change: 10 Feb 2009 1 Also, I get headers like User Commands ...

热门标签