doc omission: . searches path

Gerben Vos <[email protected]> Sun, 20 Oct 2024 22:27:51 +0200
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
Hi all,

a small omission in the man page: it says: ". file: The commands in the 
specified file are read and executed by the shell."

However, dash only takes the specified file if it contains a '/'; if 
not, it searches $PATH for it (and errors if it is not found, even if 
the file exists in the current directory). The behaviour is fine, but 
this should be mentioned in the man page. The process is like the points 
1 and 2 under "Path Search" (but without checks for functions and 
builtins of course).

Cheers,
                                         Gerben Vos.