aboutsummaryrefslogtreecommitdiff
path: root/doc/ep.1
blob: 016f4cef6892b0c0c764de6dfa952288ebb22928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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" .