<?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: pharser lines in file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/pharser-lines-in-file/m-p/5102178#M90944</link>
    <description>thanks , excelent!!!</description>
    <pubDate>Tue, 08 Apr 2008 18:56:20 GMT</pubDate>
    <dc:creator>Jairo Campana</dc:creator>
    <dc:date>2008-04-08T18:56:20Z</dc:date>
    <item>
      <title>pharser lines in file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pharser-lines-in-file/m-p/5102176#M90942</link>
      <description>Hi , I have this file contains:&lt;BR /&gt;&lt;BR /&gt;portState: 1    Online&lt;BR /&gt;portPhys:  6    In_Sync&lt;BR /&gt;portScn:   32   F_Port&lt;BR /&gt;port generation number:    700&lt;BR /&gt;portId:    335700&lt;BR /&gt;portIfId:    43820035&lt;BR /&gt;portWwn:   20:57:00:05:1e:36:0c:ac&lt;BR /&gt;portWwn of device(s) connected: &lt;BR /&gt;        10:00:00:00:c9:38:3e:59&lt;BR /&gt;&lt;BR /&gt;I need extract for pattern portWwn , the folloging lines :&lt;BR /&gt;&lt;BR /&gt;10:00:00:00:c9:38:3e:59&lt;BR /&gt;&lt;BR /&gt;and the port this  a state :Online&lt;BR /&gt;&lt;BR /&gt;my script contain.&lt;BR /&gt;awk 'NR &amp;gt; 5 {if ($3=="Online") {print "StatusPort", $3}}' stat</description>
      <pubDate>Tue, 08 Apr 2008 18:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pharser-lines-in-file/m-p/5102176#M90942</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2008-04-08T18:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: pharser lines in file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pharser-lines-in-file/m-p/5102177#M90943</link>
      <description>Hi Jairo:&lt;BR /&gt;&lt;BR /&gt;Based on the data you show:&lt;BR /&gt;&lt;BR /&gt;# awk '/port.*connected/ {getline;print};{if ($3=="Online") {print "StatusPort", $3}}' file&lt;BR /&gt;&lt;BR /&gt;StatusPort Online&lt;BR /&gt;10:00:00:00:c9:38:3e:59&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 08 Apr 2008 18:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pharser-lines-in-file/m-p/5102177#M90943</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-08T18:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: pharser lines in file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/pharser-lines-in-file/m-p/5102178#M90944</link>
      <description>thanks , excelent!!!</description>
      <pubDate>Tue, 08 Apr 2008 18:56:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/pharser-lines-in-file/m-p/5102178#M90944</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2008-04-08T18:56:20Z</dc:date>
    </item>
  </channel>
</rss>

