On Thu, Mar 12, 2026 at 3:10 PM Morten Bo Johansen <[email protected]> wrote:
> Is that expected behaviour?

Yes, if full justification is on (adjustment mode "n" in roff
parlance), which it is by default.  If you know you want the
horizontal line on a separate line from the text, placing an explicit
break between the two will stop roff from adjusting that line, as the
text is then effectively the last line in a paragraph.

$ echo -e ".pl 1\nShall I compare thee to a summer's
day?\n.br\n\l'16.5c'" | groff -Tascii
Shall I compare thee to a summer's day?
_________________________________________________________________

Reply via email to