doc omission: . searches path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: doc omission: . searches path
- From: Gerben Vos <gpvos@xxxxxxxxx>
- Date: Sun, 20 Oct 2024 22:27:51 +0200
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]