yank

yank

TLDR

Yank using the default delimiters (\f, \n, \r, \s, \t)

>_ [sudo dmesg] | yank
copy

Yank an entire line

>_ [sudo dmesg] | yank -l
copy

Yank using a specific delimiter

>_ [echo hello=world] | yank -d [=]
copy

Only yank fields matching a specific pattern

>_ [ps ux] | yank -g ["[0-9]+"]
copy

Copied to clipboard
free 100$ digital ocean credit