doc omission: . searches path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux