Re:CGI with Awk on OpenBSD Httpd (2020)
by LeoPanthera on Tuesday May 04, 2021 @02:54PM
(#27041376)
You can use "#!/usr/bin/env awk" to make it universal, this works on all the BSDs and Linux. Works for bash and other interpreters too.
[ Parent
| on HN ]
I just wanted to point out typo. I'm aware of the env idiom, though that wouldn't work in the chroot environment described in the article. Short of also copying it to the chroot which would be a bit redundant.