stank
stank copied to clipboard
Expand env logic
Strip leading /bin/env (SCO, Unicos, RHEL) just like /usr/bin/env.
https://web.archive.org/web/20170215070707/http://www.in-ulm.de/~mascheck/various/shebang/#details
(The archives advise against using env at all for portability, but I dare you to pratice shebangs across GNU Linux flavors without making good use of them!)