command1 | vipe | command2
vipe allows you to run your editor in the middle of a unix pipeline and edit the data that is being piped between programs. Your editor will have the full data being piped from command1 loaded into it, and when you close it, that data will be piped into command2.
Editor to use.
Also supported to determine what editor to use.
Copyright 2006 by Joey Hess <firstname.lastname@example.org>
Licensed under the GNU GPL.