Using matched string in RHS save-hook

This is a discussion on Using matched string in RHS save-hook within the Mutt forums in Other Technologies category; Hello all, I would like to define a mutt save hook like this save-hook '^List-Id: <(.*)>' =lists/$MATCH[1] So, if I press 's', the message is saved in the folder that corresponds to the mailing list. Is this possible with mutt? Thank you, Johan...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-26-2008, 03:56 AM
Johan
Guest
 
Default Using matched string in RHS save-hook

Hello all,

I would like to define a mutt save hook like this

save-hook '^List-Id: <(.*)>' =lists/$MATCH[1]

So, if I press 's', the message is saved in the folder that
corresponds to the mailing list.

Is this possible with mutt?

Thank you,
Johan
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:51 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.