"Philip van Gastel (ETM)" <Philip.van.Gastel@REDACTED> wrote:
>A very short question, is there a possibility of using command files,
>containing Erlang code and run it from command line, eg.
Yet another way:
% cat /tmp/cmd.bat
io:format("~w~n", [erlang:now()]),
halt().
% erl -noshell -s file eval /tmp/cmd.bat
{948,997185,154349}
%
--Per Hedeland
per@REDACTED