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

Re: global case insensitivity on hooks



Am 2007-11-14 11:21:52, schrieb Eric Smith:
> For example, I have the following hook,
> send-hook "~t `cat ~/recipients_list` "  'set signature=...
> 
> And I want the matching of everything in the recipients_list file
> to be case insensitive without having to specify each address in
> the file with a regex.

I have a small script which generate this "send-hook" file automaticly
so it build something like:

    send-hook "~t rec1"  "set signature=sig1"
    send-hook "~t rec2"  "set signature=sig1"
    send-hook "~t rec3"  "set signature=sig1"
    send-hook "~t rec4"  "set signature=sig2"
    send-hook "~t rec5"  "set signature=sig2"
    send-hook "~t rec6"  "set signature=sig2"
    send-hook "~t rec7"  "set signature=sig2"
    ...

Thanks, Greetings and nice Day
    Michelle Konzack
    Tamay Dogan Network
    Open Hardware Developer
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature