[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Readable tbl-source
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Readable tbl-source |
Date: |
Wed, 04 Sep 2002 11:51:43 +0100 |
Hi Slotte,
> When elimiting fields with TAB or : or whatever fields of varying
> lengths make it difficult to see what is going on.
In addition to your good ideas, you could pre-process the source. I use
two spaces at the end of a sentance. So three or more spaces could be a
separator.
$ awk '/^\.TE/{f=0}f{gsub(/ +/, ":")}/^\.TS/{f=1}1' doc.t |
> groff -t
Cheers,
Ralph.