diff options
author | John Ankarström <john@ankarstrom.se> | 2020-11-24 02:50:49 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-11-24 02:50:49 +0100 |
commit | 7ead7728a69b3252ede19a00e958f6a2b38845b9 (patch) | |
tree | 0ba6cc058a7470e764de7e9e4dcb54b97bdd83a2 | |
parent | 09c8e5f72b34b7c13f278acb52f2dd3e530558d3 (diff) | |
download | xutil-7ead7728a69b3252ede19a00e958f6a2b38845b9.tar.gz |
ep: Add manual
-rw-r--r-- | ep.1 | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -0,0 +1,29 @@ +.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 vi, 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 vi: +.Dl :.w! +. +.Sh AUTHORS +.Pp +.Nm +is written by John Ankarström +.Aq Mt john (at) ankarstrom.se . |