~welt/ooo

Edit/view data in a Unix pipeline.
Fix not seeking to the beginning of file after writing.
Clean temporary file on exit.
Fix temporary file name being incorrect.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~welt/ooo
read/write
git@git.sr.ht:~welt/ooo

You can also use your local clone with git send-email.

ooo 
---

This is a program similar to vipe that allows you to edit or view
files in a Unix pipeline with an external program. This was primarily
designed for auditpipe, however is generally useful if you want to
be able to edit things in a pipeline. It uses a temporary file.

ooo takes a single argument, which is the name of the editor to 
execute. If it's left blank, it will use $EDITOR. If $EDITOR is
empty it will default to the more program.

Example:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | ooo vi | auditpipe -s | sh