mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 09:41:50 +00:00
27 lines
739 B
Plaintext
27 lines
739 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# csvkit
|
|
|
|
> Manipulation toolkit for CSV files.
|
|
> See also: `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:
|
|
|
|
`{{command}} -d {{delimiter}} {{path/to/file.csv}}`
|
|
|
|
- Run a command on a CSV file with a tab as a delimiter (overrides -d):
|
|
|
|
`{{command}} -t {{path/to/file.csv}}`
|
|
|
|
- Run a command on a CSV file with a custom quote character:
|
|
|
|
`{{command}} -q {{quote_char}} {{path/to/file.csv}}`
|
|
|
|
- Run a command on a CSV file with no header row:
|
|
|
|
`{{command}} -H {{path/to/file.csv}}`
|