Re: Regex question

2002-03-10 Thread fliptop
Scot Robnett wrote: Hey y'all, I got over my brain cramp and thought I'd share with the group in case it helps anyone trying to do something similar. I was making it way too complicated. All I needed was: if($email !~ /\w+@\w+\.\w{2,4}/) { # error stuff here } have you considered

Re: Regex question

2002-03-10 Thread Rene Verharen
At 10-3-2002 09:36 -0500, fliptop wrote: Hey y'all, I got over my brain cramp and thought I'd share with the group in case it helps anyone trying to do something similar. I was making it way too complicated. All I needed was: if($email !~ /\w+@\w+\.\w{2,4}/) { # error stuff here } have you

RE: Regex question

2002-03-10 Thread Scot Robnett
I don't think you can check for the existence of an e-mail address without actually attempting to send mail to it. You can ping or traceroute a domain, but only the mail server associated with it knows if the username is valid or not. If this is wrong, somebody with information please reply to

Re: changing the defualt nobody@somecomputer.com (mailx)

2002-03-10 Thread Rob Roudebush
I'm using mailx from within a script, so I can't use it interactively open (MFH, | mailx -s 'Subject' [EMAIL PROTECTED]) print MFH end; blah blah blah... end close MFH; Should I just be using mail? Do you know what the switch or option is for From: someoneelse? Rob Helmer [EMAIL PROTECTED]