Created
November 28, 2015 04:46
-
-
Save DavidEGrayson/c41d1570c8b2005974ae to your computer and use it in GitHub Desktop.
Yaml is cool.
This file contains 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
$ cat stuff.yaml | |
abc.dll: | |
- tolower | |
- wcslen | |
USER32.dll: | |
- MessageBoxW | |
- stuff | |
$ ruby -ryaml -e "p YAML.load(ARGF)" < stuff.yaml | |
{"abc.dll"=>["tolower", "wcslen"], "USER32.dll"=>["MessageBoxW", "stuff"]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment