On Wednesday, April 2, 2008 at 21:46:28 +0100, Chris Green wrote: >| mutt mutt-users@mutt.org > And the following lines in muttrc set up lists and subscribe >| lists `awk '!/^#/ {printf("%s ", $2)}' <~/.mutt/lists` >| subscribe `awk '!/^#/ {printf("%s ", $2)}' <~/.mutt/lists`
What about replacing both lines by a stricter single one: | subscribe `awk '!/^(#|$)/{gsub("\.", "\\\\\\\\.", $2); printf("^%s$ ", $2)}' < ~/.mutt/lists` This should give the perfect: | subscribe [EMAIL PROTECTED] Bye! Alain. -- « Be liberal in what you accept, and conservative in what you send. » Jon Postel / Robustness Principle / RFC 1122