Skip to content

0mp/vipe.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Portable, shell-compatible version of vipe(1) from moreutils

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published