[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] How bash is hijacked to prompt useful help when the comm
From: |
Eric Blake |
Subject: |
Re: [Help-bash] How bash is hijacked to prompt useful help when the command is not found? |
Date: |
Sat, 31 Mar 2012 06:57:12 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120316 Thunderbird/11.0 |
On 03/31/2012 03:23 AM, Davide Brini wrote:
> On Sat, 31 Mar 2012 11:21:01 +0200, Geir Hauge <address@hidden> wrote:
>
>> 2012/3/31 Davide Brini <address@hidden>:
>>> declare -f | awk '/command_not_found_handle/,/^}/'
>>
>> declare -f command_not_found_handle
Simpler:
type command_not_found_handle
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature