csvkitHow to specify a delimiter in csvkit?
csvkit is a suite of command-line tools for converting to and working with CSV, the comma-separated values format. It can be used to specify a delimiter in csvkit.
Example code
csvcut -d '|' input.csv
Output example
column1|column2|column3
value1|value2|value3
Code explanation
csvcut
: the command to specify a delimiter-d
: the flag to indicate the delimiter'|'
: the delimiter to be usedinput.csv
: the input file
Helpful links
More of Csvkit
- How to update specific records using csvkit?
- How to remove duplicates with csvkit?
- How to join two files with csvkit?
- How to reorder columns with csvkit?
- How to merge columns with csvkit?
- How to use csvkit on Windows?
- How to install csvkit on a Mac?
- How to remove header with csvkit?
- How to merge multiple files with csvkit?
- How to format a date in csvkit?
See more codes...