aboutsummaryrefslogtreecommitdiff
path: root/man/man1/tlcs.1df
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-26 12:13:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-26 12:50:25 +1200
commitcde1926a3c65830bceed5e8e76cd94e81b19386c (patch)
tree5abe782d2c9567f3d7c3affa8fc077fb3d5d5e5c /man/man1/tlcs.1df
parentAdd notifications to dmp(1) (diff)
downloaddotfiles-cde1926a3c65830bceed5e8e76cd94e81b19386c.tar.gz
dotfiles-cde1926a3c65830bceed5e8e76cd94e81b19386c.zip
Put dotfiles manuals into their own section
This probably contains a few mistakes
Diffstat (limited to 'man/man1/tlcs.1df')
-rw-r--r--man/man1/tlcs.1df22
1 files changed, 22 insertions, 0 deletions
diff --git a/man/man1/tlcs.1df b/man/man1/tlcs.1df
new file mode 100644
index 00000000..e8f4fefa
--- /dev/null
+++ b/man/man1/tlcs.1df
@@ -0,0 +1,22 @@
+.TH TLCS 1df "August 2016" "Manual page for tlcs"
+.SH NAME
+.B tlcs
+\- execute command and tag stdout/stderr lines
+.SH USAGE
+.B tlcs [-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(1df) under the hood. Add -c when writing to a terminal to color
+the lines.
+.P
+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(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>