logoalt Hacker News

jonhohleyesterday at 12:30 AM1 replyview on HN

That’s interesting. I wonder when that changed. Maybe FreeBSD supports multi arg shebangs now, too


Replies

shaknayesterday at 2:34 AM

The -S argument to env splits the argument on whitespace.

The shell doesn't support anything, it just passes the string to env.

So beware quoting and other delimiters that won't work the way you expect.