[Top][All Lists]

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

Re: execution hook

From: Bob Proulx
Subject: Re: execution hook
Date: Tue, 13 Jan 2009 14:21:55 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

eneville_ wrote:
> Bob Proulx wrote:
> > Look at the documentation for BASH_ENV in the bash manual.
> Thanks. But this isn't having the effect that I wished for.
> What I'm hoping to achieve is to have bash run something like a wrapper
> around each and every command line that I run.
> For example, if I issue the command 'ls' I want bash to run something first,
> with ls as the argument. Does that make more sense?

Oh!  I had read it as "program" == "bash script" and running a command
before every program/bash-script was run.

Chet's pointer to DEBUG is best then.


reply via email to

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