4.3BSD-UWisc/man/catl/dtbl.l




DTBL(1)             UNIX Programmer's Manual              DTBL(1)



NAME
     dtbl - format tables for

SYNOPSIS
     dtbl [ files ] ...

DESCRIPTION
     _D_t_b_l is a preprocessor for formatting tables for _d_i_t_r_o_f_f(1).
     The input files are copied to the standard output, except
     for lines between .TS and .TE command lines, which are
     assumed to describe tables and reformatted.  Details are
     given in the reference manual.

     As an example, letting \t represent a tab (which should be
     typed as a genuine tab) the input

          .TS
          c s s
          c c s
          c c c
          l n n.
          _
          Household Population
          Town\tHouseholds
          \tNumber\tSize
          _
          Bedminster\t789\t3.26
          Bernards Twp.\t3087\t3.74
          Bernardsville\t2018\t3.30
          Bound Brook\t3425\t3.04
          Branchburg\t1644\t3.49
          Bridgewater\t7897\t3.81
          Far Hills\t240\t3.19
          _
          .TE

     yields

          c s s c c s c c c l n n.  _ Household Population
          Town Households      Number    Size _ Bedmin-
          ster     789  3.26 Bernards Twp.  3087 3.74 Bernards-
          ville  2018 3.30 Bound Brook    3425 3.04 Bran-
          chburg     1644 3.49 Bridgewater    7897 3.81 Far
          Hills 240  3.19 _

     If no arguments are given, _d_t_b_l reads the standard input, so
     it may be used as a filter.  When it is used with _d_e_q_n the
     _d_t_b_l command should be first, to minimize the volume of data
     passed through pipes.

SEE ALSO
     ditroff(1), deqn(1)



Printed 1/10/87                                                 1






DTBL(1)             UNIX Programmer's Manual              DTBL(1)



     M. E. Lesk, _T_B_L.






















































Printed 1/10/87                                                 2