Posted By

johngh on 11/13/13


Tagged

csv paste


Versions (?)

Convert list to " protected CSV


 / Published in: Bash
 

Convert a listing to quote protected CSV

  1. cat file | paste -s -d'%' - | sed 's/\(^\|$\)/"/g;s/%/","/g'

Report this snippet  

You need to login to post a comment.