* doc omission: . searches path
@ 2024-10-20 20:27 Gerben Vos
0 siblings, 0 replies; only message in thread
From: Gerben Vos @ 2024-10-20 20:27 UTC (permalink / raw)
To: dash
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-20 20:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-20 20:27 doc omission: . searches path Gerben Vos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox