"`tabbed -d > /tmp/tabbed.xid`; vimprobable2 -e `cat /tmp/tabbed.xid`"
I am then able to send all new instances of vimprobable to tabbed (and not have a new master window open), in other apps, eg., mutt, by:
vimprobable2 -e $(cat /tmp/tabbed.xid) %s
I would like to achieve the same thing in Urxvt.
.Xdefaults contains the matcher arguments:
URxvt.perl-ext-common: default,matcher URxvt.urlLauncher: vimprobable2 URxvt.matcher.button: 1
I have changed the launcher line to point at a wrapper script:
Which is just:
vimprobable2 -e $(cat /tmp/tabbed.xid) %s &
but this just opens a browser instance in tabbed with the default search engine result for
%s if I remove the ampersand).
I have tried with other obvious variables, like
"$@" - they don't work either.
How do I pass the URL to the wrapper script?
 This also feels like a useless use of cat, so alternative suggestions would be welcome