Hi,

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 bs.man
.TH a s d f
.SH Backspace
foo "\fI[[=o=]]\fP", "\fI[[=\o'o\(ha'=]]\fP",


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

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


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

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


Thanks,

Alex

--
Alejandro Colomar
<http://www.alejandro-colomar.es/>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to