Re: un-alternates?

2002-04-09 Thread David T-G

dgc --

...and then David Champion said...
% 
% * On 2002.04.06, in [EMAIL PROTECTED],
% * Rob 'Feztaa' Park [EMAIL PROTECTED] wrote:
%  Alas! David T-G spake thus:
...
%   % Use perl or python or egrep of emacs or some of the more modern vi
...
%   recall that egrep is *not* the same as mutt.
% 
% But can we assume that perl is the same? I don't believe that we can.

I don't know about that one; my recollection is that perl worked well
enough, but it wasn't my test at the time.

BTW, it seems that [^(lauratg)] does not work; group-replies to said
family broadcast messages suddenly come from this David T-G guy that mutt
doesn't recognize :-)


% That's the essence of the question; unfortunately it needs someone who's
% been paying attention to code evolution (or a C reader with way too much
% free time) to answer it.

Ouch.


% 
% Hmm -- or a quick hack that uses perl's regex.c. I'll get on that.

Why not a quick hack that uses mutt's, or whatever regex library mutt is
using?  I don't get the perl source bit...


% 
% -- 
%  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago


TIAagain  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26912/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-09 Thread David Champion

* On 2002.04.09, in [EMAIL PROTECTED],
*   David T-G [EMAIL PROTECTED] wrote:
 
 Why not a quick hack that uses mutt's, or whatever regex library mutt is
 using?  I don't get the perl source bit...

Oops. I did mean mutt's regex.c -- just a typo.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: un-alternates?

2002-04-09 Thread David T-G

dgc --

...and then David Champion said...
% 
% * On 2002.04.09, in [EMAIL PROTECTED],
% * David T-G [EMAIL PROTECTED] wrote:
%  
%  Why not a quick hack that uses mutt's, or whatever regex library mutt is
%  using?  I don't get the perl source bit...
% 
% Oops. I did mean mutt's regex.c -- just a typo.

Ah.  That makes more sense :-)  I eagerly await your contrib!


% 
% -- 
%  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26945/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-08 Thread David Champion

* On 2002.04.06, in [EMAIL PROTECTED],
*   Rob 'Feztaa' Park [EMAIL PROTECTED] wrote:
 Alas! David T-G spake thus:
  % Use perl or python or egrep of emacs or some of the more modern vi
  % clones etc.
  
  Agreed; a little perl one-liner was what I had in mind, since I vaguely
  recall that egrep is *not* the same as mutt.

But can we assume that perl is the same? I don't believe that we can.
That's the essence of the question; unfortunately it needs someone who's
been paying attention to code evolution (or a C reader with way too much
free time) to answer it.

Hmm -- or a quick hack that uses perl's regex.c. I'll get on that.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: un-alternates?

2002-04-08 Thread Rocco Rutte

Hi,

* David Champion [04/09/02 00:40:53 CEST] wrote:

[ regular expressions in mutt ]
 But can we assume that perl is the same?

Not until quite long test runs.

 I don't believe that we can.
 That's the essence of the question; unfortunately it needs someone who's
 been paying attention to code evolution (or a C reader with way too much
 free time) to answer it.

Yep. Maybe I'm missing something at this point, but why not grep 'mutt
-v' to find out what of kind of regexps used and use the same code to
produce a short parser for the contrib directory?

IMO, it would take less time to do that than to find some existing
software expected to behave as mutt does (without verification).

Cheers, Rocco.



msg26900/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-08 Thread Cameron Simpson

On 17:40 08 Apr 2002, David Champion [EMAIL PROTECTED] wrote:
|   Agreed; a little perl one-liner was what I had in mind, since I vaguely
|   recall that egrep is *not* the same as mutt.
| 
| But can we assume that perl is the same? I don't believe that we can.

No, but close enough to pick the common errors and give nice diagnostics.
--
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

The code was willing,
It considered your request,
But the chips were weak.
- Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html



Re: un-alternates?

2002-04-07 Thread Peter T. Abplanalp

On Sat, Apr 06, 2002 at 10:12:46PM -0700, Rob 'Feztaa' Park wrote:
 
 Here you go:
 
 while (STDIN)
 {
   if (m/the regex you are testing/)
   {
 print It matches!\n;
   }
   else
   {
 print It doesn't match!\n;
   }
 }

i would suggest you pass in both the regex and the email.  that way
you won't have to be editing the script all the time.  something like:

$regx = $ARGV[0];
$thingy = $ARGV[1];

if ( $thingy =~ m/$regx/ ) {
  print yes\n;
}
else {
  print no\n;
}

-- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu



msg26849/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-07 Thread David T-G

Rob --

...and then Feztaa said...
% 
% Alas! David T-G spake thus:
%  % Use perl or python or egrep of emacs or some of the more modern vi
%  % clones etc.
%  
%  Agreed; a little perl one-liner was what I had in mind, since I vaguely
%  recall that egrep is *not* the same as mutt.
% 
% Here you go:

[snip]

You call that a one-liner?  Good grief; who taught you how to count??

Thanks for the free code, though :-)


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26850/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-07 Thread Rob 'Feztaa' Park


--WChQLJJJfbwij+9x
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! David T-G spake thus:
 % Here you go:
=20
 [snip]
=20
 You call that a one-liner?  Good grief; who taught you how to count??

Why settle for a one liner when you can have something that gets the job
done? ;)

 Thanks for the free code, though :-)

Np, but you might want to substitue m/$ARGV[0]/ into the if statement,
so that way you can specify your regex on the commandline, and then just
type in a bunch of stuff into STDIN to test it ;)

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)

--WChQLJJJfbwij+9x
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8sJjZPTh2iSBKeccRApkaAJsHzqHfAEiuTxypMXw0Fhg7zozYYACfTdJz
tSgKxg9Q629MhC169reAiAI=
=HDyH
-END PGP SIGNATURE-

--WChQLJJJfbwij+9x--



Re: un-alternates?

2002-04-07 Thread Nicolas Rachinsky

* David T-G [EMAIL PROTECTED] [2002-04-07 10:37:45 -0500]:
 Rob --
 
 ...and then Feztaa said...
 % 
 % Alas! David T-G spake thus:
 %  % Use perl or python or egrep of emacs or some of the more modern vi
 %  % clones etc.
 %  
 %  Agreed; a little perl one-liner was what I had in mind, since I vaguely
 %  recall that egrep is *not* the same as mutt.
 % 
 % Here you go:
 
 [snip]
 
 You call that a one-liner?  Good grief; who taught you how to count??

perl -n -e 'print ((m/REGEX/)?It matches\n:It doesn\x27t match\n)'




Re: un-alternates?

2002-04-06 Thread David T-G

Rob --

...and then Feztaa said...
% 
% Alas! David T-G spake thus:

%  possibilities, is there a way to un-alternates a regexp?  Barring that,
...
%alternates=(!(^lauratg.*)@justpick)
...
% 
% Well, there's only one way to find out if that works ;)

No, there's AT LEAST one way.  A much easier way is to ask around :-)


% 
% If it doesn't, though, you might try this:
% 
% alternates=^[^l][^a][^u][^r][^a][^t][^g].*@justpick
% 
% Of course, that's kind of a bubble sort... ;)

Yeah.  Worse yet, it's not just Laura (I have the daughters, too, you
know), so that would get *really* ugly really fast.


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]
% --
% The only qualities for real success in journalism are ratlike cunning, a
% plausible manner and a little literary ability.  The capacity to steal
% other people's ideas and phrases ... is also invaluable.
%   -- Nicolas Tomalin, Stop the Press, I Want to Get On


TIA  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26823/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-06 Thread Rob 'Feztaa' Park


--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! David T-G spake thus:
 % Well, there's only one way to find out if that works ;)
=20
 No, there's AT LEAST one way.  A much easier way is to ask around :-)

Bah, the way you're doing it takes forever, though :P

 % If it doesn't, though, you might try this:
 %=20
 % alternates=3D^[^l][^a][^u][^r][^a][^t][^g].*@justpick
 %=20
 % Of course, that's kind of a bubble sort... ;)
=20
 Yeah.  Worse yet, it's not just Laura (I have the daughters, too, you
 know), so that would get *really* ugly really fast.

Well obviously the only solution here is to register a second domain and
tell your wife and kids that their new email address is
[EMAIL PROTECTED] (and whatever else for your kids), then the
'justpick' thing will only match your address again :)

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
If a thing's worth doing, it is worth doing badly.
-- G.K. Chesterton

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8r21GPTh2iSBKeccRAhX6AJ9FUJIuj0OIMhNLRFOCvjAasZqsKwCfe31f
9DK6BudTHVyxoqltf6XgfSE=
=+dyj
-END PGP SIGNATURE-

--y0ulUmNC+osPPQO6--



Re: un-alternates?

2002-04-06 Thread David T-G

David, et al --

...and then David Champion said...
% 
% * On 2002.04.06, in [EMAIL PROTECTED],
% * David T-G [EMAIL PROTECTED] wrote:
%  possibilities, is there a way to un-alternates a regexp?  Barring that,
%  can I specify that an entire string (lauratg) be not-matched in the
%  alternates line like
%  
%alternates=(!(^lauratg.*)@justpick)
% 
% I would try [^(lauratg)]@justpick, rather. But I don't know whether
% it would work.

Hmmm...  I'll give that a shot.  The idea is that the () makes the string
stay a string instead of just be single letters, right?


% 
% On a related note -- is mutt's regular expression code similar enough
% to something else that I can find or generate a standalone tool to test
% patterns without making up false mail messages? Would using the GNU
% regex package be equivalent, or are there significant changes to mutt's
% branch?

I'd love the answer to this, too, for the same bogus-messages reason as
well as not having to whip up a special muttrc and then find a folder
with a message to match...


% 
% -- 
%  -D.  [EMAIL PROTECTED]NSITUniversity of Chicago


TIA  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26825/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-06 Thread Rocco Rutte

Hi,

* Rob 'Feztaa' Park [04/06/02 23:48:54 CEST] wrote:
 Well obviously the only solution here is to register a second domain and
 tell your wife and kids that their new email address is
 [EMAIL PROTECTED] (and whatever else for your kids), then the
 'justpick' thing will only match your address again :)

Maybe he could use a script generating $alternates... but still would
look ugly.

But, by the way, I'm just wondering why mails for his wife and
daughter(s) end up in his mailbox. They acutally do because otherwise he
would not have asked for a solution...

Cheers, Rocco.



msg26826/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-06 Thread David T-G

Rocco --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% * Rob 'Feztaa' Park [04/06/02 23:48:54 CEST] wrote:
%  Well obviously the only solution here is to register a second domain and
%  tell your wife and kids that their new email address is
%  [EMAIL PROTECTED] (and whatever else for your kids), then the
%  'justpick' thing will only match your address again :)
% 
% Maybe he could use a script generating $alternates... but still would
% look ugly.

Yeah, that would be messy.  It would take it off of my hands, but I'd
still have to do a lot of manual configuration.


% 
% But, by the way, I'm just wondering why mails for his wife and
% daughter(s) end up in his mailbox. They acutally do because otherwise he
% would not have asked for a solution...

The girls' mail actually does end up in my mailbox, since I hold it for
them for now (they're 5 and almost-2, so they're not doing a lot of
surfing on their own yet), but Laura's is as you'd typically expect,
contrary to your hypothesis.  When a mail sent to all church members
or all family or such comes to me and is also addressed to her (so
a copy is in her mailbox, as expected), when I reply to all mutt not
only doesn't send a copy to me but also, because her address matches,
doesn't send to her, either.


% 
% Cheers, Rocco.




:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26827/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-06 Thread David T-G

Rob --

...and then Feztaa said...
% 
% Alas! David T-G spake thus:
%  
%  I'd love the answer to this, too, for the same bogus-messages reason as
%  well as not having to whip up a special muttrc and then find a folder
%  with a message to match...
% 
% I'm pretty sure I once saw somebody on this list asking for help with
% his regex's, mutt was saying there was an error but wouldn't say where.
% Then somebody else had tried to use the exact regex in either perl or

Right; I remember that (it was perl).


% sed (I forget), and that program said with greater clarity where the
% error in the regex was.
% 
% So try fooling with some sed regex's to get a working match, then use
% that in mutt.

Worth a shot; thanks.


% 
% I just had an idea, though -- David, what are all the email addresses
% you are working with here? If the ones you want all start with a certain

  [zero] [6:54pm] ~  grep altern .mutt/muttrcc
  set 
alternates=(^davidtg(pager|work|-.*|)|^dtg-bid|^choice(|(|-)consulting)|^c-cubed|^clasco(|(|-)properties)|^my_login)@((cyber(dude|junkie)|iname|poboxes|audiophile|bigfoot).com|sector13.org)|^david@(bae.uga.edu|coronaps.com)|[EMAIL PROTECTED]|[EMAIL PROTECTED]|justpickone

*grin*  I know it could be cleaned out -- I'm not at corona any more and
the foobarbaz address is dead -- and could probably be simplified, but
that's the lot for now.


% group of letters, and the ones you don't want all start with a certain
% group of letters, you could do this:
% 
% ^[letters].*@justpick

That's a start, until I set up lightning or mailwizard or queries or some
such.  Of course, this whole problem comes from being lazy in the first
place :-)


% 
% For example, your wife's email starts with l. Lets say for the sake of
% argument that your daughter's emails start with b and j. Lets also say

Actually, we have to worry about l,m,q,h,r (including the pets), and that
certainly means that root will have a problem.

Whoops; I forgot about mft, an account that gets little mail but which is
mine and not the kiddo's.  Another collision.  I suppose I should update
my $alternates, too.


% that the email addresses you want in your $alternates are davidtg, root,
% admin, and foobar. You could use this:
% 
% ^[darf].*@justpick

Yeah, that's not too bad.


% 
% Then you'd have something that matches your addresses and not your wife
% and kids addresses ;)

Yeah.


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]
% --
% As to house maintenance, does it involve problem solfing?  If so,
% your hacker can safely be left to deall with the panning (for the 
% musement value, if nothering ese).
%   -- Telsa Gwynne


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26834/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-06 Thread Cameron Simpson

On 12:32 06 Apr 2002, David T-G [EMAIL PROTECTED] wrote:
| I have a number of addresses here at my sites and it's quite convenient
| to simply put
| 
|   alternates=justpick
| 
| in my muttrc (well, there are some old bigfoot ones and such, too, but
| that's not the point).

How large a number?
Seriously, it it too painful to use:

(fred|nerk|fred.nerk|davidtg(-.*)?)@justpick

Cheers,
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

Serious error.
All shortcuts have disappeared.
Screen. Mind. Both are blank.
- Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html



Re: un-alternates?

2002-04-06 Thread David T-G

Cameron, et al --

...and then Cameron Simpson said...
% 
% On 12:32 06 Apr 2002, David T-G [EMAIL PROTECTED] wrote:
% | I have a number of addresses here at my sites and it's quite convenient
% | to simply put
% | 
% |   alternates=justpick
% | 
% | in my muttrc (well, there are some old bigfoot ones and such, too, but
% | that's not the point).
% 
% How large a number?

Not huge, but inconvenient.



% Seriously, it it too painful to use:
% 
%   (fred|nerk|fred.nerk|davidtg(-.*)?)@justpick

It's a bit painful; see my other reply to feztaa.  I haven't yet had a
chance to try dgc's regexp suggestion, which would do well in absence of
an un-alternates command, but would love to hear of a tested fix so that
I don't have to do as much work :-)


% 
% Cheers,
% -- 
% Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/
% 
% Serious error.
% All shortcuts have disappeared.
% Screen. Mind. Both are blank.
% - Haiku Error Messages http://www.salonmagazine.com/21st/chal/1998/02/10chal2.html


Thanks!

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26841/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-06 Thread David T-G

Cameron, et al --

...and then Cameron Simpson said...
% 
% On 16:21 06 Apr 2002, Rob 'Feztaa' Park [EMAIL PROTECTED] wrote:
...
% | Then somebody else had tried to use the exact regex in either perl or
...
% | So try fooling with some sed regex's to get a working match, then use
% | that in mutt.
% 
% Sed's actually a poor choice - it supports type one (for want of a
% better term) regexes, and substrings are demarked with \( and \) versus
% full regular expressions which use ( and ).

Right.


% 
% Use perl or python or egrep of emacs or some of the more modern vi
% clones etc.

Agreed; a little perl one-liner was what I had in mind, since I vaguely
recall that egrep is *not* the same as mutt.


% -- 
% Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/


Thanks!

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg26842/pgp0.pgp
Description: PGP signature


Re: un-alternates?

2002-04-06 Thread Cameron Simpson

On 19:00 06 Apr 2002, David T-G [EMAIL PROTECTED] wrote:
| % I just had an idea, though -- David, what are all the email addresses
| % you are working with here? If the ones you want all start with a certain
| 
|   [zero] [6:54pm] ~  grep altern .mutt/muttrcc
|   set 
|alternates=(^davidtg(pager|work|-.*|)|^dtg-bid|^choice(|(|-)consulting)|^c-cubed|^clasco(|(|-)properties)|^my_login)@((cyber(dude|junkie)|iname|poboxes|audiophile|bigfoot).com|sector13.org)|^david@(bae.uga.edu|coronaps.com)|[EMAIL PROTECTED]|[EMAIL PROTECTED]|justpickone

Ouch.

I must admit I don't bother with my more obsolete or just-weird addresses,
and just have:

set alternates = 
[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]

On the other hand, this has a much wider range:

% cd ~/rc/mail
% grep Personal cats*
cats.cisra:!attn   Personal[EMAIL PROTECTED]
cats.cisra:!attnPersonal[EMAIL PROTECTED]
cats.cisra:!attnPersonalsimpson
cats.cisra:!attnPersonalcamerons
cats.cisra:!attnPersonalcameronsimpson
cats.cisra:!attnPersonalcameron
cats.cisra:!attnPersonalcameron-depgp
cats.cisra:!attnPersonaldepgp-cameron
cats.cisra:!attnPersonalcs
cats.cisra:!attnPersonalCameron.Simpson
cats.cisra:!attnPersonal[EMAIL PROTECTED]
cats.cisra:!attnPersonal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]
cats.home:!attn Personal[EMAIL PROTECTED]

