help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Bash instrumentation


From: Eric Blake
Subject: Re: [Help-bash] Bash instrumentation
Date: Mon, 27 Jan 2014 11:43:14 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/26/2014 09:38 PM, Reuben Garrett wrote:

> My question is whether Bash exposes any hooks or other interfaces to
> facilitate an AOP-style before/after/around advice. 

You may want to look into the bashdb project, which exploits the hooks
that bash provides in order to provide a debugging session that can step
line-by-line through a shell script.  Those same hooks may be usable for
your goal.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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