Convert Comma Separated Values (CSV) to Unicode Separated Values (USV).
Syntax:
stdin | csv-to-usv | stdout
Example:
cat example.csv | csv-to-usv > example.usv
Install:
cargo install csv-to-usv
Link: https://crates.io/crates/csv-to-usv
Suppose file example.csv contains:
a,b,c
d,e,f
g,h,i
Run:
cat example.csv | csv-to-usv
Output:
a␟b␟c␟␞d␟e␟f␟␞g␟h␟i␟␞
Use this command when you want to convert from CSV to USV.
A typical use case is when you have CSV data, such as a spreadsheet export, and you want to convert it to USV, such as to make the data easier to view, or edit, or maintain.
Our real-world use case is converting a bunch of CSV spreadsheet exports from a variety of programs, including Excel, to USV so we're better-able to handle quoting, and multi-line data units, and Unicode characters in a wide variety of human languages.
Yes: usv-to-csv.
See the documentation for USV.
Yes and we've submitted the first draft of the USV standard to the IETF: link.
Constructive feedback welcome. Pull requests and feature requests welcome.