Bug#446712: [PATCH] Allow comments in debian/control (bug#446712)
* Russ Allbery [Sat, 28 Feb 2009 22:07:36 -0800]:
> It occurred to me to check behavior with multiline fields as well. Here's
> a slightly modified version documenting that. Does this still look good
> to you? (And also requesting seconds from others.)
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -2450,6 +2450,14 @@ Package: libc6
> See <ref id="substvars"> for details.
> </p>
> + <p>
> + In addition to the control file syntax described <qref
> + id="controlsyntax">above</qref>, this file may also contain
> + comment lines starting with <tt>#</tt>. All such lines are
> + ignored, even in the middle of continuation lines for a
> + multiline field, and do not end a multiline field.
> + </p>
> +
> </sect>
Seconded, with or without:
> + comment lines starting with <tt>#</tt>
preceded by no whitespace.
Or some wording to that effect. The rationale is that it's very common
for files that accept #-style comments to accept them if # is preceded
by whitespace, but this is not the case in control files.
Cheers,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: Vainica Doble - Chinita de Shangai
Reply to: