Native shebang: Difference between revisions
Content added Content deleted
m (→{{header|zkl}}: text) |
(REXX) |
||
Line 689: | Line 689: | ||
hello</pre> |
hello</pre> |
||
(although it's hard to prove) |
(although it's hard to prove) |
||
=={{header|REXX}}== |
|||
===Unix shebang=== |
|||
Using e.g. Regina open source REXX interpreter |
|||
<lang rexx> |
|||
#!/usr/local/bin/regina |
|||
/* Echo the command line argument */ |
|||
say arg(1) |
|||
</lang> |
|||
===ARexx=== |
|||
Under AmigaOS, the obligatory REXX starting comment /* is recognised as a shebang of its own, automatically causing the file to be parsed by ARexx as long as the file's script flag is set. |
|||
<lang rexx> |
|||
/* Echo the command line argument */ |
|||
say arg(1) |
|||
</lang> |
|||
=={{header|Ruby}}== |
=={{header|Ruby}}== |