<?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: data extraction in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891098#M846437</link>
    <description>Hi,&lt;BR /&gt;if the central "P-BC-0504-6041" string is embeded in double quotes, and these are the ones, you could try something very simple:&lt;BR /&gt;# awk -F"\"" '{print $2}'&lt;YOUR_INFILE&gt;&lt;/YOUR_INFILE&gt; &lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
    <pubDate>Tue, 15 Mar 2005 04:45:16 GMT</pubDate>
    <dc:creator>john korterman</dc:creator>
    <dc:date>2005-03-15T04:45:16Z</dc:date>
    <item>
      <title>data extraction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891097#M846436</link>
      <description>I have a data inside the file &lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;ED_ORDERNR&gt;"P-BC-0504-6041"&lt;/ED_ORDERNR&gt;&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;I need to get the 6041 number only.&lt;BR /&gt;&lt;BR /&gt;Can i accomplish this using awk or sed?&lt;BR /&gt;&lt;BR /&gt;Maximum points to all correct reply.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 04:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891097#M846436</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2005-03-15T04:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: data extraction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891098#M846437</link>
      <description>Hi,&lt;BR /&gt;if the central "P-BC-0504-6041" string is embeded in double quotes, and these are the ones, you could try something very simple:&lt;BR /&gt;# awk -F"\"" '{print $2}'&lt;YOUR_INFILE&gt;&lt;/YOUR_INFILE&gt; &lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Tue, 15 Mar 2005 04:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891098#M846437</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-03-15T04:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: data extraction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891099#M846438</link>
      <description>Fernando,&lt;BR /&gt;&lt;BR /&gt;cat data.file | cut -d'"' -f2 | cut -d'-' -f4&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 15 Mar 2005 05:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891099#M846438</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-03-15T05:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: data extraction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891100#M846439</link>
      <description>grep ED_ORDERNR FILENAME | sed "s/\(\&lt;ED_ORDERNR&gt;\"\)\(.*\)\-\(.*\)-\(.*\)-\(.*\)\(\"\&amp;lt;\/ED_ORDERNR\&amp;gt;\)/\5/" &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr&lt;/ED_ORDERNR&gt;</description>
      <pubDate>Tue, 15 Mar 2005 07:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891100#M846439</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-03-15T07:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: data extraction</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891101#M846440</link>
      <description>Many thanks to all!</description>
      <pubDate>Tue, 15 Mar 2005 19:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-extraction/m-p/4891101#M846440</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2005-03-15T19:08:57Z</dc:date>
    </item>
  </channel>
</rss>

