<?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: More sed help. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/more-sed-help/m-p/2561469#M29418</link>
    <description>Hi Greg:&lt;BR /&gt;&lt;BR /&gt;Given the file as shown, call it "myfile", do:&lt;BR /&gt;&lt;BR /&gt;# sed '/Users on/q' myfile&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 03 Aug 2001 16:09:10 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-08-03T16:09:10Z</dc:date>
    <item>
      <title>More sed help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-sed-help/m-p/2561468#M29417</link>
      <description>Alright all you sed guru's out there, I have script that I need some help with.  What I want to do is look at file, find the first occurence of a pattern, "Users on", and send that line, and everything above it to an outpout file.&lt;BR /&gt;&lt;BR /&gt;Example before sed:&lt;BR /&gt;root:\cat infile&lt;BR /&gt;Test system&lt;BR /&gt;check users&lt;BR /&gt;Users on&lt;BR /&gt;jdoe&lt;BR /&gt;bclinton&lt;BR /&gt;Aborting&lt;BR /&gt;&lt;BR /&gt;Example after sed:&lt;BR /&gt;root:\cat outfile&lt;BR /&gt;Test system&lt;BR /&gt;check users&lt;BR /&gt;Users on</description>
      <pubDate>Fri, 03 Aug 2001 15:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-sed-help/m-p/2561468#M29417</guid>
      <dc:creator>Greg Stark_1</dc:creator>
      <dc:date>2001-08-03T15:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: More sed help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/more-sed-help/m-p/2561469#M29418</link>
      <description>Hi Greg:&lt;BR /&gt;&lt;BR /&gt;Given the file as shown, call it "myfile", do:&lt;BR /&gt;&lt;BR /&gt;# sed '/Users on/q' myfile&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 03 Aug 2001 16:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/more-sed-help/m-p/2561469#M29418</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-03T16:09:10Z</dc:date>
    </item>
  </channel>
</rss>

