a2p
accept
access
acct
addftinfo
addr2line
adjtime
afmtodit
after
aio_cancel
aio_error
aio_read
aio_return
aio_suspend
aio_waitcomplete
aio_write
alias
aliases
alloc
anvil
append
apply
apropos
ar
array
as
asa
asn1parse
at
atq
atrm
attemptckalloc
attemptckrealloc
authlib
authtest
autopoint
awk
b64decode
b64encode
basename
batch
bc
bdes
bell
bg
bgerror
biff
big5
binary
bind
bindkey
bindtags
bindtextdomain
bio
bitmap
blowfish
bn
bootparams
bootptab
bounce
brandelf
break
breaksw
brk
bsdiff
bsdtar
bsnmpd
bspatch
bthost
btsockstat
buffer
builtin
builtins
bunzip2
button
byacc
bzcat
bzegrep
bzfgrep
bzgrep
bzip2
c2ph
c89
c99
ca
cal
calendar
canvas
cap_mkdb
case
cat
catch
catman
cc
cd
cdcontrol
chdir
checkbutton
checknr
chflags
chfn
chgrp
chio
chkey
chmod
chown
chpass
chroot
chsh
ci
ciphers
ckalloc
ckdist
ckfree
ckrealloc
cksum
cleanup
clear
clipboard
clock
clock_getres
clock_gettime
clock_settime
close
cmp
co
col
colcrt
colldef
colors
colrm
column
comm
command
compile_et
complete
compress
concat
config
connect
console
continue
core
courierlogger
couriertcpd
cp
cpan
cpio
cpp
creat
crl
crontab
crunchgen
crunchide
crypt
crypto
csh
csplit
ctags
ctm
ctm_dequeue
ctm_rmail
ctm_smail
cu
cursor
cursors
cut
cvs
date
dbiprof
dbiproxy
dc
dcgettext
dcngettext
dd
dde
default
defer
deliverquota
des
destroy
devfs
df
dgettext
dgst
dh
dhparam
dialog
diff
diff3
dig
dir
dirent
dirname
dirs
discard
disktab
dngettext
do
domainname
done
dprofpp
dsa
dsaparam
dtmfdecode
du
dup
dup2
eaccess
ec
ecdsa
echo
echotc
ecparam
ed
edit
editrc
ee
egrep
elf
elfdump
elif
else
enc
enc2xs
encoding
end
endif
endsw
engine
enigma
entry
env
envsubst
eof
eqn
err
errno
error
errstr
esac
ethers
euc
eui64
eval
event
evp
ex
exec
execve
exit
expand
export
exports
expr
extattr
extattr_delete_fd
extattr_delete_file
extattr_get_fd
extattr_get_file
extattr_set_fd
extattr_set_file
f77
false
famm
famx
fblocked
fbtab
fc
fchdir
fchflags
fchmod
fchown
fcntl
fconfigure
fcopy
fdescfs
fdformat
fdread
fdwrite
fetch
fg
fgrep
fhopen
fhstat
fhstatfs
fi
file
file2c
fileevent
filename
filetest
find
find2perl
finger
flex
flock
flush
fmt
focus
fold
font
fontedit
for
foreach
fork
format
forward
fpathconf
frame
from
fs
fstab
fstat
fstatfs
fsync
ftp
ftpchroot
ftpusers
ftruncate
futimes
g711conv
gb2312
gb18030
gbk
gcc
gcore
gcov
gdb
gencat
gendsa
genrsa
gensnmptree
getconf
getdents
getdirentries
getdtablesize
getegid
geteuid
getfacl
getfh
getfsstat
getgid
getgroups
getitimer
getlogin
getopt
getopts
getpeername
getpgid
getpgrp
getpid
getppid
getpriority
getresgid
getresuid
getrlimit
getrusage
gets
getsid
getsockname
getsockopt
gettext
gettextize
gettimeofday
gettytab
getuid
glob
global
gmake
goto
gperf
gprof
grab
grep
grid
grn
grodvi
groff
groff_font
groff_out
groff_tmac
grog
grolbp
grolj4
grops
grotty
group
groups
gunzip
gzcat
gzexe
gzip
h2ph
h2xs
hash
hashstat
hd
head
help2man
hesinfo
hexdump
history
host
hostname
hosts
hosts_access
hosts_options
hpftodit
http
hup
i386_get_ioperm
i386_get_ldt
i386_set_ioperm
i386_set_ldt
i386_vm86
iconv
id
ident
idprio
if
ifnames253
ifnames259
image
imapd
incr
indent
indxbib
info
infokey
inode
install
instmodsh
interp
intro
introduction
ioctl
ipcrm
ipcs
ipf
ipftest
ipnat
ippool
ipresend
issetugid
jail
jail_attach
jobid
jobs
join
jot
kbdcontrol
kbdmap
kcon
kdestroy
kdump
kenv
kevent
keycap
keylogin
keylogout
keymap
keysyms
kgdb
kill
killall
killpg
kinit
kldfind
kldfirstmod
kldload
kldnext
kldstat
kldsym
kldunload
klist
kpasswd
kqueue
kse
kse_create
kse_exit
kse_release
kse_switchin
kse_thr_interrupt
kse_wakeup
ktrace
label
labelframe
lam
lappend
last
lastcomm
lastlog
lchflags
lchmod
lchown
ld
ldap
ldapadd
ldapcompare
ldapdelete
ldapmodify
ldapmodrdn
ldappasswd
ldapsearch
ldapwhoami
ldd
leave
less
lesskey
lex
lgetfh
lhash
libnetcfg
library
limit
limits
lindex
link
linprocfs
linsert
lint
lio_listio
list
listbox
listen
lj4_font
lkbib
llength
lmtp
ln
load
loadfont
local
locale
locate
lock
lockf
log
logger
login
logins
logname
logout
look
lookbib
lorder
lower
lp
lpq
lpr
lprm
lptest
lrange
lreplace
ls
lsearch
lseek
lset
lsort
lstat
lsvfs
lutimes
lynx
m4
madvise
magic
mail
maildiracl
maildirkw
maildirmake
mailq
mailx
make
makeinfo
makewhatis
man
manpath
master
mc
mcedit
mcview
md2
md4
md5
mdc2
memory
menu
menubar
menubutton
merge
mesg
message
mincore
minherit
minigzip
mkdep
mkdir
mkfifo
mkimapdcert
mklocale
mknod
mkpop3dcert
mkstr
mktemp
mlock
mlockall
mmap
mmroff
modfind
modfnext
modnext
modstat
moduli
more
motd
mount
mprotect
mptable
msdos
msdosfs
msgattrib
msgcat
msgcmp
msgcomm
msgconv
msgen
msgexec
msgfilter
msgfmt
msggrep
msginit
msgmerge
msgs
msgunfmt
msguniq
mskanji
msql2mysql
msync
mt
munlock
munlockall
munmap
mv
myisamchk
myisamlog
myisampack
mysql
mysqlaccess
mysqladmin
mysqlbinlog
mysqlcheck
mysqld
mysqldump
mysqld_multi
mysqld_safe
mysqlhotcopy
mysqlimport
mysqlshow
mysql_config
mysql_fix_privilege_tables
mysql_zap
namespace
nanosleep
nawk
nc
ncal
ncplist
ncplogin
ncplogout
neqn
netconfig
netgroup
netid
netstat
networks
newaliases
newgrp
nex
nfsstat
nfssvc
ngettext
nice
nl
nm
nmount
nohup
nologin
notify
nroff
nseq
nslookup
ntp_adjtime
ntp_gettime
nvi
nview
objcopy
objdump
objformat
ocsp
od
onintr
open
openssl
opieaccess
opieinfo
opiekey
opiekeys
opiepasswd
option
options
oqmgr
pack
package
packagens
pagesize
palette
pam_auth
panedwindow
parray
passwd
paste
patch
pathchk
pathconf
pawd
pax
pbm
pcre
pcreapi
pcrebuild
pcrecallout
pcrecompat
pcrecpp
pcregrep
pcrematching
pcrepartial
pcrepattern
pcreperform
pcreposix
pcreprecompile
pcresample
pcretest
perl
perl56delta
perl58delta
perl561delta
perl570delta
perl571delta
perl572delta
perl573delta
perl581delta
perl582delta
perl583delta
perl584delta
perl585delta
perl586delta
perl587delta
perl588delta
perl5004delta
perl5005delta
perlaix
perlamiga
perlapi
perlapio
perlapollo
perlartistic
perlbeos
perlbook
perlboot
perlbot
perlbs2000
perlbug
perlcall
perlcc
perlce
perlcheat
perlclib
perlcn
perlcompile
perlcygwin
perldata
perldbmfilter
perldebguts
perldebtut
perldebug
perldelta
perldgux
perldiag
perldoc
perldos
perldsc
perlebcdic
perlembed
perlepoc
perlfaq
perlfaq1
perlfaq2
perlfaq3
perlfaq4
perlfaq5
perlfaq6
perlfaq7
perlfaq8
perlfaq9
perlfilter
perlfork
perlform
perlfreebsd
perlfunc
perlglossary
perlgpl
perlguts
perlhack
perlhist
perlhpux
perlhurd
perlintern
perlintro
perliol
perlipc
perlirix
perlivp
perljp
perlko
perllexwarn
perllinux
perllocale
perllol
perlmachten
perlmacos
perlmacosx
perlmint
perlmod
perlmodinstall
perlmodlib
perlmodstyle
perlmpeix
perlnetware
perlnewmod
perlnumber
perlobj
perlop
perlopenbsd
perlopentut
perlos2
perlos390
perlos400
perlothrtut
perlpacktut
perlplan9
perlpod
perlpodspec
perlport
perlqnx
perlre
perlref
perlreftut
perlrequick
perlreref
perlretut
perlrun
perlsec
perlsolaris
perlstyle
perlsub
perlsyn
perlthrtut
perltie
perltoc
perltodo
perltooc
perltoot
perltrap
perltru64
perltw
perlunicode
perluniintro
perlutil
perluts
perlvar
perlvmesa
perlvms
perlvos
perlwin32
perlxs
perlxstut
perror
pfbtops
pftp
pgrep
phones
photo
pic
pickup
piconv
pid
pipe
pkcs7
pkcs8
pkcs12
pkg_add
pkg_check
pkg_create
pkg_delete
pkg_info
pkg_sign
pkg_version
pkill
pl2pm
place
pod2html
pod2latex
pod2man
pod2text
pod2usage
podchecker
podselect
poll
popd
popup
posix_madvise
postalias
postcat
postconf
postdrop
postfix
postkick
postlock
postlog
postmap
postqueue
postsuper
pr
pread
preadv
printcap
printenv
printf
proc
procfs
profil
protocols
prove
proxymap
ps
psed
psroff
pstruct
ptrace
publickey
pushd
puts
pwd
pwrite
pwritev
qmgr
qmqpd
quota
quotactl
radiobutton
raise
rand
ranlib
rcp
rcs
rcsclean
rcsdiff
rcsfile
rcsfreeze
rcsintro
rcsmerge
read
readelf
readlink
readonly
readv
realpath
reboot
recv
recvfrom
recvmsg
red
ree
refer
regexp
registry
regsub
rehash
remote
rename
repeat
replace
req
reset
resolver
resource
return
rev
revoke
rfcomm_sppd
rfork
rhosts
ripemd
ripemd160
rlog
rlogin
rm
rmd160
rmdir
rpc
rpcgen
rs
rsa
rsautl
rsh
rtld
rtprio
rup
ruptime
rusers
rwall
rwho
s2p
safe
sasl
sasldblistusers2
saslpasswd2
sbrk
scache
scale
scan
sched
sched_getparam
sched_getscheduler
sched_get_priority_max
sched_get_priority_min
sched_rr_get_interval
sched_setparam
sched_setscheduler
sched_yield
scon
scp
script
scrollbar
sdiff
sed
seek
select
selection
semctl
semget
semop
send
sendbug
sendfile
sendmail
sendmsg
sendto
services
sess_id
set
setegid
setenv
seteuid
setfacl
setgid
setgroups
setitimer
setlogin
setpgid
setpgrp
setpriority
setregid
setresgid
setresuid
setreuid
setrlimit
setsid
setsockopt
settc
settimeofday
setty
setuid
setvar
sftp
sh
sha
sha1
sha256
shar
shells
shift
shmat
shmctl
shmdt
shmget
showq
shutdown
sigaction
sigaltstack
sigblock
sigmask
sigpause
sigpending
sigprocmask
sigreturn
sigsetmask
sigstack
sigsuspend
sigvec
sigwait
size
slapadd
slapcat
slapd
slapdn
slapindex
slappasswd
slaptest
sleep
slogin
slurpd
smbutil
smime
smtp
smtpd
socket
socketpair
sockstat
soelim
sort
source
spawn
speed
spinbox
spkac
splain
split
squid
squid_ldap_auth
squid_ldap_group
squid_unix_group
sscop
ssh
sshd_config
ssh_config
stab
startslip
stat
statfs
stop
string
strings
strip
stty
su
subst
sum
suspend
swapoff
swapon
switch
symlink
sync
sysarch
syscall
sysconftool
sysconftoolcheck
systat
s_client
s_server
s_time
tabs
tail
talk
tar
tbl
tclsh
tcltest
tclvars
tcopy
tcpdump
tcpslice
tcsh
tee
tell
telltc
telnet
term
termcap
terminfo
test
texindex
texinfo
text
textdomain
tfmtodit
tftp
then
threads
time
tip
tk
tkerror
tkvars
tkwait
tlsmgr
tmac
top
toplevel
touch
tput
tr
trace
trafshow
trap
troff
true
truncate
truss
tset
tsort
tty
ttys
type
tzfile
ui
ul
ulimit
umask
unalias
uname
uncomplete
uncompress
undelete
unexpand
unhash
unifdef
unifdefall
uniq
units
unknown
unlimit
unlink
unmount
unset
unsetenv
until
unvis
update
uplevel
uptime
upvar
usbhidaction
usbhidctl
users
utf8
utimes
utmp
utrace
uudecode
uuencode
uuidgen
vacation
variable
verify
version
vfork
vgrind
vgrindefs
vi
vidcontrol
vidfont
view
virtual
vis
vt220keys
vwait
w
wait
wait3
wait4
waitpid
wall
wc
wget
what
whatis
where
whereis
which
while
who
whoami
whois
window
winfo
wish
wm
write
writev
wtmp
x509
xargs
xgettext
xmlwf
xstr
xsubpp
yacc
yes
ypcat
ypchfn
ypchpass
ypchsh
ypmatch
yppasswd
ypwhich
yyfix
zcat
zcmp
zdiff
zegrep
zfgrep
zforce
zgrep
zmore
znew
_exit
__syscall
 
