/ Published in: Bash
Convert a listing to quote protected CSV
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
cat file | paste -s -d'%' - | sed 's/\(^\|$\)/"/g;s/%/","/g'