Bob Bell <[EMAIL PROTECTED]> wrote on Mon, 09 Oct 2000:
> I'm hoping someone can figure out how to properly quote my signature
> setting.  Briefly, I want to set signature to a program, files in a
> directory as arguments, and finally a '|' to read the output of the
> program.

...

> set signature='sigmaker.pl ~/.quotes/*|'

...

> Any suggestions?

Try something like this:

  set signature="sigmaker.pl `echo ~/.quotes/*` |"

However, this will only expand the list of quotes when your .muttrc is
read, it won't dynamically update it if you add or remove files to/from
the directory.

If you want that, then you need to create a shell-script which does the
expansion for you, and call that from $signature instead.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
The required OS was Windows 95 or better, so I installed Linux.

Reply via email to