I know that some command-line programs can open visual editors like Sublime in a "wait mode" which opens the editor, lets you edit, and on-close it resumes the program with the file contents (like git commit). I'm wondering if there's any way to write a pipeline like this:
cat $file | sort | [open sublime in wait mode] | grep abc
Ie, I want to take the output of one command, open it in an editor, let me make edits, then it continues the pipeline with the file contents.
Thanks!