|
|
|
|
|
by tomjakubowski
2225 days ago
|
|
That shebang is appealing but unfortunately more than one argument (past the initial command name) in a shebang is unportable: some OSes will coalesce the extra arguments into one, others make them separate arguments. There's also a special bonus papercut you might hit when /usr/bin/env is in the shebang with extra arguments: an infinite loop! Sorry for the plug: I wrote about it here. https://www.crystae.net/posts/2019/11/08/two-shebang-papercu... |
|