vipe.sh - portable, shell-compatible version of vipe(1) from moreutils
vipe.sh | ...
vipe.sh is a utility, which makes it possible to use an editor in pipelines of Bourne-compatible shells.
It aims to address pipeline limitations, which result in warnings like: "Vim: Warning: Output is not to a terminal".
The vipe.sh command makes use of mktemp(1) to create temporary files.
The following environmental variables are recognized by vipe.sh:
EDITOR
(default: "vi")
The editor to use if
VISUAL
is not set.
VISUAL
(default: unset)
The editor to use.
The vipe.sh utility exits 0 on success, and >0 if an error occurs.
The following is an example of a typical usage of the vipe.sh command:
curl wttr.in | vipe.sh | nc termbin.com 9999 | xclip -sel clip
vipe(1), which is a part of moreutils.
vipe.sh is a reimplementation of the popular, Perl-based vipe(1) from the moreutils project.
vipe.sh and this manual page was written by Mateusz Piotrowski <0mp@FreeBSD.org>.