1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 13:02:08 +02:00
tldr/pages/common/csvkit.md
2019-11-25 17:50:45 +00:00

21 lines
633 B
Markdown

# 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}}`