[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to print a literal '.' as the first character in a line?
From: |
Alejandro Colomar |
Subject: |
Re: How to print a literal '.' as the first character in a line? |
Date: |
Sun, 1 May 2022 22:24:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
Hi, Ingo and Ralph!
On 4/30/22 21:32, Ingo Schwarze wrote:
but is there any simpler way to do that?
Simple (and a bit stupid) example:
[
.EX
$ echo '.'
.
.EE
]
.EX
$ echo \(aq.\(aq
\&.
.EE
https://man.openbsd.org/mandoc_char#Accents
https://man.openbsd.org/mandoc_char#Periods
Ahh thanks! (And yes, I always forget to escape the quotes :)
On 5/1/22 13:00, Ralph Corderoy wrote:
> Hi Alejandro,
>
>> https://man.openbsd.org/mandoc_char#Accents
>> https://man.openbsd.org/mandoc_char#Periods
>
> Or, more generally, which may be more useful in future,
> CSTR 54 ยง4.1, https://troff.org/54.pdf, and
>
> info groff Requests | less -j12 +/precede
Thank you too.
Branden, any chance you may add that to any groff manual page?
Cheers,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/