aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-10 23:20:51 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-10 23:24:04 +1200
commit13a4187ab7cf193d626c6a9ce6f4f87fe2ef837f (patch)
treecd1ef0df4ee05d746515ed98006a858cfb2da04f /man
parentUpdate submodules (diff)
downloaddotfiles-13a4187ab7cf193d626c6a9ce6f4f87fe2ef837f.tar.gz
dotfiles-13a4187ab7cf193d626c6a9ce6f4f87fe2ef837f.zip
Add pst(1df), ped(1df), and pvi(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/ped.1df19
-rw-r--r--man/man1/pst.1df25
-rw-r--r--man/man1/pvi.1df19
3 files changed, 63 insertions, 0 deletions
diff --git a/man/man1/ped.1df b/man/man1/ped.1df
new file mode 100644
index 00000000..fba85943
--- /dev/null
+++ b/man/man1/ped.1df
@@ -0,0 +1,19 @@
+.TH PED 1df "May 2017" "Manual page for ped"
+.SH NAME
+.B ped
+\- stop a pipe for $EDITOR intervention
+.SH SYNOPSIS
+prog1 |
+.B
+ped
+| prog2
+.SH DESCRIPTION
+.B ped
+saves all its standard input into a temporary file and runs $EDITOR, or ed(1)
+if unset, on that file. Once the editor exits, it emits the contents of the
+same file (changed or unchanged). This can be used as a way to edit data
+manually as it goes through a pipe.
+.SH SEE ALSO
+pst(1df), pvi(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/pst.1df b/man/man1/pst.1df
new file mode 100644
index 00000000..cf3ce281
--- /dev/null
+++ b/man/man1/pst.1df
@@ -0,0 +1,25 @@
+.TH PST 1df "May 2017" "Manual page for pst"
+.SH NAME
+.B pst
+\- stop a pipe for manual viewing or intervention
+.SH SYNOPSIS
+prog1 |
+.B
+pst
+| prog2
+.br
+prog1 |
+.B
+pst ed
+| prog2
+.SH DESCRIPTION
+.B pst
+saves all its standard input into a temporary file and runs the interactive
+command given, defaulting to a suitable pager, and then emits the contents of
+the same file (changed or unchanged) after the program exits. This can be used
+as a way to watch the progress of data as it goes through the pipe, or to
+manually edit it.
+.SH SEE ALSO
+ped(1df), pvi(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/pvi.1df b/man/man1/pvi.1df
new file mode 100644
index 00000000..990ea589
--- /dev/null
+++ b/man/man1/pvi.1df
@@ -0,0 +1,19 @@
+.TH PED 1df "May 2017" "Manual page for pvi"
+.SH NAME
+.B pvi
+\- stop a pipe for $EDITOR intervention
+.SH SYNOPSIS
+prog1 |
+.B
+pvi
+| prog2
+.SH DESCRIPTION
+.B pvi
+saves all its standard input into a temporary file and runs $VISUAL, or vi(1)
+if unset, on that file. Once the editor exits, it emits the contents of the
+same file (changed or unchanged). This can be used as a way to edit data
+manually as it goes through a pipe.
+.SH SEE ALSO
+pst(1df), ped(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>