Created
September 9, 2014 06:15
-
-
Save herry13/502fb573da32a5295e97 to your computer and use it in GitHub Desktop.
An oneliner to read and print YAML with Ruby (mainly, to verify a YAML)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ruby -e "require 'yaml'; puts ((YAML.load(STDIN.read)).to_yaml)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment