csvkit: add page (#3386)

client-spec/clarity
Guilherme Silva 2019-11-25 17:50:45 +00:00 committed by Waldir Pimenta
parent 6e7bd3baee
commit a8b4159c9b
1 changed files with 21 additions and 0 deletions

21
pages/common/csvkit.md Normal file
View File

@ -0,0 +1,21 @@
# csvkit
> Manipulation toolkit for CSV files.
> See the individual commands: `csvclean`, `csvcut`, `csvformat`, `csvgrep`, `csvlook`, `csvpy`, `csvsort`, `csvstat`.
> More information: <https://csvkit.readthedocs.io/en/0.9.1/cli.html>.
- Run a command on a CSV file with a custom delimiter:
`{{cmd}} -d {{delimiter}} {{filename.csv}}`
- Run a command on a CSV file with a tab as a delimiter (overrides -d):
`{{cmd}} -t {{filename.csv}}`
- Run a command on a CSV file with a custom quote character:
`{{cmd}} -q {{quote_char}} {{filename.csv}}`
- Run a command on a CSV file with no header row:
`{{cmd}} -H {{filename.csv}}`