mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-25 18:03:07 +03:00
csvformat: better wording and clarifications
This commit is contained in:
parent
9e24ad78a2
commit
749ca0897d
@ -3,7 +3,7 @@
|
|||||||
> Convert a CSV file to a custom output format.
|
> Convert a CSV file to a custom output format.
|
||||||
> Included in csvkit.
|
> Included in csvkit.
|
||||||
|
|
||||||
- Convert to a tab-delimited file:
|
- Convert to a tab-delimited file (TSV):
|
||||||
|
|
||||||
`csvformat -T {{data.csv}}`
|
`csvformat -T {{data.csv}}`
|
||||||
|
|
||||||
@ -11,14 +11,14 @@
|
|||||||
|
|
||||||
`csvformat -D "{{custom_character}}" {{data.csv}}`
|
`csvformat -D "{{custom_character}}" {{data.csv}}`
|
||||||
|
|
||||||
- Convert line endings to carriage return + line feed:
|
- Convert line endings to carriage return (^M) + line feed:
|
||||||
|
|
||||||
`csvformat -M "{{\r\n}}" {{data.csv}}`
|
`csvformat -M "{{\r\n}}" {{data.csv}}`
|
||||||
|
|
||||||
- Convert to minimal use of quote characters:
|
- Minimize use of quote characters:
|
||||||
|
|
||||||
`csvformat -U 0 {{data.csv}}`
|
`csvformat -U 0 {{data.csv}}`
|
||||||
|
|
||||||
- Convert to maximum use of quote characters:
|
- Maximize use of quote characters:
|
||||||
|
|
||||||
`csvformat -U 1 {{data.csv}}`
|
`csvformat -U 1 {{data.csv}}`
|
||||||
|
Loading…
Reference in New Issue
Block a user