<?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: problem with vi command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110373#M445835</link>
    <description>Dennys,James&lt;BR /&gt;Thank you very much, &lt;BR /&gt;with your suggestion , I solved the problem. &lt;BR /&gt;Thank you once again&lt;BR /&gt;&lt;BR /&gt;Felix</description>
    <pubDate>Fri, 23 May 2008 12:53:14 GMT</pubDate>
    <dc:creator>felice_2</dc:creator>
    <dc:date>2008-05-23T12:53:14Z</dc:date>
    <item>
      <title>problem with vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110370#M445832</link>
      <description>Hello to All, &lt;BR /&gt;I need to do a mv  file pippo.txt &lt;BR /&gt;in a file pipponew.txt , but the file pipponew.txt &lt;BR /&gt;must not have more than 120 characters for line. &lt;BR /&gt;Someone knows how can I do? &lt;BR /&gt;Thank you very much &lt;BR /&gt;&lt;BR /&gt;Felix</description>
      <pubDate>Fri, 23 May 2008 07:02:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110370#M445832</guid>
      <dc:creator>felice_2</dc:creator>
      <dc:date>2008-05-23T07:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem with vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110371#M445833</link>
      <description>You want to truncate lines?&lt;BR /&gt;You can use fold(1) to break it at 120:&lt;BR /&gt;fold -120 pippo.txt &amp;gt; pipponew.txt&lt;BR /&gt;&lt;BR /&gt;If you want to truncate, you can use awk(1) with a printf to limit the line length.</description>
      <pubDate>Fri, 23 May 2008 10:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110371#M445833</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-23T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem with vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110372#M445834</link>
      <description>Hi Felix:&lt;BR /&gt;&lt;BR /&gt;As Dennis, noted, 'swk' is an easy way to truncate your lines if that is your choice.  It's as simple as:&lt;BR /&gt;&lt;BR /&gt;# awk '{print substr($0,1,10)}' pipponew.txt&lt;BR /&gt;&lt;BR /&gt;...which prints 10-characters beginning from the first (1) character of every line ($0).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 23 May 2008 11:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110372#M445834</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-05-23T11:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem with vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110373#M445835</link>
      <description>Dennys,James&lt;BR /&gt;Thank you very much, &lt;BR /&gt;with your suggestion , I solved the problem. &lt;BR /&gt;Thank you once again&lt;BR /&gt;&lt;BR /&gt;Felix</description>
      <pubDate>Fri, 23 May 2008 12:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110373#M445835</guid>
      <dc:creator>felice_2</dc:creator>
      <dc:date>2008-05-23T12:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem with vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110374#M445836</link>
      <description>&amp;gt;I solved the problem. &lt;BR /&gt;&lt;BR /&gt;If you are happy with your answers, you should reopen the thread and assign points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Sat, 24 May 2008 01:03:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-vi-command/m-p/5110374#M445836</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-05-24T01:03:30Z</dc:date>
    </item>
  </channel>
</rss>

