Skip to content

Instantly share code, notes, and snippets.

@fgallaire
Last active May 7, 2019 06:02
Show Gist options
  • Save fgallaire/b36dbf089593e8c6eabb45c28046cafb to your computer and use it in GitHub Desktop.
Save fgallaire/b36dbf089593e8c6eabb45c28046cafb 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(_) -> io:format("Erreur : script ne prend en charge qu'un seul argument.\n").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment