<?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 parsing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-parsing/m-p/2763996#M893489</link>
    <description>Hi Andi,&lt;BR /&gt;&lt;BR /&gt;you don't need perl for this, use simply the grep-command:&lt;BR /&gt;&lt;BR /&gt;grep 'test.com' input_file&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;grep -v 'test.com' input_file&lt;BR /&gt;&lt;BR /&gt;to get all lines which don't contain the string test.com&lt;BR /&gt;&lt;BR /&gt;You could also pipe the output of these commands to your perl-script.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
    <pubDate>Mon, 15 Jul 2002 15:24:26 GMT</pubDate>
    <dc:creator>Peter Kloetgen</dc:creator>
    <dc:date>2002-07-15T15:24:26Z</dc:date>
    <item>
      <title>perl parsing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-parsing/m-p/2763994#M893487</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;In some cases I will have to read the file and I will&lt;BR /&gt;encounter a line similar to the below.&lt;BR /&gt;"Test,Test (test,ex1)" &lt;TEST&gt;&lt;BR /&gt;&lt;BR /&gt;I will need to determine whether the line contains&lt;BR /&gt;..test.com. What is the best way to determine it?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;/TEST&gt;</description>
      <pubDate>Mon, 15 Jul 2002 15:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-parsing/m-p/2763994#M893487</guid>
      <dc:creator>andi_1</dc:creator>
      <dc:date>2002-07-15T15:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: perl parsing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-parsing/m-p/2763995#M893488</link>
      <description>&lt;BR /&gt;local $/ = undef;&lt;BR /&gt;open FIL, "&amp;lt; file";&lt;BR /&gt;&lt;FIL&gt; =~ m/\btest\.com\b/s or exit;&lt;/FIL&gt;</description>
      <pubDate>Mon, 15 Jul 2002 15:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-parsing/m-p/2763995#M893488</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-07-15T15:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: perl parsing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-parsing/m-p/2763996#M893489</link>
      <description>Hi Andi,&lt;BR /&gt;&lt;BR /&gt;you don't need perl for this, use simply the grep-command:&lt;BR /&gt;&lt;BR /&gt;grep 'test.com' input_file&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;grep -v 'test.com' input_file&lt;BR /&gt;&lt;BR /&gt;to get all lines which don't contain the string test.com&lt;BR /&gt;&lt;BR /&gt;You could also pipe the output of these commands to your perl-script.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 15 Jul 2002 15:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-parsing/m-p/2763996#M893489</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-07-15T15:24:26Z</dc:date>
    </item>
  </channel>
</rss>

