<?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: awk and print certain lines in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717732#M721837</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;awk 'NR &amp;gt;= 746 &amp;amp;&amp;amp; NR &amp;lt;= 1000' filename&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;&lt;BR /&gt;head -1000 filename | tail +746&lt;BR /&gt;&lt;BR /&gt;will work&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Suhas&lt;BR /&gt;</description>
    <pubDate>Mon, 27 May 2002 06:33:11 GMT</pubDate>
    <dc:creator>Suhas_3</dc:creator>
    <dc:date>2002-05-27T06:33:11Z</dc:date>
    <item>
      <title>awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717725#M721830</link>
      <description>how to use awk to print lines starting from 746&lt;BR /&gt;upto 1000 from a text file, the file is 2000 lines. please send answer directly to&lt;BR /&gt;fafeef@alfaisaliah.com</description>
      <pubDate>Mon, 06 May 2002 13:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717725#M721830</guid>
      <dc:creator>Ahmed ABDOU_1</dc:creator>
      <dc:date>2002-05-06T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717726#M721831</link>
      <description>Mohmmed,&lt;BR /&gt;&lt;BR /&gt;Replies should be posted to the forums not direcly by email. This is so everyone can see the Resolution to the problem, not just you.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Yates&lt;BR /&gt;</description>
      <pubDate>Mon, 06 May 2002 13:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717726#M721831</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-05-06T13:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717727#M721832</link>
      <description>Mohmmed,&lt;BR /&gt;&lt;BR /&gt;I would use sed to that job for me.&lt;BR /&gt;&lt;BR /&gt;sed -n '746,1000p' yourfile&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 06 May 2002 14:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717727#M721832</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-05-06T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717728#M721833</link>
      <description>That's quite simple:&lt;BR /&gt;&lt;BR /&gt;awk '{if (NR &amp;gt;= 746 &amp;amp;&amp;amp; NR &amp;lt;= 1000) print $0}' &amp;lt; myfile&lt;BR /&gt;</description>
      <pubDate>Mon, 06 May 2002 14:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717728#M721833</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-05-06T14:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717729#M721834</link>
      <description>Hi Mohmmed AbdulSattar &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cat a |sed -n "746,1000p" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;should give you the answer. Why are you using awk , it is easier for sed to handle this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 06 May 2002 14:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717729#M721834</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-05-06T14:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717730#M721835</link>
      <description>perl -ne '746..1000 and print' text_file</description>
      <pubDate>Mon, 06 May 2002 14:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717730#M721835</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-05-06T14:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717731#M721836</link>
      <description>Yet another..&lt;BR /&gt;head -1000 &lt;FILENAME&gt; | tail -254&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 07 May 2002 01:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717731#M721836</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-05-07T01:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: awk and print certain lines</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717732#M721837</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;awk 'NR &amp;gt;= 746 &amp;amp;&amp;amp; NR &amp;lt;= 1000' filename&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;&lt;BR /&gt;head -1000 filename | tail +746&lt;BR /&gt;&lt;BR /&gt;will work&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Suhas&lt;BR /&gt;</description>
      <pubDate>Mon, 27 May 2002 06:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-and-print-certain-lines/m-p/2717732#M721837</guid>
      <dc:creator>Suhas_3</dc:creator>
      <dc:date>2002-05-27T06:33:11Z</dc:date>
    </item>
  </channel>
</rss>

