Shell one-liner: Difference between revisions
Content added Content deleted
No edit summary |
m (Moved to Enviro cat) |
||
Line 1: | Line 1: | ||
{{task|Programming environment operations}} |
|||
{{task}} |
|||
Execute one line of code from the shell. |
Execute one line of code from the shell. |
Revision as of 15:21, 26 August 2008
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.
Execute one line of code from the shell.
OCaml
% ocaml <(echo 'print_endline "Hello"') Hello
Perl
% perl -e 'print "Hello\n"' Hello