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
signature.asc Description: OpenPGP digital signature