groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] (no subject)


From: Anonymous
Subject: [Groff] (no subject)
Date: Wed, 27 Mar 2013 20:08:33 -0400 (EDT)

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

[Prev in Thread] Current Thread [Next in Thread]