Code Golf: Code Golf: Difference between revisions
m
sh -> UNIX_Shell
MikarGibbros (talk | contribs) (added sh) |
MikarGibbros (talk | contribs) m (sh -> UNIX_Shell) |
||
Line 480:
Note: Run BASIC is an interpreter, it does not generate executables.
=={{header|
{{works with|bash}}
The directly executable source code is 14 bytes by using its script name instead of character literals:
<syntaxhighlight lang="sh">echo -n ${0:2}</syntaxhighlight>
To run:
|