BSD Ports

sysutils/yank 1.2.0nb1 NetBSD

Copy terminal output to clipboard

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
sysutils
Package size
8.6 KiB, 17.9 KiB installed

Description

The yank(1) utility reads input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard. Fields are either recognized by a regular expression using the -g option or by splitting the input on a delimiter sequence using the -d option.

Using the arrow keys will move the selected field. The interface supports several Emacs and Vi like key bindings, consult the man page for further reference. Pressing the return key will invoke the yank command and write the selected field to its stdin. The yank command defaults to xsel(1) but could be anything that accepts input on stdin. When invoking yank, everything supplied after the -- option will be used as the yank command.

In the other systems

SystemPortVersion
NetBSDsysutils/yank1.2.0nb1
FreeBSDsysutils/yank1.3.0_1
OpenBSDsysutils/yank1.4.0
DragonFlysysutils/yank1.3.0_1

Install

Binary package:

pkgin install yank

From pkgsrc:

cd /usr/pkgsrc/sysutils/yank && make install clean

Dependencies

Run dependencies 1

No port depends on this one.