Yank terminal output to clipboard.
# To yank using the default delimiters (\f, \n, \r, \s, \t):
<sudo dmesg> | yank
# To yank an entire line:
<sudo dmesg> | yank -l
# To yank using a specific delimiter:
<echo hello=world> | yank -d <=>
# To only yank fields matching a specific pattern:
<ps ux> | yank -g <"[0-9]+">