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_
mething first, with ls as the argument. Does that make more sense? - http://www.s5h.net/ http://www.s5h.net/ -- View this message in context: http://www.nabble.com/execution-hook-tp21425515p21435288.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

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

execution hook

2009-01-12 Thread eneville_
Hi All, 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. -- View this message in context: http://www.nabble.com/execution-hook-tp21425515p21425515.html Sent from the