mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 01:58:28 +00:00
Update cheatsheets
This commit is contained in:
@@ -13,23 +13,23 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`printf "header1 header2
|
||||
bar foo
|
||||
" | column --output-width {{30}}`
|
||||
" | column {{[-c|--output-width]}} {{30}}`
|
||||
|
||||
- Split columns automatically and auto-align them in a tabular format:
|
||||
|
||||
`printf "header1 header2
|
||||
bar foo
|
||||
" | column --table`
|
||||
" | column {{[-t|--table]}}`
|
||||
|
||||
- Specify the column delimiter character for the `--table` option (e.g. "," for CSV) (defaults to whitespace):
|
||||
|
||||
`printf "header1,header2
|
||||
bar,foo
|
||||
" | column --table --separator {{,}}`
|
||||
" | column {{[-t|--table]}} {{[-s|--separator]}} {{,}}`
|
||||
|
||||
- Fill rows before filling columns:
|
||||
|
||||
`printf "header1
|
||||
bar
|
||||
foobar
|
||||
" | column --output-width {{30}} --fillrows`
|
||||
" | column {{[-c|{{[-c|--output-width]}}]}} {{30}} {{[-x|--fillrows]}}`
|
||||
|
||||
Reference in New Issue
Block a user