Skip to content

Instantly share code, notes, and snippets.

@WintersMichael
Last active September 14, 2016 21:35
Show Gist options
  • Save WintersMichael/7760d8f2535bce98543c06571ae7f0dc to your computer and use it in GitHub Desktop.
Save WintersMichael/7760d8f2535bce98543c06571ae7f0dc to your computer and use it in GitHub Desktop.
#!/bin/bash
# from http://stackoverflow.com/questions/3971822/yaml-syntax-validator
ruby -e "require 'yaml';puts YAML.load_file('$1')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment