splittable - split a table into smaller tables
SYNOPSIS
DESCRIPTION
splittable
reads
table
and breaks it into
smaller tables, each with identical
headlines as
table,
and each containing a maximum of
n+2
rows,
or 52 if
n
is not specified.
splittable
is useful for generating output
which has specific limits on the number of lines
it may contain \(em for example, printed
pages or labels forms.
splittable
uses the UNIX
split
command.
Both programs create file names ending with aa, ab ... zz.
EXAMPLE
$ splittable -2 inventory
$ ls inventory*
inventory
inventoryaa
inventoryab
$ cat inventory
Item Amount Cost Value Description
---- ------ ---- ----- --------------
1 3 50 150 rubber gloves
2 100 5 500 test tubes
3 5 80 400 clamps
$ cat inventoryaa
Item Amount Cost Value Description
---- ------ ---- ----- --------------
1 3 50 150 rubber gloves
2 100 5 500 test tubes
$ cat inventoryab
Item Amount Cost Value Description
---- ------ ---- ----- --------------
3 5 80 400 clamps
SEE ALSO