Skip to content

Instantly share code, notes, and snippets.

@maasha
Last active December 12, 2015 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maasha/4683187 to your computer and use it in GitHub Desktop.
Save maasha/4683187 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby -w
require 'pp'
File.open("tyt", "r") do |ios|
ios.each_line do |line|
line.chomp!
fields = line.split("\t")
fields.each do |field|
puts field
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment