<?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-editor in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145834#M686079</link>
    <description>Also, please open your thread in a relevant sub-forum, none of the questions you have asked have ANYTHING to do with Serviceguard.</description>
    <pubDate>Sun, 21 Dec 2008 19:50:48 GMT</pubDate>
    <dc:creator>melvyn burnard</dc:creator>
    <dc:date>2008-12-21T19:50:48Z</dc:date>
    <item>
      <title>vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145826#M686071</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have 200 lines in a file. Now i need to deleted some lines in between the file.&lt;BR /&gt;&lt;BR /&gt;for example: from 99th line to 150th line&lt;BR /&gt;&lt;BR /&gt;how to delete using vi editor or any other method to do this.....please help me&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Veera&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2008 23:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145826#M686071</guid>
      <dc:creator>Veera.Rao</dc:creator>
      <dc:date>2008-12-10T23:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145827#M686072</link>
      <description>Shalom Veera,&lt;BR /&gt;&lt;BR /&gt;99&lt;ENTER&gt;&lt;BR /&gt;51dd&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.eng.hawaii.edu/Tutor/vi.html" target="_blank"&gt;http://www.eng.hawaii.edu/Tutor/vi.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnulamp.com/vi.html" target="_blank"&gt;http://www.gnulamp.com/vi.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/ENTER&gt;</description>
      <pubDate>Wed, 10 Dec 2008 23:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145827#M686072</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-12-10T23:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145828#M686073</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;In 'vi' position the cursor on the 99th line (type escape, :99) and enter '51dd' to delete the next 51-lines.&lt;BR /&gt;&lt;BR /&gt;You can use 'sed':&lt;BR /&gt;&lt;BR /&gt;# sed -e '99,150d' file &amp;gt; file.new&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 10 Dec 2008 23:35:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145828#M686073</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-10T23:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145829#M686074</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i mentioned date and time for beginning &lt;BR /&gt;every of line...can you pls tell me how to sort the line in vi editor with date and time</description>
      <pubDate>Thu, 11 Dec 2008 00:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145829#M686074</guid>
      <dc:creator>Veera.Rao</dc:creator>
      <dc:date>2008-12-11T00:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145830#M686075</link>
      <description>Hi Veera:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i mentioned date and time for beginning &lt;BR /&gt;every of line...can you pls tell me how to sort the line in vi editor with date and time&lt;BR /&gt;&lt;BR /&gt;Where in your original post did you mention anything about sorting or anything about timestamps?&lt;BR /&gt;&lt;BR /&gt;What are you really trying to accomplish? &lt;BR /&gt;&lt;BR /&gt;What (*exactly*) does your input file look like (post a snippet) and what (*exactly*) do you want to transform it into?&lt;BR /&gt;&lt;BR /&gt;# man sort&lt;BR /&gt;&lt;BR /&gt;...offers a great deal of information.  One doesn't 'sort' in 'vi'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 11 Dec 2008 00:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145830#M686075</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-11T00:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145831#M686076</link>
      <description>thanks for your support.</description>
      <pubDate>Thu, 11 Dec 2008 00:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145831#M686076</guid>
      <dc:creator>Veera.Rao</dc:creator>
      <dc:date>2008-12-11T00:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145832#M686077</link>
      <description>&amp;gt;delete ... 99th line to 150th line&lt;BR /&gt;&lt;BR /&gt;If you don't want to do complicated arithmetic in your head, you can just use:&lt;BR /&gt;:99,150d&lt;BR /&gt;&lt;BR /&gt;If you want to use the visual editor you can mark the first line "ma", then go to the last line and then "d'a".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;tell me how to sort the line in vi editor with date and time&lt;BR /&gt;&lt;BR /&gt;&amp;gt;JRF: One doesn't sort in vi.&lt;BR /&gt;&lt;BR /&gt;Sure you can but you have to know the sort options.&lt;BR /&gt;&lt;BR /&gt;If you want to sort the whole file, on the first line: !Gsort&lt;BR /&gt;You can also sort partial ranges using the mark command: !'asort</description>
      <pubDate>Thu, 11 Dec 2008 00:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145832#M686077</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-11T00:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145833#M686078</link>
      <description>Hi Veera,&lt;BR /&gt;&lt;BR /&gt;If you got your answer then from next time please assign points to those people who give there valuable time to help you out.&lt;BR /&gt;To know how to assign points please go through this below link &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Thu, 11 Dec 2008 04:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145833#M686078</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-12-11T04:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: vi-editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145834#M686079</link>
      <description>Also, please open your thread in a relevant sub-forum, none of the questions you have asked have ANYTHING to do with Serviceguard.</description>
      <pubDate>Sun, 21 Dec 2008 19:50:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/5145834#M686079</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2008-12-21T19:50:48Z</dc:date>
    </item>
  </channel>
</rss>

