2 ms·
OpenBSD is one of the platforms I tested the Hash Bang Null Hack on. ksh is being successfully run, and is able to read a line of the script and find the null
by kazinator 2y ago
OpenBSD is one of the platforms I tested the Hash Bang Null Hack on.
ksh is being successfully run, and is able to read a line of the script and find the null byte.
However, ksh rejecting it means we couldn't use the trick with ksh, like to get it to ignore a <CR> in the hash bang line of a script that has <CR><LF> line endings. (Something discussed in a sibling subthread, in regard to a Perl script that failed due to a trailing <CR> in the hash bang line.)