Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A better shebang #47

Open
yugr opened this issue May 14, 2019 · 1 comment
Open

A better shebang #47

yugr opened this issue May 14, 2019 · 1 comment

Comments

@yugr
Copy link

yugr commented May 14, 2019

A better "shebang" would be

///bin/true; /usr/bin/c "$0" "$*"; exit $?

as it would keep file compileable with normal gcc invocation. See example of this here (also discussion on StackOverflow).

@andy5995
Copy link

A better "shebang" would be

Agreed. I just tried it and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants