[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

o with ^ on top of it

From: Alejandro Colomar
Subject: o with ^ on top of it
Date: Thu, 25 Aug 2022 21:08:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2


The following code (found in regex.7) wants to represent an 'o' with a '^' on top of it (. Is that code correct? It's working on the PDF (although it's ugly), but not on the terminal. It was changed by a commit that changed ^ by \(ha for compatibility, but I'm not sure if that's correct in this specific case.

$ cat
.TH a s d f
.SH Backspace
foo "\fI[[=o=]]\fP", "\fI[[=\o'o\(ha'=]]\fP",

$ groff -Tascii -man ./ | grep -v '(s)'

       foo "[[=o=]]", "[[=^=]]",

$ groff -Tascii -man ./  | grep -v '(s)' | cat -v

       foo "^[[4m[[=o=]]^[[24m", "^[[4m[[=o^H^=]]^[[24m",



Alejandro Colomar

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]