Fair, though most of that is the fact that it has --help output and also that the same source covers both true and false. But yeah.
Edit: I was wrong, it is actually GNU 'yes': https://www.teddit.net/r/unix/comments/6gxduc/how_is_gnu_yes...
[1] Which is a valid assumption, as it's often the default (not sure if it's POSIX[2]), e.g. this gets clearly executed by my shell despite not having a shebang or anything else:
echo 'echo $SHELL' > /tmp/foo; chmod +x /tmp/foo; /tmp/foo
[2] Edit: It is POSIX, I know now because there's a whole subthread about it further down, that even quotes the standard, thanks gnarula.> write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
So the empty file is not exec()able. I think it can only be invoked from a shell.
subprocess.call("/tmp/foo", shell=xxxx) demonstrates it.
I wonder if that was the case for Unix v7 that had it zero length? (...mentioned in another thread.)