Shell one-liner: Difference between revisions
→{{header|Phix}}
(add →Free Pascal: implementation using instantfpc) |
|||
Line 507:
<lang bash>$ perl6 -e 'say "Hello, world!"'
Hello, world!</lang>
=={{header|Phix}}==
Command line option -e added for 0.8.1. Outer quotes only rqd if snippet contains spaces, otherwise ignored. <br>
Most one-liners will probably start with '?' since eg "1+2" gives a compilation error.
<pre>
C:\Program Files (x86)\Phix>p -e ?357+452
809
C:\Program Files (x86)\Phix>p -e "?357+452"
809
</pre>
=={{header|PHP}}==
|