aboutsummaryrefslogtreecommitdiff
path: root/man/man1/tl.1
blob: 4cbc8025dedd70a28f727360e1ec5d2801cee370 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH TL 1 "Augusr 2016" "Manual page for tl"
.SH NAME
.B tl
\- tag lines with a string prefix and/or suffix
.SH USAGE
.B tl [-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
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>