summary refs log tree commit diff
path: root/bin/man1/edit.1
blob: 8c94939aa5eee1744859a5ca752f2f9d62b18620 (plain) (blame)
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
.Dd August 29, 2019
.Dt EDIT 1
.Os
.
.Sh NAME
.Nm edit
.Nd interactive script
.
.Sh SYNOPSIS
.Nm
.Op Ar replacement
.
.Sh DESCRIPTION
.Nm
creates a temporary
.Xr sh 1
script
from standard input
and invokes
.Ev EDITOR
before it executes.
The
.Ar replacement
argument is used in a
.Xr sed 1
substitute expression
to generate the script.
The default
.Ar replacement
is
.Ql : & .
.
.Sh EXAMPLES
.Dl ls | edit 'mv & &'
3:33:37 -0500'>2021-01-20Remove Lua supportJune McEnroe 2021-01-20Fix tests for diff spansJune McEnroe 2021-01-20Avoid matching ':' in make tagsJune McEnroe 2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe 2021-01-18Allow matching lexers using first input lineJune McEnroe