NAME
prstab, fprstab - print string table using multiple columns

SYNOPSIS
prstab(table);
char **table;

fprstab(file, table)
FILE *file;
char **table;

DESCRIPTION
Prstab prints all the strings in the string table table. It uses
some heuristics to decide how many columns should be printed, and
prints the names in order reading down the columns (i.e. column-
major order). It’s usually superior to just listing all the names
in one long column, and it’s smart enough to use a single column if
there are just a few names.

The string table for prstab can be declared just like a table for
stablk(3), i.e.:

char *table[] = { "first", "second", ..., "last", 0};

Fprstab prints all the strings in the string table table to the
named output stream file.

SEE ALSO
stablk(3)

BUGS
Several constants are wired-in. Prstab assumes that there are 80
columns on the page, and that a leading tab is like 7 or 8 spaces.
It leaves 5 spaces more than the longest of all strings between
columns, and likes to print at least 8 rows if there are just a few
strings.