commit bash-20080424 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:22:40 -05:00
parent adfe6c99d0
commit 245a493cfb
73 changed files with 105862 additions and 10429 deletions
+6 -1
View File
@@ -2301,7 +2301,12 @@ pathnames of executable files to avoid multiple @env{PATH} searches
(see the description of @code{hash} in @ref{Bourne Shell Builtins}).
A full search of the directories in @env{$PATH}
is performed only if the command is not found in the hash table.
If the search is unsuccessful, the shell prints an error
If the search is unsuccessful, the shell searches for a defined shell
function named @code{command_not_found_handle}.
If that function exists, it is invoked with the original command and
the original command's arguments as its arguments, and the function's
exit status becomes the exit status of the shell.
If that function is not defined, the shell prints an error
message and returns an exit status of 127.
@item