[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: execution hook
From:       Bob Proulx <bob () proulx ! com>
Date:       2009-01-13 21:21:55
Message-ID: 20090113212155.GA20860 () dementia ! proulx ! com
[Download RAW message or body]

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.

Bob



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic