On Fri, Oct 1, 2010 at 10:46 PM, Enrico Weigelt <weig...@metux.de> wrote: > \ > Therefore I'd like to pass all commands (within this script) > through some filter, which then can intercept them. Since I dont > know which commands might be called, simple alias won't suffice > here - so I need something that intercepts *all* commands and > do proper handling (emulate those which are known and give > error if one's still missing). >
check the DEBUG trap