mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 16:00:05 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/csvkit
10
tldr/csvkit
@@ -7,20 +7,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> 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>.
|
||||
> More information: <https://csvkit.readthedocs.io/en/latest/cli.html>.
|
||||
|
||||
- Run a command on a CSV file with a custom delimiter:
|
||||
|
||||
`{{command}} -d {{delimiter}} {{path/to/file.csv}}`
|
||||
`{{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 {{path/to/file.csv}}`
|
||||
`{{command}} {{[-t|--tabs]}} {{path/to/file.csv}}`
|
||||
|
||||
- Run a command on a CSV file with a custom quote character:
|
||||
|
||||
`{{command}} -q {{quote_char}} {{path/to/file.csv}}`
|
||||
`{{command}} {{[-q|--quotechar]}} {{quote_char}} {{path/to/file.csv}}`
|
||||
|
||||
- Run a command on a CSV file with no header row:
|
||||
|
||||
`{{command}} -H {{path/to/file.csv}}`
|
||||
`{{command}} {{[-H|--no-header-row]}} {{path/to/file.csv}}`
|
||||
|
||||
Reference in New Issue
Block a user