Real Dumb Shell Script Question

(OK, NO ONE say “there is no dumb questions.” This is dumb.)

For some reason on some of my shell scripts I use with my Xojo programs, installed with PackageMaker and PM running the shell scripts, I put a space between the first exclamation mark and the first slash. Like

#! /bin/sh instead of #!/bin/sh

PM suppresses any script errors. Would you think the script ran or is it likely that it doesn’t?

we’ll I would expect it did BUT its certainly possible it didn’t use the interpreter you indicated

most shell scripts start with #!interpretterpath
with NO space (i.e. #!/bin/sh)
but I’ll be damned if I can find any thing that says they MUST NOT have a space