<?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: pulling email from file via script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142719#M155779</link>
    <description>Actually, this is probably a little better&lt;BR /&gt; &lt;BR /&gt;perl -n -e 'print /.*\b([0-z]+@[0-z,.]+)/;print "\n"' testfile</description>
    <pubDate>Fri, 12 Dec 2003 03:35:17 GMT</pubDate>
    <dc:creator>Mark Grant</dc:creator>
    <dc:date>2003-12-12T03:35:17Z</dc:date>
    <item>
      <title>pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142706#M155766</link>
      <description>Does anyone have a quick and dirty script to pull out an email address from a file?&lt;BR /&gt;&lt;BR /&gt;I have a file with about 3000 lines with email addresses at various places in the lines and I want to just pull out the email address and put them in a file.&lt;BR /&gt;&lt;BR /&gt;The file looks like this:&lt;BR /&gt;&lt;BR /&gt;        &lt;AREJAYG&gt;; Tue, 9 Dec 2003 15:21:02 -0500&lt;BR /&gt;with SMTP id &amp;lt;0HPN00HGJ9OLLS@l-daemon&amp;gt; for Minden@shaw.ca; Tue,&lt;BR /&gt;(reason: 554 delivery error: dd This user doesn't have a swbell.net account (kar&lt;BR /&gt;iak@swbell.net) [-9] - mta825.mail.sc5.yahoo.com)&lt;BR /&gt;451 &lt;JWEIRDEYES&gt;... reply: read error from air-xj02.mail.aol.com.&lt;BR /&gt;5.1.0 - Unknown address error 550-'Invalid recipient: &lt;DDPHOTO&gt;'&lt;BR /&gt;5.1.0 - Unknown address error 550-'Invalid recipient: &lt;IIMIIJ&gt;'&lt;BR /&gt;550 5.0.0 &lt;FHUTSLER&gt;... Can't create output&lt;BR /&gt;550 5.0.0 &lt;LISAB&gt;... Can't create output&lt;BR /&gt;550 5.0.0 &lt;ROBBIEDUNCAN&gt;... Insufficient permission&lt;BR /&gt;550 5.1.1 &amp;lt;98c093@sirjamessmiths.cornwall.sch.uk&amp;gt;... User unknown&lt;BR /&gt;550 5.1.1 &lt;ASPROMATIS&gt;... User unknown&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want to have just the email address from each line, and can deal with the &amp;lt;, (, ... etc. myself.  So even if I ended up with &lt;BR /&gt;&lt;BR /&gt;&lt;ASPROMATIS&gt;... &lt;BR /&gt;&lt;ATEST&gt;&lt;BR /&gt;test@test.com&lt;BR /&gt;&lt;BR /&gt;in the file that would be ok.&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;&lt;BR /&gt;Sean&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/ATEST&gt;&lt;/ASPROMATIS&gt;&lt;/ASPROMATIS&gt;&lt;/ROBBIEDUNCAN&gt;&lt;/LISAB&gt;&lt;/FHUTSLER&gt;&lt;/IIMIIJ&gt;&lt;/DDPHOTO&gt;&lt;/JWEIRDEYES&gt;&lt;/AREJAYG&gt;</description>
      <pubDate>Thu, 11 Dec 2003 14:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142706#M155766</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2003-12-11T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142707#M155767</link>
      <description>Hi Sean,&lt;BR /&gt;&lt;BR /&gt;To filter only the lines that contains the e-mail address use,&lt;BR /&gt;&lt;BR /&gt;grep '\&amp;gt;@\&amp;lt;' filename&lt;BR /&gt;&lt;BR /&gt;-Karthik S S</description>
      <pubDate>Thu, 11 Dec 2003 15:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142707#M155767</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-12-11T15:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142708#M155768</link>
      <description>grep -i "@" &amp;lt; input_file|tr -d" " "\n"|tr -d "&amp;lt;" "\n"|tr -d "&amp;gt;" "\n"|grep -i "@"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 15:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142708#M155768</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-12-11T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142709#M155769</link>
      <description>Slight correction&lt;BR /&gt;&lt;BR /&gt;grep -i "@" &amp;lt; input_file|tr -d" " "\n"|tr -d "\&amp;lt;" "\n"|tr -d "\&amp;gt;" "\n"|grep -i "@"</description>
      <pubDate>Thu, 11 Dec 2003 15:06:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142709#M155769</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-12-11T15:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142710#M155770</link>
      <description>RAC, &lt;BR /&gt;&lt;BR /&gt;That doesn't work on my system:&lt;BR /&gt;&lt;BR /&gt;# cat fg3 |tr -d" " "\n"&lt;BR /&gt;tr: illegal option --&lt;BR /&gt;Usage: tr [ -c | -cds | -cs | -ds | -s ] [-A] String1 String2&lt;BR /&gt;       tr [ -cd | -cs | -d | -s ] [-A] String1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;running 11i.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 15:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142710#M155770</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2003-12-11T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142711#M155771</link>
      <description>A couple of things to mention.  The file already only has lines with @ in it, so no need to grep for that.&lt;BR /&gt;&lt;BR /&gt;And the email addresses are not always deliminated by &amp;lt;&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;I was wondering if there was any way to simply key in on the @ and then grab everything up to the white space both before and after the @ sign.&lt;BR /&gt;&lt;BR /&gt;Some lines may have more than one email address in them as well.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 15:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142711#M155771</guid>
      <dc:creator>Sean OB_1</dc:creator>
      <dc:date>2003-12-11T15:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142712#M155772</link>
      <description>Got it ....&lt;BR /&gt;&lt;BR /&gt;grep '\&amp;gt;@\&amp;lt;' filename | awk -F"&amp;lt;" '{print $2}' | awk -F"&amp;gt;" '{print $1}'&lt;BR /&gt;&lt;BR /&gt;Will extract exactly the mail IDs.&lt;BR /&gt;&lt;BR /&gt;Enjoy,&lt;BR /&gt;Karthik S S</description>
      <pubDate>Thu, 11 Dec 2003 15:41:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142712#M155772</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-12-11T15:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142713#M155773</link>
      <description>Sorry that I didn't read your post properly.&lt;BR /&gt;&lt;BR /&gt;A real dirty one. But works !!!&lt;BR /&gt;&lt;BR /&gt;for i in `cat filename`; do echo $i; done |grep @&lt;BR /&gt;&lt;BR /&gt;The output is,&lt;BR /&gt;&lt;BR /&gt;[root@lnxsrv tmp]# for i in `cat 123`; do echo $i; done |grep @&lt;BR /&gt;&lt;AREJAYG&gt;;&lt;BR /&gt;&amp;lt;0HPN00HGJ9OLLS@l-daemon&amp;gt;&lt;BR /&gt;Minden@shaw.ca;&lt;BR /&gt;iak@swbell.net)&lt;BR /&gt;&lt;JWEIRDEYES&gt;...&lt;BR /&gt;&lt;DDPHOTO&gt;'&lt;BR /&gt;&lt;IIMIIJ&gt;'&lt;BR /&gt;&lt;FHUTSLER&gt;...&lt;BR /&gt;&lt;LISAB&gt;...&lt;BR /&gt;&lt;ROBBIEDUNCAN&gt;...&lt;BR /&gt;&amp;lt;98c093@sirjamessmiths.cornwall.sch.uk&amp;gt;...&lt;BR /&gt;&lt;ASPROMATIS&gt;...&lt;BR /&gt;[root@lnxsrv tmp]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However you will have to remove &amp;lt;, &amp;gt;, and ...s.&lt;BR /&gt;&lt;BR /&gt;-Karthik S S&lt;/ASPROMATIS&gt;&lt;/ROBBIEDUNCAN&gt;&lt;/LISAB&gt;&lt;/FHUTSLER&gt;&lt;/IIMIIJ&gt;&lt;/DDPHOTO&gt;&lt;/JWEIRDEYES&gt;&lt;/AREJAYG&gt;</description>
      <pubDate>Thu, 11 Dec 2003 16:08:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142713#M155773</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-12-11T16:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142714#M155774</link>
      <description>In the above example the file "123" contained the following text (as in your first post)&lt;BR /&gt;&lt;BR /&gt;-----------------------------------&lt;BR /&gt;&lt;AREJAYG&gt;; Tue, 9 Dec 2003 15:21:02 -0500&lt;BR /&gt;with SMTP id &amp;lt;0HPN00HGJ9OLLS@l-daemon&amp;gt; for Minden@shaw.ca; Tue,&lt;BR /&gt;(reason: 554 delivery error: dd This user doesn't have a swbell.net account (kar&lt;BR /&gt;iak@swbell.net) [-9] - mta825.mail.sc5.yahoo.com)&lt;BR /&gt;451 &lt;JWEIRDEYES&gt;... reply: read error from air-xj02.mail.aol.com.&lt;BR /&gt;5.1.0 - Unknown address error 550-'Invalid recipient: &lt;DDPHOTO&gt;'&lt;BR /&gt;5.1.0 - Unknown address error 550-'Invalid recipient: &lt;IIMIIJ&gt;'&lt;BR /&gt;550 5.0.0 &lt;FHUTSLER&gt;... Can't create output&lt;BR /&gt;550 5.0.0 &lt;LISAB&gt;... Can't create output&lt;BR /&gt;550 5.0.0 &lt;ROBBIEDUNCAN&gt;... Insufficient permission&lt;BR /&gt;550 5.1.1 &amp;lt;98c093@sirjamessmiths.cornwall.sch.uk&amp;gt;... User unknown&lt;BR /&gt;550 5.1.1 &lt;ASPROMATIS&gt;... User unknown&lt;BR /&gt;&lt;BR /&gt;-----------------------------------&lt;BR /&gt;&lt;BR /&gt;-Karthik S S&lt;/ASPROMATIS&gt;&lt;/ROBBIEDUNCAN&gt;&lt;/LISAB&gt;&lt;/FHUTSLER&gt;&lt;/IIMIIJ&gt;&lt;/DDPHOTO&gt;&lt;/JWEIRDEYES&gt;&lt;/AREJAYG&gt;</description>
      <pubDate>Thu, 11 Dec 2003 16:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142714#M155774</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-12-11T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142715#M155775</link>
      <description>Hi Sean,&lt;BR /&gt;&lt;BR /&gt;try this:&lt;BR /&gt;while read LINE&lt;BR /&gt;do&lt;BR /&gt;  EMAIL=`expr "${LINE}" : ".*&amp;lt;\([0-9,a-z,A-Z,.]*@[0-9,a-z,A-Z,.]*\)&amp;gt;.*"`&lt;BR /&gt;  echo ${EMAIL}&lt;BR /&gt;done &amp;lt; file&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 16:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142715#M155775</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-12-11T16:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142716#M155776</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;That was a nice script but it seems to be missing out few e-mail IDs.&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------&lt;BR /&gt;[root@lnxsrv tmp]# while read LINE; do EMAIL=`expr "${LINE}" : ".*&amp;lt;\([0-9,a&lt;BR /&gt;-z,A-Z,.]*@[0-9,a-z,A-Z,.]*\)&amp;gt;.*"`; echo ${EMAIL}; done &amp;lt; file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;jweirdeyes@wmconnect.com&lt;BR /&gt;ddphoto@sympatico.ca&lt;BR /&gt;iimiij@sympatico.ca&lt;BR /&gt;fhutsler@mbox1.greenapple.com&lt;BR /&gt;lisab@netrover.com&lt;BR /&gt;robbieduncan@optusnet.com.au&lt;BR /&gt;98c093@sirjamessmiths.cornwall.sch.uk&lt;BR /&gt;ASPROMATIS@RHO.FORTHNET.GR&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;[root@lnxsrv tmp]# for i in `cat file`; do echo $i; done |grep @&lt;BR /&gt;arejayg@msys.net&amp;gt;;&lt;BR /&gt;&amp;lt;0HPN00HGJ9OLLS@l-daemon&amp;gt;&lt;BR /&gt;Minden@shaw.ca;&lt;BR /&gt;iak@swbell.net)&lt;BR /&gt;&lt;JWEIRDEYES&gt;...&lt;BR /&gt;&lt;DDPHOTO&gt;'&lt;BR /&gt;&lt;IIMIIJ&gt;'&lt;BR /&gt;&lt;FHUTSLER&gt;...&lt;BR /&gt;&lt;LISAB&gt;...&lt;BR /&gt;&lt;ROBBIEDUNCAN&gt;...&lt;BR /&gt;&amp;lt;98c093@sirjamessmiths.cornwall.sch.uk&amp;gt;...&lt;BR /&gt;&lt;ASPROMATIS&gt;...&lt;BR /&gt;[root@lnxsrv tmp]#&lt;BR /&gt;-------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;For instance iak@swbell.net is not listed in the o/p of your script.&lt;BR /&gt;&lt;BR /&gt;-Karthik S S&lt;/ASPROMATIS&gt;&lt;/ROBBIEDUNCAN&gt;&lt;/LISAB&gt;&lt;/FHUTSLER&gt;&lt;/IIMIIJ&gt;&lt;/DDPHOTO&gt;&lt;/JWEIRDEYES&gt;</description>
      <pubDate>Thu, 11 Dec 2003 16:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142716#M155776</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2003-12-11T16:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142717#M155777</link>
      <description>Hi Sean,&lt;BR /&gt;how about this approach:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# carve out emailad&lt;BR /&gt;while read LINE&lt;BR /&gt;do&lt;BR /&gt;CUT_END=$(echo ${LINE#*@)&lt;BR /&gt;CUT_END=$(echo "$CUT_END"|awk '{print $1}')&lt;BR /&gt;CUT_BEGIN=$(echo ${LINE%%@*)&lt;BR /&gt;CUT_BEGIN=$(echo "$CUT_BEGIN"|awk '{print $NF}')&lt;BR /&gt;echo "${CUT_BEGIN}@${CUT_END}"&lt;BR /&gt;done &amp;lt;$1&lt;BR /&gt;&lt;BR /&gt;with your input file as $1.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Fri, 12 Dec 2003 03:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142717#M155777</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2003-12-12T03:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142718#M155778</link>
      <description>Does this work?&lt;BR /&gt; &lt;BR /&gt;perl -n -e 'print /.*\b(.+@[A-z,.]+)/;print "\n"' testfile</description>
      <pubDate>Fri, 12 Dec 2003 03:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142718#M155778</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-12T03:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142719#M155779</link>
      <description>Actually, this is probably a little better&lt;BR /&gt; &lt;BR /&gt;perl -n -e 'print /.*\b([0-z]+@[0-z,.]+)/;print "\n"' testfile</description>
      <pubDate>Fri, 12 Dec 2003 03:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142719#M155779</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-12T03:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142720#M155780</link>
      <description>As long as there is only 1 mail address on a line:&lt;BR /&gt;&lt;BR /&gt;sed -n 's|^.*&amp;lt;\(.*@.*\..*\)&amp;gt;.*$|\1|p' &lt;FILE&gt;&lt;/FILE&gt;&lt;BR /&gt;A mail address need to be enclosed in the brackets and needs at least 1 dot after the @&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Dec 2003 04:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142720#M155780</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-12T04:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142721#M155781</link>
      <description>Hi Karthik,&lt;BR /&gt;&lt;BR /&gt;yes, you are right, I overlooked that emails could be enclosed by (.&lt;BR /&gt;This should fix it.&lt;BR /&gt;&lt;BR /&gt;have fun,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Dec 2003 04:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142721#M155781</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2003-12-12T04:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: pulling email from file via script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142722#M155782</link>
      <description>Solution for mail addresses not enclosed in the brackets:&lt;BR /&gt;sed -n 's|^.* \([^ ]*@[^ ]*\.[^ ]*\) .*$|\1|p'&lt;BR /&gt;&lt;BR /&gt;This only relies now on the mail address being enclosed by spaces... So brackets etc. will be printed too.</description>
      <pubDate>Fri, 12 Dec 2003 04:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pulling-email-from-file-via-script/m-p/3142722#M155782</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-12T04:10:34Z</dc:date>
    </item>
  </channel>
</rss>

