Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #991

Re: indent: convert to C-style comments

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.programming, comp.unix.programmer
Subject Re: indent: convert to C-style comments
Date Sun, 06 Nov 2011 09:05:21 +1300
Lines 23
Message-ID <9hlj81F62fU13@mid.individual.net> (permalink)
References <j8ut1o$psd$1@speranza.aioe.org> <9hhhbcF62fU1@mid.individual.net> <j944ln$ad8$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net IK1yj9Y+ngzpEP5pn0QW1gVTGYp6eWfmQaT/D4xmbE0ey8dm16
Cancel-Lock sha1:/cjpcbhuAJumqEYQdYCzHTAJZRw=
User-Agent Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4
In-Reply-To <j944ln$ad8$1@speranza.aioe.org>
Xref x330-a1.tempe.blueboxinc.net comp.programming:991 comp.unix.programmer:1551

Cross-posted to 2 groups.

Show key headers only | View raw


On 11/ 6/11 10:00 AM, Mark wrote:
> "Ian Collins"<ian-news@hotmail.com>  wrote in message
> news:9hhhbcF62fU1@mid.individual.net...
>> On 11/ 4/11 09:20 AM, Mark wrote:
>>> Hello,
>>>
>>> I've read through 'man indent' but have not found if it allows to enforce
>>> C-style comments. Am I missing any option using which would convert C++
>>> comments in to C-style?
>>
>> Since 1999, C++ comments are C comments!
>
> Correct,however many internal coding guidelines require to use old-style
> comments /**/, so I wanted to know if popular tool such as 'indent' has
> ability to convert.

That doesn't really make sense.  If the coding standard required 
old-style comments, how cones C++ style comments were used?

The best solution is to modernise the coding standard.

-- 
Ian Collins

Back to comp.programming | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-03 16:20 -0400
  Re: indent: convert to C-style comments Ian Collins <ian-news@hotmail.com> - 2011-11-04 20:08 +1300
    Re: indent: convert to C-style comments scott@slp53.sl.home (Scott Lurndal) - 2011-11-04 16:46 +0000
    Re: indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-05 16:00 -0500
      Re: indent: convert to C-style comments Ian Collins <ian-news@hotmail.com> - 2011-11-06 09:05 +1300
        Re: indent: convert to C-style comments "Mark" <mark_cruzNOTFORSPAM@hotmail.com> - 2011-11-05 16:12 -0500
      Re: indent: convert to C-style comments Thad Smith <ThadSmith@acm.org> - 2011-11-06 18:54 -0600
        Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-09 14:29 +0000
          Re: indent: convert to C-style comments John Gordon <gordon@panix.com> - 2011-11-09 17:07 +0000
            Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-09 18:36 +0000
              Re: indent: convert to C-style comments John Gordon <gordon@panix.com> - 2011-11-10 20:08 +0000
                Re: indent: convert to C-style comments Doug McIntyre <merlyn@geeks.org> - 2011-11-10 20:21 +0000
                Re: indent: convert to C-style comments jt@toerring.de (Jens Thoms Toerring) - 2011-11-10 21:04 +0000
          Re: indent: convert to C-style comments Thad Smith <ThadSmith@acm.org> - 2011-11-10 20:47 -0700

csiph-web