1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/csvkit.md

21 lines
718 B
Markdown

# csvkit
> Manipulation toolkit for CSV files.
> See also: `csvclean`, `csvcut`, `csvformat`, `csvgrep`, `csvlook`, `csvpy`, `csvsort`, `csvstat`.
> More information: <https://csvkit.readthedocs.io/en/latest/cli.html>.
- Run a command on a CSV file with a custom delimiter:
`{{command}} {{[-d|--delimiter]}} {{delimiter}} {{path/to/file.csv}}`
- Run a command on a CSV file with a tab as a delimiter (overrides -d):
`{{command}} {{[-t|--tabs]}} {{path/to/file.csv}}`
- Run a command on a CSV file with a custom quote character:
`{{command}} {{[-q|--quotechar]}} {{quote_char}} {{path/to/file.csv}}`
- Run a command on a CSV file with no header row:
`{{command}} {{[-H|--no-header-row]}} {{path/to/file.csv}}`