FreeBSD/Linux/UNIX General Commands Manual
Hypertext Man Pages
tbl
 
TBL(1)									TBL(1)



NAME
       tbl - format tables for troff

SYNOPSIS
       tbl [ -Cv ] [ files... ]

DESCRIPTION
       This manual page describes the GNU version of tbl, which is part of the
       groff document formatting system.  tbl compiles descriptions of	tables
       embedded  within troff input files into commands that are understood by
       troff.  Normally, it should be invoked using the -t  option  of	groff.
       It is highly compatible with Unix tbl.  The output generated by GNU tbl
       cannot be processed with Unix troff; it	must  be  processed  with  GNU
       troff.	If  no files are given on the command line, the standard input
       will be read.  A filename of - will cause  the  standard  input	to  be
       read.

OPTIONS
       -C     Enable  compatibility  mode  to  recognize .TS and .TE even when
	      followed by a character other than  space  or  newline.	Leader
	      characters (\a) are handled as interpreted.

       -v     Print the version number.

USAGE
       tbl expects to find table descriptions wrapped in the .TS (table start)
       and .TE (table end) macros.  The line  immediately  following  the  .TS
       macro  may  contain  any  of the following global options (ignoring the
       case of characters -- Unix tbl only accepts options with all characters
       lowercase or all characters uppercase):

       center Centers  the table (default is left-justified).  The alternative
	      keyword name centre is also recognized (this is a GNU tbl exten-
	      sion).

       delim(xy)
	      Use x and y as start and end delimiters for eqn(1).

       expand Makes the table as wide as the current line length.

       box    Encloses the table in a box.

       doublebox
	      Encloses the table in a double box.

       allbox Encloses each item of the table in a box.

       frame  Same as box (GNU tbl only).

       doubleframe
	      Same as doublebox (GNU tbl only).

       tab(x) Uses  the  character  x  instead of a tab to separate items in a
	      line of input data.

       linesize(n)
	      Sets lines or rules (e.g. from box) in n-point type.

       nokeep Don't use diversions to prevent  page  breaks  (GNU  tbl	only).
	      Normally tbl attempts to prevent undesirable breaks in the table
	      by using diversions.  This can  sometimes  interact  badly  with
	      macro packages' own use of diversions, when footnotes, for exam-
	      ple, are used.

       decimalpoint(c)
	      Set the character to be  recognized  as  the  decimal  point  in
	      numeric columns (GNU tbl only).

       nospaces
	      Ignore leading and trailing spaces in data items (GNU tbl only).

       The global options must end with a semicolon.  There  might  be	white-
       space after an option and its argument in parentheses.

       After  global  options come lines describing the format of each line of
       the table.  Each such format line  describes  one  line	of  the  table
       itself,	except	that  the  last format line (which you must end with a
       period) describes all remaining lines of the table.  A single key char-
       acter  describes  each  column  of each line of the table.  You may run
       format specs for multiple lines together on the same line by separating
       them with commas.

       You  may  follow  each key character with specifiers that determine the
       font and point size of the corresponding item,  that  determine	column
       width, inter-column spacing, etc.

       The  longest  format  line  defines the number of columns in the table;
       missing format descriptors at the end of format lines are assumed to be
       `L'.   Extra  columns  in  the data (which have no corresponding format
       entry) are ignored.

       The available key characters are:

       c,C    Centers item within the column.

       r,R    Right-justifies item within the column.

       l,L    Left-justifies item within the column.

       n,N    Numerically justifies item in the  column:  Units  positions  of
	      numbers are aligned vertically.

       s,S    Spans previous item on the left into this column.

       a,A    Centers  longest line in this column and then left-justifies all
	      other lines in this column with respect to that centered line.

       ^      Spans down entry from previous row in this column.

       _,-    Replaces this entry with a horizontal line.

       =      Replaces this entry with a double horizontal line.

       |      The corresponding column becomes a  vertical  rule  (if  two  of
	      these are adjacent, a double vertical rule).

       A  vertical  bar to the left of the first key-letter or to the right of
       the last one produces a line at the edge of the table.

       Here are the specifiers that can appear in suffixes to column key  let-
       ters:

       b,B    Short form of fB (make affected entries bold).

       i,I    Short form of fI (make affected entries italic).

       t,T    Start  an  item vertically spanning rows at the top of its range
	      rather than vertically centering it.

       d,D    Start an item vertically spanning rows  at  the  bottom  of  its
	      range rather than vertically centering it (GNU tbl only).

       v,V    Followed	by  a number, this indicates the vertical line spacing
	      to be used in a multi-line table entry.  If signed, the  current
	      vertical	line  spacing  is  incremented or decremented (using a
	      signed number instead of a signed digit is a GNU tbl extension).
	      A  vertical  line spacing specifier followed by a column separa-
	      tion number must be separated by one or more blanks.  No	effect
	      if the corresponding table entry isn't a text block.

       f,F    Either  of  these  specifiers  may  be  followed	by a font name
	      (either one or two  characters  long),  font  number  (a	single
	      digit),  or long name in parentheses (the last form is a GNU tbl
	      extension).  A one-letter font name must be separated by one  or
	      more blanks from whatever follows.

       p,P    Followed	by  a  number,	this  does a point size change for the
	      affected fields.	If signed, the current point  size  is	incre-
	      mented or decremented (using a signed number instead of a signed
	      digit is a GNU tbl extension).  A point size specifier  followed
	      by  a  column separation number must be separated by one or more
	      blanks.

       w,W    Minimal column width  value.   Must  be  followed  either  by  a
	      troff(1)	width expression in parentheses or a unitless integer.
	      If no unit is given, en  units  are  used.   Also  used  as  the
	      default  line length for included text blocks.  If used multiple
	      times to specify the width for a	particular  column,  the  last
	      entry takes effect.

       x,X    This  is a GNU tbl extension.  Either of these specifiers may be
	      followed by a macro name (either one or two characters long), or
	      long name in parentheses.  A one-letter macro name must be sepa-
	      rated by one or more blanks from whatever  follows.   The  macro
	      which name can be specified here must be defined before creating
	      the table.  It is called just before the table's	cell  text  is
	      output.	As implemented currently, this macro is only called if
	      block input is used, that is, text between `T{' and  `T}'.   The
	      macro  should  contain  only simple troff requests to change the
	      text block formatting, like text adjustment, hyphenation,  size,
	      or  font.   The  macro  is called after other cell modifications
	      like b, f or v are output.  Thus the macro can  overwrite  other
	      modification specifiers.

       e,E    Make equally-spaced columns.

       u,U    Move the corresponding column up one half-line.

       z,Z    Ignore  the corresponding column for width-calculation purposes.

       A number suffix on a key character is interpreted as a  column  separa-
       tion  in  ens  (multiplied  in  proportion if the expand option is on).
       Default separation is 3n.

       The format lines are followed by lines containing the actual  data  for
       the  table, followed finally by .TE.  Within such data lines, items are
       normally separated by tab characters (or the character  specified  with
       the  tab option).  Long input lines can be broken across multiple lines
       if the last character on the line is `\' (which vanishes after concate-
       nation).

       A dot starting a line, followed by anything but a digit is handled as a
       troff command, passed through without changes.  The table  position  is
       unchanged in this case.

       If  a  data  line consists of only `_' or `=', a single or double line,
       respectively, is drawn across the table at that point; if a single item
       in  a data line consists of only `_' or `=', then that item is replaced
       by a single or double line, joining its neighbours.   If  a  data  item
       consists  only  of `\_' or `\=', a single or double line, respectively,
       is drawn across the field at that point which does not join its	neigh-
       bours.

       A data item consisting only of `\Rx' (`x' any character) is replaced by
       repetitions of character `x' as wide as the  column  (not  joining  its
       neighbours).

       A  data	item  consisting only of `\^' indicates that the field immedi-
       ately above spans downward over this row.

       A text block can be used to enter data as a single entry which would be
       too  long as a simple string between tabs.  It is started with `T{' and
       closed with `T}'.  The former must end a  line,	and  the  latter  must
       start  a  line, probably followed by other data columns (separated with
       tabs).  By default, the text block is formatted with the settings which
       were active before entering the table, possibly overridden by the v and
       w tbl specifiers.  For example, to make all text  blocks  ragged-right,
       insert .na right before the starting .TS (and .ad after the table).

       To  change  the data format within a table, use the .T& command (at the
       start of a line).  It is followed by format  and  data  lines  (but  no
       global options) similar to the .TS request.

