A terminal utility that lets you select and copy text from command output using keyboard navigation.
yank is a command-line utility that reads input from stdin and provides an interactive interface to select and copy specific fields or text segments to the clipboard. It solves the problem of needing to use the mouse to copy terminal output by allowing keyboard-driven selection from command results.
Developers and system administrators who work extensively in the terminal and want to avoid using the mouse for copying text from command output.
It offers a lightweight, terminal-agnostic alternative to mouse-based copying and terminal multiplexer solutions, with flexible field recognition and support for custom clipboard commands.
Yank terminal output to clipboard
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports arrow keys and Emacs/Vi bindings for seamless field selection without a mouse, as referenced in the man page for efficient terminal workflows.
Allows regex-based (`-g`) or delimiter-based (`-d`) recognition, enabling extraction of specific data like CSV fields or environment variables from command output.
Works across any terminal without requiring multiplexers, providing a portable solution for keyboard-centric copying, per the project's philosophy.
Can specify any command via `--`, such as xsel for Linux or pbcopy for macOS, allowing adaptation to different systems and headless environments.
Relies on third-party clipboard commands like xsel, which may not be pre-installed on all systems, adding setup complexity and potential failures.
On distributions like Debian and Fedora, the binary is named `yank-cli` due to conflicts, which can confuse users and require alias adjustments.
Only copies one field at a time interactively, lacking batch or multi-select features, which might be inefficient for complex data extraction tasks.