Shell one-liner
Execute one line of code from the shell.
Shell one-liner
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
OCaml
% ocaml <(echo 'print_endline "Hello"') Hello
Perl
% perl -e 'print "Hello\n"' Hello