> when I discovered Go could do the same
Can you explain more? Is it this - https://stackoverflow.com/questions/7707178/whats-the-approp... ?
Can you explain more? Is it this - https://stackoverflow.com/questions/7707178/whats-the-approp... ?
#!/usr/bin/env -S go run
I'm not sure if/when go ignores a shebang on the first line... otherwise, there are a bunch of articles I've seen that have a slightly differing format to do the same.. but google results feel off/old.searched for: go shebang scripts
shebang is the term for a text/script file beginning with "#!" with the executable and parameters to run.