Anonymous user
Native shebang: Difference between revisions
m
→{{header|UNIX Shell}}: misc
m (→{{header|UNIX Shell}}: misc) |
|||
Line 177:
{{works with|Bourne Again SHell}}
Note: this '''Native shebang''' task does not exactly apply to [[bash]] because is interpretive, but as a skeleton template the following script is an example of how compiled languages can implement the shebang. Also: this bash code can be used to ''automatically'' compile the C code in /usr/local/bin/script_gcc.c above.
'''File: script_gcc.sh'''
<lang bash>#!/bin/bash
|