Commit d2baa52a authored by Volker Hilsheimer's avatar Volker Hilsheimer
Browse files

Remove unused utility script

parent 5f274519
require 'yaml'
yaml=YAML.load(STDIN.read)
exit(1) unless yaml
if ARGV.count < 1
yaml.each do |key, value|
puts key
end
else
value = yaml[ARGV[0]]
unless ARGV[1] == "--raw"
if value.is_a?(String)
value.gsub!("\\", "\\\\")
value.gsub!("\"", "\\\"")
end
end
puts value
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment