Skip to content

Instantly share code, notes, and snippets.

@fgallaire
Last active May 7, 2019 06:03
Show Gist options
  • Save fgallaire/14db4249f2682d82c0c2ed271c973d9d to your computer and use it in GitHub Desktop.
Save fgallaire/14db4249f2682d82c0c2ed271c973d9d to your computer and use it in GitHub Desktop.
#!/usr/bin/env escript
main([]) -> io:format("script 0.1\n");
main([Arg]) -> io:format("Argument : ~s\n", [Arg]);
main([Head|_Tail]) -> io:format("Attention : script ne prend en charge qu'un seul argument.\n"),
main([Head]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment