On Thu, Jul 12, 2007 at 03:41:38PM +1000, Scott Smedley wrote:
> I need confirmation I'm not crazy.
> 
> This works ok (substitute rxvt for xterm if appropriate):
> 
> AddToFunc fn I Exec exec rxvt $*
> fn -e sleep 4
> 
> this is ok too:
> 
> AddToFunc fn3 I Test (x rxvt) Exec exec rxvt $*
> fn3 -e sleep 4
> 
> but this isn't:
> 
> AddToFunc fn2
> Test (x rxvt) + I Exec exec rxvt $*
> fn2 -e sleep 4

The Test command expands the $* when it is executed.  Try

  Test (x rxvt) + I Exec exec rxvt $$*
                                  ^^^^

> (it starts up an interactive shell, instead of sleeping & exiting)
> 
> Am I missing something? or am I going to have to use the source?

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, dominik.vogt (at) gmx.de

Attachment: signature.asc
Description: Digital signature

Reply via email to