[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] comment stripping in config files

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-04-29 18:49:39 CEST

[Justin Erenkrantz]
> It's pretty standard practice for Unix shells to treat everything
> after a # as a comment.

Lots of config files insist that # comments must come at the beginning
of the line - sometimes they even stipulate that you can't even have
whitespace before the #.

It may actually be a minority of parsers that allow end-of-line
comments of that form. People shouldn't ever rely on this form without
knowing for sure whether a specific application supports it.

Received on Sat Apr 29 18:50:07 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.