On 3/8/23 1:33 PM, Moshe Looks wrote:
Bash Version: 5.1
Patch Level: 16
Release Status: release
Description:
When PATH is empty, the command_not_found_handle function is not
called when a command is not found.
I agree that bash should do a path search in the current directory when
PATH is the empty string, so I'll revert the change from 1994 and do that.
When PATH is unset, there's no path search, and no `not finding' the
command -- you just try to exec something in the current directory (or
you don't -- behavior varies among shells).
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/