Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (7 sloc) 177 Bytes
#!/usr/bin/env ruby
# Outputs to a basic TeX table format.
# puts "\\hline"
for line in STDIN
puts line.chomp.gsub("_","\\_").gsub("\t"," & ") + " \\\\"
end
# puts "\\hline"