Bill Maas wrote:
I'm very sorry, but I obviously missed a crucial point here: the shell
_searches_ the PATH for an executable file to be sourced. I'm still not
convinced about the need for (and security of) such a feature, however..
POSIX.1:2004:
If file does not contain a slash, the shell shall use the search path
specified by PATH to find the directory containing file. Unlike normal
command search, however, the file searched for by the dot utility need
not be executable. If no readable file is found, a non-interactive shell
shall abort; an interactive shell shall write a diagnostic message to
standard error, but this condition shall not be considered a syntax error.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html