<?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/3739295#M255909</link>
    <description>JRF wrote ...&lt;BR /&gt;&lt;BR /&gt;"... I am mystified as to why you (and some other individuals) post the same answers hours or days after other participants ..."&lt;BR /&gt;&lt;BR /&gt;Ditto. &lt;BR /&gt;It ads no value and it distracts.&lt;BR /&gt;Myself, and other also I suspect, keep following topics where we opted to reply. So when a good time later a redundant reply is added then not only that reply time is wasted, but my time is also wasted.&lt;BR /&gt;I have the same problem with replies only suggesting to add points.&lt;BR /&gt;I know, it is entirely my own choice to re-visit, but still...&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; *** My long posts are not getting into forums.. &lt;BR /&gt;&lt;BR /&gt;I beg to differ. You may well be correct, but I suspect it was just the general reply trouble we all went through a while ago. Just wait and the replies would be there, and keep a backup copy handy just in case.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; change my browser from Firefox.. &lt;BR /&gt;&lt;BR /&gt;I tend to use firefox. No problem for me.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; ***I gave a fresh information that defers from what others gave (I used "dd" to delete where your was "dw"). &lt;BR /&gt;&lt;BR /&gt;fwiw: My reply mentioned dd hours earlier.&lt;BR /&gt;&lt;BR /&gt;'nuff said.&lt;BR /&gt;&lt;BR /&gt;I am looking forward to many more great replies from all, just less noise if you could please!&lt;BR /&gt;&lt;BR /&gt;Kindest regards,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
    <pubDate>Sat, 25 Feb 2006 15:14:50 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2006-02-25T15:14:50Z</dc:date>
    <item>
      <title>Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739287#M255901</link>
      <description>Hi Admins,&lt;BR /&gt;&lt;BR /&gt; I gotta some wkrs with vi..Cud somebody throw some lights on "searching a WORD and deleting the line containing that word"...&lt;BR /&gt;&lt;BR /&gt; Any links/stuff whers I can understand more tricks with good examples..&lt;BR /&gt;&lt;BR /&gt;Thxs n advance,&lt;BR /&gt; Just-In&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Feb 2006 18:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739287#M255901</guid>
      <dc:creator>Justin_132</dc:creator>
      <dc:date>2006-02-24T18:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739288#M255902</link>
      <description>Although decades old, vi is still a powerful editor although the kinds of task you describe are usually done with sed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.lagmonster.org/docs/vi.html" target="_blank"&gt;http://www.lagmonster.org/docs/vi.html&lt;/A&gt;</description>
      <pubDate>Fri, 24 Feb 2006 18:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739288#M255902</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-02-24T18:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739289#M255903</link>
      <description>Well, in VI I just hit "/WORD" or toss in some spaces/whitespace regexpr. Now hit 'dd'.&lt;BR /&gt;&lt;BR /&gt;But I suspect you want more? Like all lines in the file that match? Or like put the whole think in a script?&lt;BR /&gt;&lt;BR /&gt;I would suggest the sed editor for that job instead of vi. Is is more script oriented imho.&lt;BR /&gt;&lt;BR /&gt;But why not simply use:&lt;BR /&gt;$ grep -v WORD file-with-word &amp;gt; file-without-word.&lt;BR /&gt;&lt;BR /&gt;Again, add -E  or wordboundaies as needed&lt;BR /&gt;&lt;BR /&gt;If GREP can not do the job, then please explain why not. Know that, someone may be able to resolve it, or may be able to come up with a better vi or sed solution based on a refined problem description.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Feb 2006 18:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739289#M255903</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-02-24T18:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739290#M255904</link>
      <description>Hi Justin:&lt;BR /&gt;&lt;BR /&gt;Here's a brief, basic introduction to using 'vi':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/A2615-90003/ch17.html" target="_blank"&gt;http://docs.hp.com/en/A2615-90003/ch17.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Of course, the standard first-line-of-defense cam always be found in the manpages:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-60103/vi.1.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-60103/vi.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For your question:&lt;BR /&gt;&lt;BR /&gt;:/word&lt;BR /&gt;dw&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 24 Feb 2006 18:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739290#M255904</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-24T18:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739291#M255905</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;For searching a word in vi, Go to command mode&lt;BR /&gt;/word &lt;BR /&gt;Curser will on the word. You can delete the entire line by 'dd'(without quote) &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 24 Feb 2006 22:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739291#M255905</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-24T22:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739292#M255906</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;As always, take a look at "man vi" for complete listing of commands and this link should be helpful... &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.chem.brown.edu/instructions/vi.html" target="_blank"&gt;http://www.chem.brown.edu/instructions/vi.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 24 Feb 2006 22:12:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739292#M255906</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-24T22:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739293#M255907</link>
      <description>Arun:&lt;BR /&gt;&lt;BR /&gt;I am mystified as to why you (and some other individuals) post the same answers hours or days after other participants.  I am mystified why your posts are divided into multiple ones usually minutes apart.&lt;BR /&gt;&lt;BR /&gt;Please read what has alraedy been written in a post and think a little before you write.  We need fresh information, not a "me too".&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Feb 2006 09:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739293#M255907</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-25T09:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739294#M255908</link>
      <description>Hi James, &lt;BR /&gt;&lt;BR /&gt;I am mystified as to why you (and some other individuals) post the same answers hours or days after other participants. I am mystified why your posts are divided into multiple ones usually minutes apart.&lt;BR /&gt;&lt;BR /&gt;*** My long posts are not getting into forums.. Thats why i prefer short answers. When i post long answers, i always get Error posting message. May be i need to change my browser from Firefox.. Even, Muthukumar has this problem from his machine. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please read what has alraedy been written in a post and think a little before you write. We need fresh information, not a "me too".&lt;BR /&gt;&lt;BR /&gt;***I gave a fresh information that defers from what others gave (I used "dd" to delete where your was "dw"). &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Arun &lt;BR /&gt;</description>
      <pubDate>Sat, 25 Feb 2006 11:03:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739294#M255908</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-25T11:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739295#M255909</link>
      <description>JRF wrote ...&lt;BR /&gt;&lt;BR /&gt;"... I am mystified as to why you (and some other individuals) post the same answers hours or days after other participants ..."&lt;BR /&gt;&lt;BR /&gt;Ditto. &lt;BR /&gt;It ads no value and it distracts.&lt;BR /&gt;Myself, and other also I suspect, keep following topics where we opted to reply. So when a good time later a redundant reply is added then not only that reply time is wasted, but my time is also wasted.&lt;BR /&gt;I have the same problem with replies only suggesting to add points.&lt;BR /&gt;I know, it is entirely my own choice to re-visit, but still...&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; *** My long posts are not getting into forums.. &lt;BR /&gt;&lt;BR /&gt;I beg to differ. You may well be correct, but I suspect it was just the general reply trouble we all went through a while ago. Just wait and the replies would be there, and keep a backup copy handy just in case.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; change my browser from Firefox.. &lt;BR /&gt;&lt;BR /&gt;I tend to use firefox. No problem for me.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; ***I gave a fresh information that defers from what others gave (I used "dd" to delete where your was "dw"). &lt;BR /&gt;&lt;BR /&gt;fwiw: My reply mentioned dd hours earlier.&lt;BR /&gt;&lt;BR /&gt;'nuff said.&lt;BR /&gt;&lt;BR /&gt;I am looking forward to many more great replies from all, just less noise if you could please!&lt;BR /&gt;&lt;BR /&gt;Kindest regards,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Feb 2006 15:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739295#M255909</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-02-25T15:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739296#M255910</link>
      <description>Justin,&lt;BR /&gt;&lt;BR /&gt;You will find 2 camps - Those who like vi and those who don't.&lt;BR /&gt;&lt;BR /&gt;Here's a good page for you full of tip and tricks for beginners"&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.csci.csusb.edu/dick/samples/vi.notes.html" target="_blank"&gt;http://www.csci.csusb.edu/dick/samples/vi.notes.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Sat, 25 Feb 2006 15:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739296#M255910</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-25T15:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739297#M255911</link>
      <description>&lt;BR /&gt;Hi justin,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.chem.brown.edu/instructions/vi.html" target="_blank"&gt;http://www.chem.brown.edu/instructions/vi.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;check this link.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Feb 2006 05:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739297#M255911</guid>
      <dc:creator>dipesh_2</dc:creator>
      <dc:date>2006-02-27T05:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739298#M255912</link>
      <description>from within the vi editor to search for a specific string, &lt;BR /&gt;&lt;BR /&gt;esc &lt;BR /&gt;/STRING &lt;BR /&gt;&lt;BR /&gt;to search for the same string hit the "/" &lt;BR /&gt;again..</description>
      <pubDate>Mon, 27 Feb 2006 09:04:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739298#M255912</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2006-02-27T09:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Vi Editor !!!!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739299#M255913</link>
      <description>lots of good references to tutorials, etc above.  To answer your question, from the command mode of vi, type ":g/WORD/d&lt;ENTER&gt;"&lt;BR /&gt;&lt;BR /&gt;The : puts you in ed mode,&lt;BR /&gt;g/WORD/d&lt;BR /&gt;means: globally, search for WORD, and delete the line(s) it is found on&lt;BR /&gt;&lt;ENTER&gt; hit the enter key.&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Mon, 27 Feb 2006 10:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor/m-p/3739299#M255913</guid>
      <dc:creator>okcunix</dc:creator>
      <dc:date>2006-02-27T10:28:07Z</dc:date>
    </item>
  </channel>
</rss>

