<?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 sed command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033421#M301780</link>
    <description>I need to delete all lines in a file that DON"T contain the string 'SMSA'.  Or alternatively, if I could just select all of the lines that contain 'SMSA' and output them to another file, that would be fine too.&lt;BR /&gt;&lt;BR /&gt;Can anyone help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Doug.</description>
    <pubDate>Fri, 06 Jul 2007 09:30:54 GMT</pubDate>
    <dc:creator>D Howe</dc:creator>
    <dc:date>2007-07-06T09:30:54Z</dc:date>
    <item>
      <title>sed command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033421#M301780</link>
      <description>I need to delete all lines in a file that DON"T contain the string 'SMSA'.  Or alternatively, if I could just select all of the lines that contain 'SMSA' and output them to another file, that would be fine too.&lt;BR /&gt;&lt;BR /&gt;Can anyone help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Doug.</description>
      <pubDate>Fri, 06 Jul 2007 09:30:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033421#M301780</guid>
      <dc:creator>D Howe</dc:creator>
      <dc:date>2007-07-06T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: sed command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033422#M301781</link>
      <description>Hey&lt;BR /&gt;&lt;BR /&gt;cat yourfilename | grep SMSA &amp;gt; newfile&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 06 Jul 2007 09:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033422#M301781</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-07-06T09:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: sed command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033423#M301782</link>
      <description>From "Handy One-Liners for Sed" (attached) &lt;BR /&gt;# print only lines which do NOT match regexp (emulates "grep -v")&lt;BR /&gt; sed -n '/regexp/!p'          # method 1, corresponds to above&lt;BR /&gt; sed '/regexp/d'              # method 2, simpler syntax&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 06 Jul 2007 09:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033423#M301782</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-07-06T09:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: sed command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033424#M301783</link>
      <description>Thanks guys.  Worked great.</description>
      <pubDate>Fri, 06 Jul 2007 10:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-command/m-p/4033424#M301783</guid>
      <dc:creator>D Howe</dc:creator>
      <dc:date>2007-07-06T10:01:35Z</dc:date>
    </item>
  </channel>
</rss>

