<?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: line too long?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237637#M889073</link>
    <description>So sorry, I thought that since this might have been related that I should stick it here.&lt;BR /&gt;&lt;BR /&gt;Thanks for the perl tip -- worked like a charm.  Cheers!!</description>
    <pubDate>Wed, 05 May 2004 09:26:57 GMT</pubDate>
    <dc:creator>Ariadne_2</dc:creator>
    <dc:date>2004-05-05T09:26:57Z</dc:date>
    <item>
      <title>line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237627#M889063</link>
      <description>Hi..all!!&lt;BR /&gt;&lt;BR /&gt;I can't log file..&lt;BR /&gt;when I opened the log file by vi, I got the message..."XXX Line too long"&lt;BR /&gt;Is there any limitation...A line can have characters???&lt;BR /&gt;&lt;BR /&gt;how can I open the the file?</description>
      <pubDate>Fri, 02 Apr 2004 00:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237627#M889063</guid>
      <dc:creator>yoon</dc:creator>
      <dc:date>2004-04-02T00:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237628#M889064</link>
      <description>Use "tail" or "cat" or a text editor that deosn't have this limitation.  Check the thread a couple below this one too :)</description>
      <pubDate>Fri, 02 Apr 2004 00:57:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237628#M889064</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-04-02T00:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237629#M889065</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;didn't know vi had a limitation on number of chars in a line. It sounds to me that its not a ascii file?&lt;BR /&gt;Or can it be that there are some binary strings in it.&lt;BR /&gt;&lt;BR /&gt;Check with: file &lt;FILENAME&gt;&lt;BR /&gt;If it returns ASCII then use more or tail like Mark suggested.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Peter&lt;BR /&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Fri, 02 Apr 2004 01:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237629#M889065</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-04-02T01:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237630#M889066</link>
      <description>&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;check for teh dependencies.</description>
      <pubDate>Fri, 02 Apr 2004 01:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237630#M889066</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-04-02T01:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237631#M889067</link>
      <description>thanks for your all reply...rapidly^^&lt;BR /&gt;&lt;BR /&gt;but I want to know how can I open the file...by VI!!&lt;BR /&gt;why I can't edit or capture specific part in the file..that file is acsii text log file..&lt;BR /&gt;&lt;BR /&gt;How many chars does A line have?? (limit..^^) and How Can extend that limit..?? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 01:35:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237631#M889067</guid>
      <dc:creator>yoon</dc:creator>
      <dc:date>2004-04-02T01:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237632#M889068</link>
      <description>There is no limit on line length in a file.  Some applications have a limit though and "vi" is one of them.  Check out "vim" as mentioned above.  It is a "vi" clone with added features "vim=vi improved"</description>
      <pubDate>Fri, 02 Apr 2004 01:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237632#M889068</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-04-02T01:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237633#M889069</link>
      <description>Or run fold on the file before opening it with vi.</description>
      <pubDate>Fri, 02 Apr 2004 01:47:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237633#M889069</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-04-02T01:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237634#M889070</link>
      <description>2048 is the limit on a single line&lt;BR /&gt;If you are using 11.11 then you can use this patch PHCO_27057 to make it 4096&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 01:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237634#M889070</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-04-02T01:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237635#M889071</link>
      <description>Hi everybody --&lt;BR /&gt;&lt;BR /&gt;I am trying to chop out the file part of a file by piping a head and tail command together.  An example is:&lt;BR /&gt;&lt;BR /&gt;head -213 test.txt | tail -42 &amp;gt; test2.txt&lt;BR /&gt;&lt;BR /&gt;to grab lines 171-213 of a file.&lt;BR /&gt;&lt;BR /&gt;The problem is, my command sometimes returns only partial lines (the last line is truncated).  &lt;BR /&gt;&lt;BR /&gt;Do you all suppose this is a similar limitation of head or tail?  Why are my lines being truncated?  Is there a workaround?  I don't throw a "line too long" error, but this sounds like it might be the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks much!!</description>
      <pubDate>Wed, 05 May 2004 08:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237635#M889071</guid>
      <dc:creator>Ariadne_2</dc:creator>
      <dc:date>2004-05-05T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237636#M889072</link>
      <description>You should have opened your own thread for new questions, but it's much easier:&lt;BR /&gt;&lt;BR /&gt;# perl -ne'171..213 and print' test.txt&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 05 May 2004 08:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237636#M889072</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-05-05T08:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: line too long??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237637#M889073</link>
      <description>So sorry, I thought that since this might have been related that I should stick it here.&lt;BR /&gt;&lt;BR /&gt;Thanks for the perl tip -- worked like a charm.  Cheers!!</description>
      <pubDate>Wed, 05 May 2004 09:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/line-too-long/m-p/3237637#M889073</guid>
      <dc:creator>Ariadne_2</dc:creator>
      <dc:date>2004-05-05T09:26:57Z</dc:date>
    </item>
  </channel>
</rss>

