erl in unix pipe?
2QdxY4RzWzUUiLuE@REDACTED
2QdxY4RzWzUUiLuE@REDACTED
Fri Jan 21 15:26:53 CET 2022
On 2022-01-21 at 09:19:09 -0500,
Anthony Howe <achowe@REDACTED> wrote:
> How does one pipe Erlang statements into erl and pipe the output?
>
> Wishes Erlang (erl) behaved more like unix tools.
Try writing an escript:
https://www.erlang.org/doc/man/escript.html
https://erlang.org/documentation/doc-5.7.4/erts-5.7.4/doc/html/escript.html
rebar3 supports escripts, too.
More information about the erlang-questions
mailing list