|
|
|
|
|
by OskarS
2406 days ago
|
|
Yeah, "vipe" from moreutils (which is a package on most platforms) does this. It inserts $EDITOR (usually vim) into the command pipe, and allows you to review and/or edit the text before passing it on to the next thing in the pipeline. Great little command line utility, for all sorts of things. If you want to cancel, just erase the file. Or `:cq` in vim probably works as well. |
|