INTERACTION WITH EQN
       tbl(1)  should  always  be called before eqn(1) (groff(1) automatically
       takes care of the correct order of preprocessors).

GNU TBL ENHANCEMENTS
       There is no limit on the number of columns in a table, nor any limit on
       the  number of text blocks.  All the lines of a table are considered in
       deciding column widths, not just the  first  200.   Table  continuation
       (.T&) lines are not restricted to the first 200 lines.

       Numeric and alphabetic items may appear in the same column.

       Numeric and alphabetic items may span horizontally.

       tbl uses register, string, macro and diversion names beginning with the
       digit 3.  When using tbl you should avoid  using  any  names  beginning
       with a 3.

BUGS
       You should use .TS H/.TH in conjunction with a supporting macro package
       for all multi-page boxed tables.  If there is no header that  you  wish
       to  appear  at  the  top  of each page of the table, place the .TH line
       immediately after the format section.  Do not enclose a multi-page  ta-
       ble within keep/release macros, or divert it in any other way.

       A text block within a table must be able to fit on one page.

       The bp request cannot be used to force a page-break in a multi-page ta-
       ble.  Instead, define BP as follows

	      .de BP
	      .ie '\\n(.z'' .bp \\$1
	      .el \!.BP \\$1
	      ..

       and use BP instead of bp.

       Using \a directly in a table to get leaders will not  work  (except  in
       compatibility mode).  This is correct behaviour: \a is an uninterpreted
       leader.	To get leaders use a real leader, either by using a control  A
       or like this:

	      .ds a \a
	      .TS
	      tab(;);
	      lw(1i) l.
	      A\*a;B
	      .TE

REFERENCE
       Lesk, M.E.: "TBL -- A Program to Format Tables".  For copyright reasons
       it cannot be included in the groff  distribution,  but  copies  can  be
       found with a title search on the World Wide Web.

SEE ALSO
       groff(1), troff(1)



Groff Version 1.19.2	       15 November 2005 			TBL(1)
=1
+1
(1)