blob: 897a0647c6a370223e5ab0926845acfd26798df8 (
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
|
.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 .
|