whereis, xar, yank: move to common (#6552)

This commit is contained in:
marchersimon
2021-09-19 02:59:20 +02:00
committed by GitHub
parent 0e7393b78f
commit e94e6af882
9 changed files with 0 additions and 54 deletions

19
pages/common/yank.md Normal file
View File

@@ -0,0 +1,19 @@
# yank
> Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard.
- Yank using the default delimiters (\f, \n, \r, \s, \t):
`{{sudo dmesg}} | yank`
- Yank an entire line:
`{{sudo dmesg}} | yank -l`
- Yank using a specific delimiter:
`{{echo hello=world}} | yank -d {{=}}`
- Only yank fields matching a specific pattern:
`{{ps ux}} | yank -g "{{[0-9]+}}"`