<?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/4233723#M329002</link>
    <description>&amp;gt;getting all the uncommented lines and removing commented ones temporarily, then making unique changes to all lines&lt;BR /&gt;&lt;BR /&gt;Is it that hard to just skip to the next uncommented line?  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The commented lines should be there in the file as before &lt;BR /&gt;&lt;BR /&gt;You can't do this in vi.  I don't know about vim nor emacs.</description>
    <pubDate>Tue, 15 Jul 2008 04:45:19 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-07-15T04:45:19Z</dc:date>
    <item>
      <title>vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233717#M328996</link>
      <description>Hi Everybody,&lt;BR /&gt;&lt;BR /&gt;I have big text file with a lot of hashes (#), how can I view all the lines without hash on vi editor?&lt;BR /&gt;Where can I find a good in-depth knowledge document on vi?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;RKK</description>
      <pubDate>Tue, 15 Jul 2008 02:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233717#M328996</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2008-07-15T02:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233718#M328997</link>
      <description>Lines without "#" anywhere on the line?&lt;BR /&gt;Lines without "#" in column 1?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] view [...]&lt;BR /&gt;&lt;BR /&gt;View only, or change?&lt;BR /&gt;&lt;BR /&gt;"man grep", look for "-v".&lt;BR /&gt;&lt;BR /&gt;grep -v '#' file &amp;gt; file_nh ; vi -R file_nh&lt;BR /&gt;&lt;BR /&gt;grep -v '^#' file &amp;gt; file_nh ; vi -R file_nh</description>
      <pubDate>Tue, 15 Jul 2008 03:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233718#M328997</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-07-15T03:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233719#M328998</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For vi documents.... google with vi editor keyword. You will get lots of PDF links for vi editor documents. Few of them:&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;A href="http://unixhelp.ed.ac.uk/vi/index.html" target="_blank"&gt;http://unixhelp.ed.ac.uk/vi/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-=ShRi=-</description>
      <pubDate>Tue, 15 Jul 2008 03:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233719#M328998</guid>
      <dc:creator>Shrikant Lavhate</dc:creator>
      <dc:date>2008-07-15T03:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233720#M328999</link>
      <description>Thnks for quick response,&lt;BR /&gt;Actually I want make changes in the uncommented lines of a file through vi editor.&lt;BR /&gt;&lt;BR /&gt;-RKK</description>
      <pubDate>Tue, 15 Jul 2008 03:16:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233720#M328999</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2008-07-15T03:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233721#M329000</link>
      <description>&amp;gt;I want make changes in the uncommented lines of a file through vi editor.&lt;BR /&gt;&lt;BR /&gt;Are you talking about editing the lines one by one or some global change all?&lt;BR /&gt;&lt;BR /&gt;For the former, don't edit the lines starting with "#".  For the latter, you can use:&lt;BR /&gt;:g/^[^#]/s/foo/bar/g&lt;BR /&gt;Or:&lt;BR /&gt;:v/^#/s/foo/bar/g</description>
      <pubDate>Tue, 15 Jul 2008 03:29:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233721#M329000</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-15T03:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233722#M329001</link>
      <description>Can I do it like, getting all the uncommented lines and removing commented ones temporarily, then making unique changes to all lines (not search &amp;amp; replace)and finally exiting.&lt;BR /&gt;The commented lines should be there in the file as before when I open it again.&lt;BR /&gt;&lt;BR /&gt;-RKK&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2008 04:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233722#M329001</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2008-07-15T04:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233723#M329002</link>
      <description>&amp;gt;getting all the uncommented lines and removing commented ones temporarily, then making unique changes to all lines&lt;BR /&gt;&lt;BR /&gt;Is it that hard to just skip to the next uncommented line?  :-)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The commented lines should be there in the file as before &lt;BR /&gt;&lt;BR /&gt;You can't do this in vi.  I don't know about vim nor emacs.</description>
      <pubDate>Tue, 15 Jul 2008 04:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233723#M329002</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-15T04:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233724#M329003</link>
      <description>An internet search will give some good results for terms like "code folding" or "fold text" together with "editor".&lt;BR /&gt;&lt;BR /&gt;Some are GUI based editors, but looks like VIM can do it too.&lt;BR /&gt;&lt;BR /&gt;Try it - good luck!</description>
      <pubDate>Tue, 15 Jul 2008 05:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233724#M329003</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-15T05:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: vi editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233725#M329004</link>
      <description>Hi RKK, this is the command to replace all hashed "#" with nothing in vi&lt;BR /&gt;&lt;BR /&gt;1) ESC&lt;BR /&gt;2) :g/#/s///g&lt;BR /&gt;&lt;BR /&gt;the syntax is:&lt;BR /&gt;:g/old_text/s//new_text/g&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;BR /&gt;Ernesto&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2008 05:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/4233725#M329004</guid>
      <dc:creator>Ernesto Cappello</dc:creator>
      <dc:date>2008-07-15T05:59:42Z</dc:date>
    </item>
  </channel>
</rss>

