On Tue, Nov 20, 2018 at 2:03 PM Harald van Dijk <harald@xxxxxxxxxxx> wrote: > It's not specified directly, but if the shell attempts to execute a file > that execl() rejects with ENOEXEC, and the file is a text file that does > not start with #!, the standard requires it to be interpreted as a shell > script. An empty file is a valid text file, so must be treated as an > empty shell script. Thanks for the explanation! - Dan