lckdo, mispipe, pee, vidir, vipe, zrun: add pages; flock: edit page (#12113)
* lckdo, mispipe, pee, vidir, vipe, zrun: add pages
* Apply suggestions from code review
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
* fix errors
* flock: move page
---------
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-01-24 09:20:02 +01:00
|
|
|
# vipe
|
|
|
|
|
|
|
|
> Run a text editor in the middle of a UNIX pipeline.
|
2025-05-01 14:38:45 +03:00
|
|
|
> More information: <https://manned.org/vipe>.
|
lckdo, mispipe, pee, vidir, vipe, zrun: add pages; flock: edit page (#12113)
* lckdo, mispipe, pee, vidir, vipe, zrun: add pages
* Apply suggestions from code review
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
* fix errors
* flock: move page
---------
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-01-24 09:20:02 +01:00
|
|
|
|
|
|
|
- Edit the output of `command1` before piping it into `command2`:
|
|
|
|
|
|
|
|
`{{command1}} | vipe | {{command2}}`
|
|
|
|
|
|
|
|
- Buffer the output of `command1` in a temporary file with the specified file extension in order to aid syntax highlighting:
|
|
|
|
|
|
|
|
`{{command1}} | vipe --suffix {{json}} | {{command2}}`
|
|
|
|
|
|
|
|
- Use the specified text editor:
|
|
|
|
|
|
|
|
`{{command1}} | EDITOR={{vim}} vipe | {{command2}}`
|