bug-bash
[Top][All Lists]
Advanced

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

Re: command_not_found_handle not called if "command" includes a slash


From: Jan Schampera
Subject: Re: command_not_found_handle not called if "command" includes a slash
Date: Tue, 29 Dec 2009 23:39:54 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)

Ken Irving schrieb:

> That's up to that function to determine, since bash passes control over
> to it.  It should be able to handle whatever it gets.  My use case is
> to take things that look like 'object.method' -- which are not likely
> to collide with normal executables -- and run them under a special handler.
> That handler emits an error message and exit code if it can't make sense
> of its argument.

Yea okay, I just wondered. Of course it's up to the coder. Never mind :)

Jan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]