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

4 lines
59 B
INI

$ gprolog --init-goal "write('goodbye'),nl,halt"
goodbye
$