Question

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

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top