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
