much easier just to use pg
/*usr/bin/env echo 'Hello World!' #*/
Even if, for some reason, there are multiple `usr` folders, the use of `env` means it will eventually call the executable.As for getting rid of the shebang - swapping the ! with a / means that the line and character counts don't change so you get meaningful error messages.
"$0".bin: -c: line 0: unexpected EOF while looking for matching `''
"$0".bin: -c: line 1: syntax error: unexpected end of fileAt a certain scale, K8s is the simple option.
I think much of the hate on HN comes from the "ruby on rails is all you need" crowd.