<?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: Perl in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl/m-p/3627896#M817002</link>
    <description>How about-&lt;BR /&gt; &lt;BR /&gt;open(INP,"while(&lt;INP&gt;) {&lt;BR /&gt; chomp;&lt;BR /&gt; next unless /dat/;&lt;BR /&gt; @a=split('\s+',$_);&lt;BR /&gt; $a[8]=~s/\.dat//g;&lt;BR /&gt; $a[8]=~s/\return_*//g'&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills&lt;BR /&gt;&lt;/INP&gt;</description>
    <pubDate>Fri, 16 Sep 2005 10:12:38 GMT</pubDate>
    <dc:creator>Rodney Hills</dc:creator>
    <dc:date>2005-09-16T10:12:38Z</dc:date>
    <item>
      <title>Perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl/m-p/3627895#M817001</link>
      <description>I am trying to write some perl code to convert this into a strictly Perl script.&lt;BR /&gt;&lt;BR /&gt;Instead of using the system calls, is it possible to do this strictly in Perl without relying on sed and awk?&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;system "awk '/dat/ { print $9 }' /export/home/soglesby/gents_processed | sed 's/\.dat//g' | sed 's/\return_*//g'"&lt;BR /&gt;&lt;BR /&gt;How would I be able to do this without sed and&lt;BR /&gt;awk?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am not having much luck and cannot find&lt;BR /&gt;any examples in the book to do the equivalent</description>
      <pubDate>Fri, 16 Sep 2005 09:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl/m-p/3627895#M817001</guid>
      <dc:creator>Stephen_175</dc:creator>
      <dc:date>2005-09-16T09:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl/m-p/3627896#M817002</link>
      <description>How about-&lt;BR /&gt; &lt;BR /&gt;open(INP,"while(&lt;INP&gt;) {&lt;BR /&gt; chomp;&lt;BR /&gt; next unless /dat/;&lt;BR /&gt; @a=split('\s+',$_);&lt;BR /&gt; $a[8]=~s/\.dat//g;&lt;BR /&gt; $a[8]=~s/\return_*//g'&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills&lt;BR /&gt;&lt;/INP&gt;</description>
      <pubDate>Fri, 16 Sep 2005 10:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl/m-p/3627896#M817002</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-09-16T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Perl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl/m-p/3627897#M817003</link>
      <description>Thanks Rod, I'll try this and let you know.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Stef</description>
      <pubDate>Fri, 16 Sep 2005 10:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl/m-p/3627897#M817003</guid>
      <dc:creator>Stephen_175</dc:creator>
      <dc:date>2005-09-16T10:16:35Z</dc:date>
    </item>
  </channel>
</rss>

