Enrico Weigelt <weig...@metux.de> writes: > 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). > > Is there any way to do this easily ?
Try using the DEBUG trap. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."