Standard Shell Exceptions

Pathname of $0

POSIX Standard, section 3.9.1.1, line 779-784.

GNU Exception:

Sourcing non-executable files