Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Kab1r
· 2y ago · 0 comments
This isn't POSIX compliant is it? I feel like I tried to do something different but trying to put arguments in a shebang and ran into trouble there a year or two ago.
Comments
[–]
cpuguy83
2y ago
It depends on the version of /usr/bin/env.
[–]
cerved
2y ago
I believe it's compliant but only in the sense that the end result is unspecified by POSIX.
I.e. you can't rely on this working on a POSIX compliant system
[–]
error9348
2y ago
Should be fine, you can even compile and run a C file using a shebang