<?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 line too long for vi in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510515#M894853</link>
    <description>Hi.&lt;BR /&gt;&lt;BR /&gt;While using grep to extract a line of 4000 characters from a file I get a coredump. I somehow managed to  extract the line into another file but vi then says line too long. I tried using sed to change the data I need to but it too gives me a coredump. Is there any way of dealing with a line that is this long.&lt;BR /&gt;&lt;BR /&gt;Thanking you in advance.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
    <pubDate>Wed, 28 Mar 2001 14:01:16 GMT</pubDate>
    <dc:creator>Dave Walley</dc:creator>
    <dc:date>2001-03-28T14:01:16Z</dc:date>
    <item>
      <title>line too long for vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510515#M894853</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;While using grep to extract a line of 4000 characters from a file I get a coredump. I somehow managed to  extract the line into another file but vi then says line too long. I tried using sed to change the data I need to but it too gives me a coredump. Is there any way of dealing with a line that is this long.&lt;BR /&gt;&lt;BR /&gt;Thanking you in advance.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Wed, 28 Mar 2001 14:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510515#M894853</guid>
      <dc:creator>Dave Walley</dc:creator>
      <dc:date>2001-03-28T14:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: line too long for vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510516#M894854</link>
      <description>You can split the file with the command split -l 200 name_file.You can see man split.</description>
      <pubDate>Wed, 28 Mar 2001 14:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510516#M894854</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-03-28T14:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: line too long for vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510517#M894855</link>
      <description>Hi Dave,&lt;BR /&gt;&lt;BR /&gt;you are hitting a vi limitation here.&lt;BR /&gt;You can break down the line length by using the fold command.&lt;BR /&gt;&lt;BR /&gt;check the manpage for fold, but something like that might work:&lt;BR /&gt;&lt;BR /&gt;dd if=&lt;FILENAME&gt; ibs=5120 obs=80 count=1 | fold -80 &amp;gt; test&lt;BR /&gt;&lt;BR /&gt;Steffi Jones&lt;BR /&gt;&lt;BR /&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Wed, 28 Mar 2001 14:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510517#M894855</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-03-28T14:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: line too long for vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510518#M894856</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just to get this into vi you can use the command&lt;BR /&gt;&lt;BR /&gt;fold &lt;FILE&gt; &amp;gt; &lt;NEWFILE&gt;&lt;BR /&gt;&lt;BR /&gt;and then edit with vi &lt;NEWFILE&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/NEWFILE&gt;&lt;/NEWFILE&gt;&lt;/FILE&gt;</description>
      <pubDate>Wed, 28 Mar 2001 14:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510518#M894856</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-03-28T14:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: line too long for vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510519#M894857</link>
      <description>I use a vi binary that doesn't have this limitation that is called "nvi". I'm not sure whether it is the same that is distributed on &lt;A href="http://gatekeep.cs.utah.edu" target="_blank"&gt;http://gatekeep.cs.utah.edu&lt;/A&gt; (or &lt;A href="http://hpux.asknet.de)," target="_blank"&gt;http://hpux.asknet.de),&lt;/A&gt; but you might want to give it a try. &lt;BR /&gt;&lt;BR /&gt;If it doesn't work, I can send you mine.&lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Wed, 28 Mar 2001 14:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510519#M894857</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-03-28T14:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: line too long for vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510520#M894858</link>
      <description>IMHO vim is the best vi editor. Get it at&lt;BR /&gt;&lt;A href="http://www.vim.org" target="_blank"&gt;www.vim.org&lt;/A&gt; or via the hpux porting sites.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Mar 2001 07:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long-for-vi/m-p/2510520#M894858</guid>
      <dc:creator>Mike Williams_3</dc:creator>
      <dc:date>2001-03-29T07:26:55Z</dc:date>
    </item>
  </channel>
</rss>

