문제

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top