mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 19:50:46 +00:00
Update cheatsheets
This commit is contained in:
21
csv2tsv
Normal file
21
csv2tsv
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# csv2tsv
|
||||
|
||||
> Convert CSV (comma-separated) text to TSV (tab-separated) format.
|
||||
> More information: <https://github.com/eBay/tsv-utils/blob/master/README.md#csv2tsv>.
|
||||
|
||||
- Convert from CSV to TSV:
|
||||
|
||||
`csv2tsv {{path/to/input_csv1 path/to/input_csv2 ...}} > {{path/to/output_tsv}}`
|
||||
|
||||
- Convert field delimiter separated CSV to TSV:
|
||||
|
||||
`csv2tsv -c'{{field_delimiter}}' {{path/to/input_csv}}`
|
||||
|
||||
- Convert semicolon separated CSV to TSV:
|
||||
|
||||
`csv2tsv -c';' {{path/to/input_csv}}`
|
||||
Reference in New Issue
Block a user