Skip to content

Instantly share code, notes, and snippets.

@akiniwa
Created April 11, 2014 02:09
Show Gist options
  • Save akiniwa/10437292 to your computer and use it in GitHub Desktop.
Save akiniwa/10437292 to your computer and use it in GitHub Desktop.
for f in *.txt; do sed -e 's/\t\|\s/,/g' $f > "${f%.*}".csv; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment