On Mon, 7 Jan 2002, Binand Raj S. wrote: > For scripts that depend upon '@' to extract mail ids, I suggest the > regex in the following command: > > grep <.*@[^>]*> /var/spool/mail/binand
Anyone who's read Mastering Regular Expressions (Jeffrey Friedl) knows that the correct regex to match an email address is about 7000+ bytes long. There is a shorter version (4000+ bytes), but it is slower. It is not reccommended to enter either by hand. The standard perl Mail/SMTP modules will do it for you. -- Adding features does not necessarily increase functionality -- it just makes the manuals thicker. _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
