#!/bin/sh

# Question: Why is there a blank line in the output from the following?

groff -Tascii <<'EOF'
.nf
Before the box.
.box xxx
.br
.box
.xxx
After the box.
EOF
exit 0

=>
    Before the box.

    After the box.

I'm struggling to use .box and _always_ get a line of text in
the diversion if it contains something which causes a break,
even if there is no actual text in the diversion.

What I would like to do is use .box to divert arbitrary stuff which may
cause breaks, but not generate any output unless the diversion actually
contains text.

Thanks in advance for any help...

-Jim


Reply via email to