1 2 3 4 5
require 'nu/validator' ARGV.each do |arg| puts Nu::Validator::parse(open(arg)).root.name end