Skip to content

Instantly share code, notes, and snippets.

@jberkel
Created May 21, 2009 20:17
Show Gist options
  • Save jberkel/115706 to your computer and use it in GitHub Desktop.
Save jberkel/115706 to your computer and use it in GitHub Desktop.
curl -s http://aserver.com/path/file.csv | ruby -rcsv -e 'puts CSV.parse($stdin.read).map { |a,b| "#{a}\t#{b}" }.join("\n")' | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment