Last active
May 7, 2019 06:03
-
-
Save fgallaire/14db4249f2682d82c0c2ed271c973d9d to your computer and use it in GitHub Desktop.
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
#!/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