<?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: manipulating vi editor in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754851#M835320</link>
    <description>Using vi will never work. At the bottom of the man page is the list of limitations, specifically, 234,000 lines max.  But even if your file is only 200,000 lines, vi needs several temp areas which have to be at least as large as the original file, or double the size of the original file.&lt;BR /&gt;&lt;BR /&gt;You have to use sed or awk depensding on what you need to change.  An interactive editor w]won't work.</description>
    <pubDate>Sat, 29 Jun 2002 01:48:20 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2002-06-29T01:48:20Z</dc:date>
    <item>
      <title>manipulating vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754847#M835316</link>
      <description>Hi.&lt;BR /&gt;can someone notify me that too big files are editted in vi command..&lt;BR /&gt;ie, opening 2GB file  first&lt;BR /&gt;and insert, delete, ... and so on..&lt;BR /&gt;How can I do that? or&lt;BR /&gt;the way to go what i want to edit first not open the entire file but open part of file and manipulate</description>
      <pubDate>Sat, 29 Jun 2002 00:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754847#M835316</guid>
      <dc:creator>mw_4</dc:creator>
      <dc:date>2002-06-29T00:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: manipulating vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754848#M835317</link>
      <description>You would be wiser to use a scripting language like Perl. If you must use vi then you should use the split command to break the file into more manageable pieces.&lt;BR /&gt;&lt;BR /&gt;split -l 50000 file will split file into fileaa, file ab, fileac, ... each 50,000 lines long. You can edit these and these recombine them using cat file* &amp;gt; newfile.&lt;BR /&gt;&lt;BR /&gt;Man split for details.</description>
      <pubDate>Sat, 29 Jun 2002 00:34:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754848#M835317</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-29T00:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: manipulating vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754849#M835318</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If this is a long file, you can use split to split the file into parts, edit them and then join them together.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Jun 2002 00:35:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754849#M835318</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-29T00:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: manipulating vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754850#M835319</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Here is a thread regarding editing large files that vi cannot handle&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5c1deea29889d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5c1deea29889d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 29 Jun 2002 01:09:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754850#M835319</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-06-29T01:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: manipulating vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754851#M835320</link>
      <description>Using vi will never work. At the bottom of the man page is the list of limitations, specifically, 234,000 lines max.  But even if your file is only 200,000 lines, vi needs several temp areas which have to be at least as large as the original file, or double the size of the original file.&lt;BR /&gt;&lt;BR /&gt;You have to use sed or awk depensding on what you need to change.  An interactive editor w]won't work.</description>
      <pubDate>Sat, 29 Jun 2002 01:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/manipulating-vi-editor/m-p/2754851#M835320</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-06-29T01:48:20Z</dc:date>
    </item>
  </channel>
</rss>

