aboutsummaryrefslogblamecommitdiff
path: root/man/man1/tl.1
blob: 7560debb54fea3b9b11b334963e7e1462f44e315 (plain) (tree)




















                                                                              
.TH TL 1 "February 2016" "Manual page for tl"
.SH NAME
.B tl
\- tag lines with a string prefix or suffix
.SH USAGE
.B tl [-h] [-p PREFIX] [-s SUFFIX] [--] [FILE1 FILE2 ...]
.SH DESCRIPTION
Tag lines from files or stdin with a string prefix or suffix before writing
them to stdout. Specifying neither prefix nor suffix is acceptable, in which
case the stream is simply reproduced on stdout, acting like cat(1).
.P
Option -h gives help. Specify a prefix with -p, and/or a suffix with -s. If no
file arguments are given, defaults to reading standard input.
.P
   $ tl -p 'file: ' /path/to/file
   $ dmesg | tl -s ' (stdout)'
.SH SEE ALSO
tlcs(1)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>