mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 09:59:39 +00:00
Update cheatsheets
This commit is contained in:
4
tldr/cut
4
tldr/cut
@@ -28,6 +28,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`{{command}} | cut {{[-d|--delimiter]}} " " {{[-f|--fields]}} -3`
|
||||
|
||||
- Do not print lines that do not contain the delimiter:
|
||||
|
||||
`{{command}} | cut {{[-d|--delimiter]}} "{{:}}" {{[-f|--fields]}} {{1}} {{[-s|--only-delimited]}}`
|
||||
|
||||
- Print specific fields of lines that use `NUL` to terminate lines instead of newlines:
|
||||
|
||||
`{{find . -print0}} | cut {{[-z|--zero-terminated]}} {{[-d|--delimiter]}} "{{/}}" {{[-f|--fields]}} {{2}}`
|
||||
|
||||
Reference in New Issue
Block a user