Hi,

I have a folder hook like this:

    folder-hook =somembox 'push "!touch /tmp/\1-touched\n"'

where I would like to create a file "/tmp/somebox-touched" when I select and
enter a mailbox. As you can see, \1 here should represent the name of the mbox
(as in many Regex). Is there a way to do this so that I do not have to write
rules for all the mbox one by one?

(actually I just want to pass as argument the name of a mbox to some external
shell command)


Regards,
Yubin

Reply via email to