Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-13 00:18:34 +00:00
parent ffbd8c31db
commit 904f7fe0c1
46 changed files with 228 additions and 157 deletions

View File

@@ -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]}}`