<?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: vi in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800735#M266503</link>
    <description>HI&lt;BR /&gt;&lt;BR /&gt;I agre with Steve please spend their valuable time helping out and the best way to show the appreciation would be to assign points.&lt;BR /&gt;&lt;BR /&gt;0 out of 18&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
    <pubDate>Wed, 07 Jun 2006 10:23:36 GMT</pubDate>
    <dc:creator>HGN</dc:creator>
    <dc:date>2006-06-07T10:23:36Z</dc:date>
    <item>
      <title>vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800725#M266493</link>
      <description>hI i have a file which is approx 100 mb in size. editing its is a complicated task.  Actually I wanted to know is there any method by which first 10 lines of this file can be deleted without opening the file</description>
      <pubDate>Tue, 06 Jun 2006 05:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800725#M266493</guid>
      <dc:creator>shruti_1</dc:creator>
      <dc:date>2006-06-06T05:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800726#M266494</link>
      <description>Hi,&lt;BR /&gt;sed '1,10d' file &amp;gt; output&lt;BR /&gt;&lt;BR /&gt;see&lt;BR /&gt;&lt;A href="http://www.student.northpark.edu/pemente/sed/sed1line.txt" target="_blank"&gt;http://www.student.northpark.edu/pemente/sed/sed1line.txt&lt;/A&gt;</description>
      <pubDate>Tue, 06 Jun 2006 05:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800726#M266494</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-06-06T05:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800727#M266495</link>
      <description>Hi Shruti, &lt;BR /&gt;&lt;BR /&gt;You can easily do with "sed" &lt;BR /&gt;&lt;BR /&gt;# sed '1,10d'&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 06 Jun 2006 05:52:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800727#M266495</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-06-06T05:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800728#M266496</link>
      <description>Hi again,&lt;BR /&gt;can you also please read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and rewarad the answers to your previous questions and close the threads:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1031491" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1031491&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1031131" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1031131&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2006 05:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800728#M266496</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-06-06T05:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800729#M266497</link>
      <description>what is the meaning of '1,10d' and if i need to deleted the lines from end then what do i need to give</description>
      <pubDate>Tue, 06 Jun 2006 06:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800729#M266497</guid>
      <dc:creator>shruti_1</dc:creator>
      <dc:date>2006-06-06T06:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800730#M266498</link>
      <description>Hi Shruti,&lt;BR /&gt;&lt;BR /&gt;# delete the last 10 lines of a file&lt;BR /&gt; sed -e :a -e '$d;N;2,10ba' -e 'P;D'   # method 1&lt;BR /&gt; sed -n -e :a -e '1,10!{P;N;D;};N;ba'  # method 2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Amit&lt;BR /&gt;PS: Don't forget to assign points to the answers.</description>
      <pubDate>Tue, 06 Jun 2006 06:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800730#M266498</guid>
      <dc:creator>Chauhan Amit</dc:creator>
      <dc:date>2006-06-06T06:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800731#M266499</link>
      <description>Shruti ,&lt;BR /&gt;&lt;BR /&gt;sed '1,10d' means it will delete lines from 1 to 10.&lt;BR /&gt;&lt;BR /&gt;and redirect the output to a different file , that will be your target file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also here is a sed FAQ that may help  to understand further:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.faqs.org/faqs/editor-faq/sed/" target="_blank"&gt;http://www.faqs.org/faqs/editor-faq/sed/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jun 2006 06:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800731#M266499</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-06-06T06:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800732#M266500</link>
      <description>Shruti ,&lt;BR /&gt;&lt;BR /&gt;Here is your profile :&lt;BR /&gt;&lt;BR /&gt;I have assigned points to   0  of   15  responses to my questions. &lt;BR /&gt;&lt;BR /&gt;Try to make it 15 of 15 and make your forum profile better. Remeber to assign points to them , who are trying to help you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;( * 0 point please. )</description>
      <pubDate>Tue, 06 Jun 2006 06:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800732#M266500</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-06-06T06:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800733#M266501</link>
      <description>Hi,&lt;BR /&gt;this perl one-liner command will delete the first 10 lines in 'file' saving in the meanwhile the 'file' as 'file.old':&lt;BR /&gt;&lt;BR /&gt;perl -i.old -ne 'print unless 1 .. 10' file&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art&lt;BR /&gt;&lt;BR /&gt;N.B. Please assign points!</description>
      <pubDate>Wed, 07 Jun 2006 06:38:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800733#M266501</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2006-06-07T06:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800734#M266502</link>
      <description>It's really simple.  A user called "shruti" puts in a question.  But apparently they do NOT want an answer to it.  If they did, they would say something like "thanks."  or perhaps assign points to the response.  &lt;BR /&gt;&lt;BR /&gt;And any other user that looks at the responses does not know which one is good, and which one is bad.  Why?  Because all of the points are unassigned.  &lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2006 07:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800734#M266502</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2006-06-07T07:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800735#M266503</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;I agre with Steve please spend their valuable time helping out and the best way to show the appreciation would be to assign points.&lt;BR /&gt;&lt;BR /&gt;0 out of 18&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Wed, 07 Jun 2006 10:23:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800735#M266503</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2006-06-07T10:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800736#M266504</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;I agre with Steve please spend their valuable time helping out and the best way to show the appreciation would be to assign points.&lt;BR /&gt;&lt;BR /&gt;If this issue is resolved you can assign points and close this thread&lt;BR /&gt;&lt;BR /&gt;0 out of 18&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Wed, 07 Jun 2006 10:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi/m-p/3800736#M266504</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2006-06-07T10:23:58Z</dc:date>
    </item>
  </channel>
</rss>

