Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 1.22 KB

README.md

File metadata and controls

75 lines (50 loc) · 1.22 KB

NAME

vipe.sh - portable, shell-compatible version of vipe(1) from moreutils

SYNOPSIS

vipe.sh | ...

DESCRIPTION

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".

IMPLEMENTATION NOTES

The vipe.sh command makes use of mktemp(1) to create temporary files.

ENVIRONMENT

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.

EXIT STATUS

The vipe.sh utility exits 0 on success, and >0 if an error occurs.

EXAMPLES

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

SEE ALSO

vipe(1), which is a part of moreutils.

HISTORY

vipe.sh is a reimplementation of the popular, Perl-based vipe(1) from the moreutils project.

AUTHORS

vipe.sh and this manual page was written by Mateusz Piotrowski <0mp@FreeBSD.org>.