aboutsummaryrefslogtreecommitdiff
path: root/man/man1/pit.1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-13 20:16:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-13 20:17:09 +1200
commitbe6dab15aec918a7089d18116de293f0489f2f92 (patch)
tree62d65f506316f512a105e4e4bb8be0e7dfbb3ab1 /man/man1/pit.1
parentAdd wrdl to games (diff)
downloaddotfiles-be6dab15aec918a7089d18116de293f0489f2f92.tar.gz
dotfiles-be6dab15aec918a7089d18116de293f0489f2f92.zip
Add pit(1)
Diffstat (limited to 'man/man1/pit.1')
-rw-r--r--man/man1/pit.122
1 files changed, 22 insertions, 0 deletions
diff --git a/man/man1/pit.1 b/man/man1/pit.1
new file mode 100644
index 00000000..34a00aff
--- /dev/null
+++ b/man/man1/pit.1
@@ -0,0 +1,22 @@
+.TH PIT 1 "July 2016" "Manual page for pit"
+.SH NAME
+.B pit
+\- show arguments or output in a pager if stdout looks like a terminal
+.SH SYNOPSIS
+.B pit
+file
+.br
+.B pit
+file1 file2 file3
+.br
+command |
+.B pit
+.SH DESCRIPTION
+.B pit
+shows the contents of the files given as arguments in a pager if its standard
+output looks to be a terminal; otherwise it writes them to stdout.
+.P
+It checks for the PAGER environment variable, and otherwise falls back on
+more(1).
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>