mirror of https://github.com/CrimsonTome/tldr.git
column: fix and reorder -s example (#2990)
The `-s` option only works if `-t` is passed as well (as the description indicates), and because of that, it should be shown after the `-t` example.italian
parent
06a93a9b52
commit
0b77c6c583
|
@ -7,14 +7,14 @@
|
||||||
|
|
||||||
`printf "header1 header2\nbar foo\n" | column -c {{30}}`
|
`printf "header1 header2\nbar foo\n" | column -c {{30}}`
|
||||||
|
|
||||||
- Specify column delimiter character for the -t option (e.g. "," for csv); default is whitespace:
|
|
||||||
|
|
||||||
`printf "header1,header2\nbar,foo\n" | column -s{{,}}`
|
|
||||||
|
|
||||||
- Split columns automatically and auto-align in a tabular format:
|
- Split columns automatically and auto-align in a tabular format:
|
||||||
|
|
||||||
`printf "header1 header2\nbar foo\n" | column -t`
|
`printf "header1 header2\nbar foo\n" | column -t`
|
||||||
|
|
||||||
|
- Specify column delimiter character for the -t option (e.g. "," for csv); default is whitespace:
|
||||||
|
|
||||||
|
`printf "header1,header2\nbar,foo\n" | column -t -s{{,}}`
|
||||||
|
|
||||||
- Fill columns before filling rows:
|
- Fill columns before filling rows:
|
||||||
|
|
||||||
`printf "header1\nbar\nfoobar\n" | column -c {{30}} -x`
|
`printf "header1\nbar\nfoobar\n" | column -c {{30}} -x`
|
||||||
|
|
Loading…
Reference in New Issue