v2.2.0
- implemented csv mode
$ cat data.csv
1,2,3
"a","b"",","c"
"dd,""fg"",de","dd,""fg"",de",","
"hc,"",","bd,"",d"
$ cat data.csv | opy -c -o '|' '[*F[1:]]' #separate each value with "|"
1|2|3
a|b",|c
dd,"fg",de|dd,"fg",de|,
hc,",|bd,",d
$ cat data.csv
1,2,3
"a","b"",","c"
"dd,""fg"",de","dd,""fg"",de",","
"hc,"",","bd,"",d"
$ cat data.csv | opy -c -o '|' '[*F[1:]]' #separate each value with "|"
1|2|3
a|b",|c
dd,"fg",de|dd,"fg",de|,
hc,",|bd,",d