Shell one-liner: Difference between revisions

Frink
(Frink)
Line 262:
9
10
</pre>
 
=={{header|Frink}}==
Frink is distributed as a single <CODE>.jar</CODE> file that will run in a Java Virtual Machine. On many operating systems, just double-clicking this <CODE>.jar</CODE> file will run Frink with a graphical interface in an interactive mode. By specifying a different main-class (<CODE>frink.parser.Frink</CODE>) when starting Frink, it can be run in text-mode interactive mode as well. These options and sample starter scripts for various operating systems are provided in the [https://frinklang.org/#RunningFrink Running Frink] section of the documentation.
 
The <CODE>-e</CODE> command-line option executes a command or commands and prints its value.
 
<lang frink>$ frink -e "factorFlat[2^67-1]"</lang>
 
{{out}}
<pre>
[193707721, 761838257287]
</pre>
 
494

edits