Skip to content

Instantly share code, notes, and snippets.

@davidcorbin
Created October 24, 2019 20:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save davidcorbin/e697d8cb8df4945736ad43736d57d09e to your computer and use it in GitHub Desktop.
Validate Erlang config files
#!/usr/bin/env escript
main([ConfigFile]) ->
{ok, Terms} = file:consult(ConfigFile),
io:format("~p~n",[Terms]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment