Skip to content

Instantly share code, notes, and snippets.

@eiel
Created January 9, 2016 11:12
Show Gist options
  • Save eiel/5ee9dd1cdce929af5216 to your computer and use it in GitHub Desktop.
Save eiel/5ee9dd1cdce929af5216 to your computer and use it in GitHub Desktop.
x = open("hoge.txt").readlines.map do |n| n.gsub('"','').gsub("\n","").strip end.join("\n"); open("goro.txt","w") { |io| io.write(x) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment