Re: execution hook

2009-01-13 Thread Bob Proulx
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

Re: execution hook

2009-01-13 Thread Chet Ramey
> I was looking for a way to run a program prior to bash executing the > program. Does anyone know of a hook that can do this, such as an environment > that hold this hook value. The closest you're going to be able to get is the DEBUG trap. Chet -- ``The lyf so short, the craft so long to lerne

Re: execution hook

2009-01-13 Thread eneville_
Bob Proulx wrote: > > eneville_ wrote: >> I was looking for a way to run a program prior to bash executing the >> program. Does anyone know of a hook that can do this, such as an >> environment >> that hold this hook value. > > Look at the documentation for BASH_ENV in the bash manual. > >

Re: execution hook

2009-01-12 Thread Bob Proulx
eneville_ wrote: > I was looking for a way to run a program prior to bash executing the > program. Does anyone know of a hook that can do this, such as an environment > that hold this hook value. Look at the documentation for BASH_ENV in the bash manual. When bash is started non-intera