aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-06 13:59:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-06 13:59:26 +1300
commit13d4998ee636abbb5bf1b20acd5b19ecd8af0578 (patch)
tree91c7be8c6a76d8653fdae8feec0357cb0d2d89ed /man
parentAdd jfp(1df) (diff)
downloaddotfiles-13d4998ee636abbb5bf1b20acd5b19ecd8af0578.tar.gz
dotfiles-13d4998ee636abbb5bf1b20acd5b19ecd8af0578.zip
Add pp(1df) and pph(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/pp.1df17
-rw-r--r--man/man1/pph.1df16
2 files changed, 33 insertions, 0 deletions
diff --git a/man/man1/pp.1df b/man/man1/pp.1df
new file mode 100644
index 00000000..1c7aca70
--- /dev/null
+++ b/man/man1/pp.1df
@@ -0,0 +1,17 @@
+.TH PP 1df "January 2017" "Manual page for pp"
+.SH NAME
+.B pp
+\- print the full path to each argument
+.SH SYNOPSIS
+.B pp
+/arg arg2 ./arg3
+.SH DESCRIPTION
+.B pp
+uses $PWD to print the full path to each of its arguments, unless they begin
+with a slash, in which case they are printed verbatim.
+.SH CAVEATS
+Newlines in filenames will still work, but the results won't really make sense
+as they'll be indistinguishable from newlines separating the files. This is for
+generating human-readable file lists, not for machines.
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/pph.1df b/man/man1/pph.1df
new file mode 100644
index 00000000..0ad98fc5
--- /dev/null
+++ b/man/man1/pph.1df
@@ -0,0 +1,16 @@
+.TH PPH 1df "January 2017" "Manual page for pp"
+.SH NAME
+.B pp
+\- print the full path to each argument, hostname prepended
+.SH SYNOPSIS
+.B pp
+/arg arg2 ./arg3
+.SH DESCRIPTION
+.B pph
+runs pp(1df) on the arguments to print the full path to each one, and also
+prepends the machine's hostname and a colon to each line.
+.SH CAVEATS
+Newlines in filenames will mess this up. This is for generating human-readable
+file lists, not for machines.
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>