<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sendmail question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4689689#M658920</link>
    <description>Use of sendmail and bash implies Unix (wrong forum for that, this is the VMS forum and not the hot-bed of bash over here) and (if you have a Unix shell around) then a grep and maybe an awk might be the fastest way to extract the email addresses.  Pipe the results of that script off to a file and Bob's your uncle.&lt;BR /&gt;&lt;BR /&gt;Google finds the following for reading a file into an array&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.perlmonks.org/?node_id=19756" target="_blank"&gt;http://www.perlmonks.org/?node_id=19756&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.pageresource.com/cgirec/ptut14.htm" target="_blank"&gt;http://www.pageresource.com/cgirec/ptut14.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(and various other topics)&lt;BR /&gt;&lt;BR /&gt;Google finds various Perl regexp processing libraries around and I'd be floored if there wasn't a Perl module or three or five that could be used here.&lt;BR /&gt;&lt;BR /&gt;Here are some topics..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.cpan.org/~dcoppit/Mail-Mbox-MessageParser-1.5002/lib/Mail/Mbox/MessageParser/Perl.pm" target="_blank"&gt;http://search.cpan.org/~dcoppit/Mail-Mbox-MessageParser-1.5002/lib/Mail/Mbox/MessageParser/Perl.pm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html" target="_blank"&gt;http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://perl.goeszen.com/simple-mbox-email-reader-in-perl.html" target="_blank"&gt;http://perl.goeszen.com/simple-mbox-email-reader-in-perl.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I get (many) more hits for Google for:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.google.com/search?hl=en&amp;amp;q=perl+email+address++mbox" target="_blank"&gt;http://www.google.com/search?hl=en&amp;amp;q=perl+email+address++mbox&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Guessing that your mail is in mbox format with that Google query; that's common with various Unix platforms.&lt;BR /&gt;&lt;BR /&gt;Stack Overflow and other sites are also good spots if you're just learning Perl.&lt;BR /&gt;&lt;BR /&gt;And (of course) there are various books on Perl around.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://oreilly.com/perl/index.html" target="_blank"&gt;http://oreilly.com/perl/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Google being your BFF 4EVAH!!!  FTW LOL.  &lt;BR /&gt;&lt;BR /&gt;Ok, that was too much...  Sorry.  I'm back now.  :-)</description>
    <pubDate>Tue, 21 Sep 2010 20:52:53 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2010-09-21T20:52:53Z</dc:date>
    <item>
      <title>sendmail question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4689688#M658919</link>
      <description>I have a list of emails and first and last names in a file currently.  I want to put just the email addresses into an perl or bash array then loop through those email addresses.  I have no clue how to start this. Could someone just get me started please?</description>
      <pubDate>Tue, 21 Sep 2010 20:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4689688#M658919</guid>
      <dc:creator>ROSS HANSON</dc:creator>
      <dc:date>2010-09-21T20:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4689689#M658920</link>
      <description>Use of sendmail and bash implies Unix (wrong forum for that, this is the VMS forum and not the hot-bed of bash over here) and (if you have a Unix shell around) then a grep and maybe an awk might be the fastest way to extract the email addresses.  Pipe the results of that script off to a file and Bob's your uncle.&lt;BR /&gt;&lt;BR /&gt;Google finds the following for reading a file into an array&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.perlmonks.org/?node_id=19756" target="_blank"&gt;http://www.perlmonks.org/?node_id=19756&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.pageresource.com/cgirec/ptut14.htm" target="_blank"&gt;http://www.pageresource.com/cgirec/ptut14.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(and various other topics)&lt;BR /&gt;&lt;BR /&gt;Google finds various Perl regexp processing libraries around and I'd be floored if there wasn't a Perl module or three or five that could be used here.&lt;BR /&gt;&lt;BR /&gt;Here are some topics..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.cpan.org/~dcoppit/Mail-Mbox-MessageParser-1.5002/lib/Mail/Mbox/MessageParser/Perl.pm" target="_blank"&gt;http://search.cpan.org/~dcoppit/Mail-Mbox-MessageParser-1.5002/lib/Mail/Mbox/MessageParser/Perl.pm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html" target="_blank"&gt;http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://perl.goeszen.com/simple-mbox-email-reader-in-perl.html" target="_blank"&gt;http://perl.goeszen.com/simple-mbox-email-reader-in-perl.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I get (many) more hits for Google for:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.google.com/search?hl=en&amp;amp;q=perl+email+address++mbox" target="_blank"&gt;http://www.google.com/search?hl=en&amp;amp;q=perl+email+address++mbox&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Guessing that your mail is in mbox format with that Google query; that's common with various Unix platforms.&lt;BR /&gt;&lt;BR /&gt;Stack Overflow and other sites are also good spots if you're just learning Perl.&lt;BR /&gt;&lt;BR /&gt;And (of course) there are various books on Perl around.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://oreilly.com/perl/index.html" target="_blank"&gt;http://oreilly.com/perl/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Google being your BFF 4EVAH!!!  FTW LOL.  &lt;BR /&gt;&lt;BR /&gt;Ok, that was too much...  Sorry.  I'm back now.  :-)</description>
      <pubDate>Tue, 21 Sep 2010 20:52:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4689689#M658920</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-09-21T20:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4689690#M658921</link>
      <description>Sorry, I just saw the "scripting" title and away I went&lt;BR /&gt;Thanks for the links I will be busy reading</description>
      <pubDate>Tue, 21 Sep 2010 21:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-question/m-p/4689690#M658921</guid>
      <dc:creator>ROSS HANSON</dc:creator>
      <dc:date>2010-09-21T21:20:45Z</dc:date>
    </item>
  </channel>
</rss>

