ronn icon indicating copy to clipboard operation
ronn copied to clipboard

Unnecessary dot escaping in roff?

Open sometimesfood opened this issue 14 years ago • 0 comments

Are you sure you have to escape all dots in roff? I'm not a roff expert by any stretch of the imagination but as far as I can tell this shouldn't be necessary.

See "gzcat /usr/share/man/man7/roff.7.gz | less" for reference.

The dot escaping was introduced in 6a410d9428e03cb9b3f66fe985e384c461765155 and looks like it should have been a fix for #21.

But since you have to check for dots at the beginning of a line anyway – which you do since 11cbb86c4ac1729940cabb4470902e8e99c67b0b – you should be ok without the dot escaping.

Am I missing something or do you want me to send you a patch?

sometimesfood avatar Dec 01 '10 12:12 sometimesfood