<<< Date Index >>>     <<< Thread Index >>>

backticks in muttrc



I receive emails with subjects like:
    Subject: [General Discussion] stuff
and I want to save it (save-hook) to a folder "General Discussion".
This command should work:

fcc-save-hook "~s (.*)" =`perl -e '$_="%s"; s/\[([A-Za-z0-9 _]+)\].*/$1/; 
print;'`

but it does not.  I have tried many, many variations but it does not
work.  What about backtick evaluation is preventing this from working,
and how can I make it work?

Thanks,
Bob McElrath [Univ. of California at Davis, Department of Physics]

Attachment: signature.asc
Description: Digital signature