That's from my cats2procmailrc rulesets.

I just get almost all my email reference via the 4 addresses listed in my
alternates, so these others are way down in the noise.

Since I generally always to a group reply and and always eyeball the reply
list so generated, manually trimming at need, this works well for me.

| % For example, your wife's email starts with l. Lets say for the sake of
| % argument that your daughter's emails start with b and j. Lets also say
| 
| Actually, we have to worry about l,m,q,h,r (including the pets), and that
| certainly means that root will have a problem.

I don't consider root to be me, myself.  Especially at work, root
and postmaster go to a few of us, so I _don't_ trim it because I want
replies to such messages to copy to the rest of the group so we all know
which messages got replies and which are still pending. Or could I have
to live with getting my own email then, but that's not too bad.

| % that the email addresses you want in your $alternates are davidtg, root,
| % admin, and foobar. You could use this:
| % 
| % ^[darf].*@justpick
| 
| Yeah, that's not too bad.

I feel that for aesthetics' sake you should make yourself and alias called
waldo or something. Couldn't resist.

Cheers,
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

My computer always does exactly what I tell it to do but sometimes I have
trouble finding out what it was that I told it to do.
- Dick Wexelblat [EMAIL PROTECTED]



Re: un-alternates?

2002-04-06 Thread Rob 'Feztaa' Park


--s9fJI615cBHmzTOP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! David T-G spake thus:
 % Use perl or python or egrep of emacs or some of the more modern vi
 % clones etc.
=20
 Agreed; a little perl one-liner was what I had in mind, since I vaguely
 recall that egrep is *not* the same as mutt.

Here you go:

while (STDIN)
{
  if (m/the regex you are testing/)
  {
print It matches!\n;
  }
  else
  {
print It doesn't match!\n;
  }
}

Then just run that script, and type a bunch of stuff into it's STDIN
(email addresses in this case), and it will tell you if they match or
not.

Was that so hard? ;)

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Delta: We're Amtrak with wings.-- David Letterman

--s9fJI615cBHmzTOP
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8r9VOPTh2iSBKeccRAhKSAJ9KjNsWkOhv0wzjAW25Sc1qEuIPIACfckRT
Eh0xGfyMXBIGlvtM9HMhTcw=
=pxR/
-END PGP SIGNATURE-

--s9fJI615cBHmzTOP--