aboutsummaryrefslogtreecommitdiff
path: root/man/man1/tlcs.1
blob: aba6a03b936650c2da40e20016871f0d77b4f074 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.TH TLCS 1 "February 2016" "Manual page for tlcs"
.SH NAME
.B tlcs
\- execute command and tag stdout/stderr lines
.SH USAGE
.B tlcs [-h] [-c] [-o STDOUT_PREFIX] [-e STDERR_PREFIX] [--] COMMAND [ARG1...]
.SH DESCRIPTION
Execute a command and tag the output of the stdout and stderr streams, line by
line, using tl(1) under the hood. Add -c when writing to a terminal to color
the lines.
.P
Option -h gives help. Specify a stdout prefix with -o (default "stdout: "),
and/or a stderr prefix with -e (default "stderr: "). Option -c prints stdout
lines in green and stderr lines in red if the respective streams are writing to
appropriate terminals. Remaining arguments are assumed to be a command and its
arguments.
.P
   $ tlcs cat ~/.vimrc
   $ tlcs -e 'FAIL: ' nonexistent-command
.SH SEE ALSO
tl(1)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>