aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-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>