One liner hexdumper in Ruby :-)user / October 14, 2009 / Ruby, Uncategorized File.open(ARGV[0] || “a.out”,”rb”).each_byte { |byte| printf “\\x%02x”, byte }