mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 14:50:23 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Join all the lines into a single line, using TAB as delimiter:
|
||||
|
||||
`paste -s {{path/to/file}}`
|
||||
`paste {{[-s|--serial]}} {{path/to/file}}`
|
||||
|
||||
- Join all the lines into a single line, using the specified delimiter:
|
||||
|
||||
`paste -s -d {{delimiter}} {{path/to/file}}`
|
||||
`paste {{[-s|--serial]}} {{[-d|--delimiters]}} {{delimiter}} {{path/to/file}}`
|
||||
|
||||
- Merge two files side by side, each in its column, using TAB as delimiter:
|
||||
|
||||
@@ -22,9 +22,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Merge two files side by side, each in its column, using the specified delimiter:
|
||||
|
||||
`paste -d {{delimiter}} {{path/to/file1}} {{path/to/file2}}`
|
||||
`paste {{[-d|--delimiters]}} {{delimiter}} {{path/to/file1}} {{path/to/file2}}`
|
||||
|
||||
- Merge two files, with lines added alternatively:
|
||||
|
||||
`paste -d '
|
||||
`paste {{[-d|--delimiters]}} '
|
||||
' {{path/to/file1}} {{path/to/file2}}`
|
||||
|
||||
Reference in New Issue
Block a user