Created
October 24, 2019 20:55
-
-
Save davidcorbin/e697d8cb8df4945736ad43736d57d09e to your computer and use it in GitHub Desktop.
Validate Erlang config files
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
#!/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