-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit-pipe.1
More file actions
39 lines (39 loc) · 757 Bytes
/
edit-pipe.1
File metadata and controls
39 lines (39 loc) · 757 Bytes
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
34
35
36
37
38
39
.Dd 2017-08-27
.Dt edit-pipe 1
.Os
.Sh NAME
.Nm edit-pipe
.Nd use an editor in a pipeline
.Sh SYNOPSIS
.Nm
.Op Fl v
.Sh DESCRIPTION
The
.Nm
command enables an editor to be used in a pipeline, including as a pager.
It depends on
.Xr mktemp 1
which is available at
.Lk http://www.mktemp.org/
if your system does not already have it. This program was inspired by vipe
of moreutils.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl v
view only, i.e. do not produce output; for the end of a pipeline, in order
to use editor as a pager
.El
.Sh ENVIRONMENT
The editor is taken from VISUAL if defined, else EDITOR if defined, else
/usr/bin/editor if there, else /usr/bin/vi if there.
.Sh EXAMPLES
ls |
.Nm
| sort -r
.Pp
man mv |
.Nm
-v
.Sh SEE ALSO
.Xr vipe 1 ,
.Xr mktemp 1