Subject: simply trying to put a box around text

I found a rough example out in the wild for how to box text using
groff.  This is my attempt to make it work:

===8<-----------------------------------------
#!/bin/bash

cat <<EOF | pic |groff -Tascii | sed '/^$/d'
.B1
&client
&address1
&address2
&address3
.B2
EOF
===8<-----------------------------------------

Any ideas why the text does not end up inside a box?  Piping the text
through "pic" was a guess.. but it does not make a difference either
way.

Reply via email to