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 & &'
0094d3bf8e7e&follow=1'>Automatically select the last used lens for a bodyJune McEnroe 2024-09-19Add photos from September 5June McEnroe 2024-09-15Add some more film stocks to the listJune McEnroe 2024-09-13Add photos from September 2June McEnroe 2024-09-13Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe