<?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 comment command in VI editor in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770616#M722305</link>
    <description>What is the command to comment or remark out lines in a file on linux.</description>
    <pubDate>Tue, 23 Jul 2002 17:41:13 GMT</pubDate>
    <dc:creator>Ed Grover</dc:creator>
    <dc:date>2002-07-23T17:41:13Z</dc:date>
    <item>
      <title>comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770616#M722305</link>
      <description>What is the command to comment or remark out lines in a file on linux.</description>
      <pubDate>Tue, 23 Jul 2002 17:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770616#M722305</guid>
      <dc:creator>Ed Grover</dc:creator>
      <dc:date>2002-07-23T17:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770617#M722306</link>
      <description>You mean putting a pound sign (#) in front of the line?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 23 Jul 2002 17:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770617#M722306</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-23T17:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770618#M722307</link>
      <description>Which would typically be a shell script or certain /etc files.&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Tue, 23 Jul 2002 17:45:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770618#M722307</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-07-23T17:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770619#M722308</link>
      <description>That didn't seem to work although that is what the vi commands book told me to use. This is a bb-host file running on the big brother app and it is sending it to me every 15 minutes. I could delete the line but would like to put the line back in so just commenting it out seemed like a good idea.</description>
      <pubDate>Tue, 23 Jul 2002 17:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770619#M722308</guid>
      <dc:creator>Ed Grover</dc:creator>
      <dc:date>2002-07-23T17:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770620#M722309</link>
      <description>Try ; (semi colon) instead.</description>
      <pubDate>Tue, 23 Jul 2002 17:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770620#M722309</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-07-23T17:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770621#M722310</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;This may be a long shot, but I think maybe worth mentioning.  Some applications, for example, measureware, use an asterisk (*) as a comment marker in certain files.  You should consult the docs concerning the application to see if this is the case.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 23 Jul 2002 17:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770621#M722310</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-07-23T17:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770622#M722311</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;since I do not get your point, I may be wrong...&lt;BR /&gt;If you have a ".exrc" file to be *executed* by your "VI" and you are looking for a way to have comments in there, then the character your search is the double-quote.&lt;BR /&gt;&lt;BR /&gt;As an example:&lt;BR /&gt;&lt;BR /&gt;$HOME/.exrc&lt;BR /&gt;:set autoindent showmode&lt;BR /&gt;":set number&lt;BR /&gt;:map #1 :!man vi^V^M&lt;BR /&gt;&lt;BR /&gt;If you have that  in your $HOM E directory and start "VI", then it will run with automatic indentation, will show wether it is insert mode or not, but will NOT show line-numbers. And funciton key "F1" will map to "man vi" (only in command mode, of course).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 19:12:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770622#M722311</guid>
      <dc:creator>Wodisch_1</dc:creator>
      <dc:date>2002-07-23T19:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: comment command in VI editor</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770623#M722312</link>
      <description>Ed, the answer to your question depends on what kind of file you're editing.&lt;BR /&gt;&lt;BR /&gt;Files are intended to be read by different utilities or applications.  Each utility or application has been programmed to accept some sequence of characters as a "remark" or "comment" (meaning "ignore this line or part of the line").&lt;BR /&gt;&lt;BR /&gt;Some common characters:&lt;BR /&gt;&lt;BR /&gt;- C/Bourne/Korn shell uses the pound/number/hash sign #&lt;BR /&gt;- named.conf uses a semicolon ;&lt;BR /&gt;- SQl uses "rem"&lt;BR /&gt;- C uses /* */&lt;BR /&gt;&lt;BR /&gt;In response to your reply, I guess the answer is find out what comment string the programmers used for your application.</description>
      <pubDate>Tue, 23 Jul 2002 19:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comment-command-in-vi-editor/m-p/2770623#M722312</guid>
      <dc:creator>Misa</dc:creator>
      <dc:date>2002-07-23T19:59:34Z</dc:date>
    </item>
  </channel>
</rss>

