I have a CSV delimited by commas and I want to delimit it by newlines instead.
a, b, c
a b c
I've written Java parsers that do this stuff, but couldn't this be done with
vim or some other tool?
sed isn't working for me:
#!/bin/sh # Start cat > infile.csv << __EOF__ a, b, c __EOF__ cat infile.csv sed 's/, /\n/g' infile.csv > outfile.csv cat outfile.csv