<?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 command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779304#M262913</link>
    <description>In vi, you just need to do&lt;BR /&gt;/search_pattern -&amp;gt; forward search&lt;BR /&gt;?search_pattern -&amp;gt;Backward search&lt;BR /&gt;&lt;BR /&gt;Check all your set options, with set all</description>
    <pubDate>Thu, 27 Apr 2006 22:56:52 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2006-04-27T22:56:52Z</dc:date>
    <item>
      <title>vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779302#M262911</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How to set vi editor using set command in case i want to search some keyword starting from the first line to the last line in the file ?&lt;BR /&gt;&lt;BR /&gt;It should not search starting from the first line again and show the message reach at the end of the line. &lt;BR /&gt;&lt;BR /&gt;I used in the past but forgot now.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Thu, 27 Apr 2006 22:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779302#M262911</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-04-27T22:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779303#M262912</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;It is wrapscan of searches. You can do it by, &lt;BR /&gt;&lt;BR /&gt;:set ws &lt;BR /&gt;&lt;BR /&gt;If you need any further commands, have a look this link &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cis.ksu.edu/~bhoward/vi/vi60.html" target="_blank"&gt;http://www.cis.ksu.edu/~bhoward/vi/vi60.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 27 Apr 2006 22:54:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779303#M262912</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-04-27T22:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779304#M262913</link>
      <description>In vi, you just need to do&lt;BR /&gt;/search_pattern -&amp;gt; forward search&lt;BR /&gt;?search_pattern -&amp;gt;Backward search&lt;BR /&gt;&lt;BR /&gt;Check all your set options, with set all</description>
      <pubDate>Thu, 27 Apr 2006 22:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779304#M262913</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-04-27T22:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: vi command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779305#M262914</link>
      <description>Command &amp;lt;=&amp;gt;   Search and Replace Action&lt;BR /&gt;&lt;BR /&gt;/text   Search for text going forward into the file.&lt;BR /&gt;&lt;BR /&gt;?text  Search for text going backward into the file.&lt;BR /&gt; &lt;BR /&gt;n      Repeat the search in the same    direction as the original search.&lt;BR /&gt; &lt;BR /&gt;N&lt;BR /&gt; Repeat the search in the opposite direction as the original search.&lt;BR /&gt; &lt;BR /&gt;ftext&lt;BR /&gt; Search for text going forward in the current line.&lt;BR /&gt; &lt;BR /&gt;Ftext&lt;BR /&gt; Search for text going backward in the current line.&lt;BR /&gt; &lt;BR /&gt;ttext&lt;BR /&gt; Search for text going forward in the current line and stop at the character before text.&lt;BR /&gt; &lt;BR /&gt;Ttext&lt;BR /&gt; Search for text going backward in the current line to character after text.&lt;BR /&gt; &lt;BR /&gt;:set ic&lt;BR /&gt; Ignore case when searching.&lt;BR /&gt; &lt;BR /&gt;:set noic&lt;BR /&gt; Make searching case-sensitive.&lt;BR /&gt; &lt;BR /&gt;:s/oldtext/newtext/&lt;BR /&gt; Substitute newtext for oldtext.&lt;BR /&gt; &lt;BR /&gt;:m,ns/oldtext/newtext/&lt;BR /&gt; Substitute newtext for oldtext in lines m through n.&lt;BR /&gt; &lt;BR /&gt;&amp;amp;&lt;BR /&gt; Repeat the last :s command.&lt;BR /&gt; &lt;BR /&gt;:g/text1/s/text2/text3&lt;BR /&gt; Find line containing text1, replace text2 with text3.&lt;BR /&gt; &lt;BR /&gt;:g/text/command&lt;BR /&gt; Run command on all lines that contain text.&lt;BR /&gt; &lt;BR /&gt;:v/text/command&lt;BR /&gt; Run command on all lines that do not contain text.&lt;BR /&gt; &lt;BR /&gt;Regards,&lt;BR /&gt;Asif Sharif&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Apr 2006 23:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-command/m-p/3779305#M262914</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2006-04-27T23:49:06Z</dc:date>
    </item>
  </channel>
</rss>

