Created
March 10, 2017 22:05
-
-
Save ddrscott/b9e3915eef17540d262f261394616903 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'csv' | |
ARGF.each_line do |line| | |
a,b,c = *CSV.parse_line(line) | |
print CSV.generate_line([c,b,a]) | |
end |
Author
ddrscott
commented
Mar 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment