[erlang-patches] escript to accept emulator flags in scripts without shebang
Fredrik
fredrik@REDACTED
Fri Jan 11 15:27:57 CET 2013
Hello Magnus,
I have fetched and I am now building it in 'master-pu' branch.
Thanks for your contribution!
BR Fredrik Gustafsson
Erlang OTP Team
On 01/08/2013 07:50 PM, Magnus Henoch wrote:
> The documentation for escript says that if the second or third line of
> the script starts with %%!, the rest of the line will be used as
> emulator arguments. However, currently this is only the case if the
> first line starts with #!. I couldn't see any reason for that, so here
> is a patch that removes this undocumented limitation.
>
> git fetch git://github.com/legoscia/otp.git escript_emulator_flags_vs_shebang
>
> https://github.com/legoscia/otp/compare/erlang:master...legoscia:escript_emulator_flags_vs_shebang
> https://github.com/legoscia/otp/compare/erlang:master...legoscia:escript_emulator_flags_vs_shebang.patch
>
> Regards,
> Magnus
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
More information about the erlang-patches
mailing list