Native shebang: Difference between revisions

Content added Content deleted
m (Make it so that all that is required is a custom shebangs at the start of the ''test case''. e.g. "#!/usr/local/bin/script_foo")
(a segmentation fault from script_gcc.sh)
Line 61: Line 61:
=={{header|C}}==
=={{header|C}}==
===Using gcc to script C===
===Using gcc to script C===
{{incorrect|C|[[Talk:Native shebang#Problems]]: "The C example doesn't work for me (unless a segmentation fault from script_gcc.sh can be described as "working" or a bad interpreter error from echo.c can be described as "working"). --Rdm" }}
'''File: script_gcc.c'''
'''File: script_gcc.c'''
<lang c>#!/usr/local/bin/script_gcc.sh
<lang c>#!/usr/local/bin/script_gcc.sh