At 3:49 PM -0700 8/21/08, Walt Pawley wrote:

>At 8:46 AM -0400 8/21/08, Steve Bertrand wrote:
>>- read email addresses from a file in the format:
>> TAB domain.tld
>>- convert it to:
>>- write it back to either a new file, the original file, or to STDOUT
>I'm curious why Perl isn't a decent choice. I think I'd do something like
>perl -pe 's/(.*?)\.(.*)\t.*/[EMAIL PROTECTED]/' input_file > output_file

Which is also wrong. It gets a bit closer to Steve's desires I
suspect if one adds the appropriate backslash ...

perl -pe 's/(.*?)\.(.*)\t.*/[EMAIL PROTECTED]/' input_file > output_file


Walter M. Pawley <[EMAIL PROTECTED]>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470
_______________________________________________ mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to