Native shebang: Difference between revisions

Content added Content deleted
(→‎{{header|C}}: add {{header|UNIX_shell}})
Line 22: Line 22:
'''File: script_gcc.c'''
'''File: script_gcc.c'''
<lang c>#!/usr/local/bin/script_gcc.sh
<lang c>#!/usr/local/bin/script_gcc.sh
/* Optional: this C code initially is-being/can-be boot strapped (compiled) using bash script_gcc.sh */
#include <errno.h>
#include <errno.h>
#include <libgen.h>
#include <libgen.h>
Line 31: Line 32:
#include <unistd.h>
#include <unistd.h>


/* the actual shebang for C targets is:
/* the actual shebang for C target scripts is:
#!/usr/local/bin/script_gcc.c
#!/usr/local/bin/script_gcc.c
*/
*/