Convert list to " protected CSV


/ Published in: Bash
Save to your folder(s)

Convert a listing to quote protected CSV


Copy this code and paste it in your HTML
  1. cat file | paste -s -d'%' - | sed 's/\(^\|$\)/"/g;s/%/","/g'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.