aboutsummaryrefslogtreecommitdiff
path: root/doc/ep.1
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-12 13:24:49 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-12 13:27:07 +0200
commit03d827e2fbc409ef97829f25b8eeca5204f81a3c (patch)
tree6099f0feb9adf3425fba87549b164043e18bd0c7 /doc/ep.1
parent45cddd072119c5abd7ec076cf28d51ee01f125b7 (diff)
downloadxutil-03d827e2fbc409ef97829f25b8eeca5204f81a3c.tar.gz
Re-organize files
Diffstat (limited to 'doc/ep.1')
-rw-r--r--doc/ep.133
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/ep.1 b/doc/ep.1
new file mode 100644
index 0000000..95e992d
--- /dev/null
+++ b/doc/ep.1
@@ -0,0 +1,33 @@
+.Dd $Mdocdate$
+.Dt ep 1
+.Os
+.
+.Sh NAME
+.Nm ep
+.Nd edit pipe
+.
+.Sh SYNOPSIS
+.Nm
+.
+.Sh DESCIPTION
+.Pp
+.Nm
+redirects standard input to a temporary file,
+opens it in
+.Ev EDITOR
+(or
+.Xr vi 1 ,
+if none is set)
+and prints the contents of the (edited) file on standard output.
+.Pp
+.Nm
+can be used as a versatile option selector.
+The following sequence is a quick way to delete all lines but the current in
+.Xr vi 1 :
+.Dl :.w!
+.
+.Sh AUTHORS
+.Pp
+.Nm
+is written by John Ankarström
+.Aq Mt "john (at) ankarstrom.se" .