bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: higjacking commands


From: Andreas Schwab
Subject: Re: higjacking commands
Date: Fri, 01 Oct 2010 22:09:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Enrico Weigelt <weigelt@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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]