>
> $ elixir -r *.exs
> This is a1
> This is a2
>

This one is expanded by the OS. This means that it becomes:

elixir -r a1.exs a2.exs duh.exs

Which means a1 is required, a2 is executed as a script and duh.exs is
passed to System.argv.

$ elixir -r "*.exs"
> This is a1
> This is a2
> duh
>

This is expanded by Elixir, which means everything is properly required.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4K6UCOc5jOURaWmRDw9Jf0S%2BJz%2B4-fzUi1T6%2BEY7j2Waw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to