RosettaCodeData/Task/Shell-one-liner/Prolog/shell-one-liner-1.pro

4 lines
62 B
Prolog

$ swipl -g "writeln('hello world')." -t 'halt.'
hello world
$