[Dovecot] Comments in dovcot.conf files
Suggestion for comments. Why not support this syntax for comments as well as #
/* comments comments */
It will allow for neater looking config files.
On Sat, Aug 12, 2006 at 12:43:55PM -0700, Marc Perkel wrote:
Suggestion for comments. Why not support this syntax for comments as well as #
/* comments comments */
It will allow for neater looking config files.
It's not a programming language, it's a config file. Standard
comment syntax is '#' (or ';' in the case of bind, which is an
odd-ball).
Given these 2 examples:
/*
foo
bar
baz
*/
or
# foo
# bar
# baz
I personally feel that the latter is more clearly read and
understood. It also makes it much simpler to parse from a
shell or perl or whatever.
John
-- "I'm sorry but our engineers do not have phones." As stated by a Network Solutions Customer Service representative when asked to be put through to an engineer.
"My other computer is your windows box." Ralf Hildebrandt
John R. Dennison wrote:
On Sat, Aug 12, 2006 at 12:43:55PM -0700, Marc Perkel wrote:
Suggestion for comments. Why not support this syntax for comments as well as #
/* comments comments */
It will allow for neater looking config files.
It's not a programming language, it's a config file. Standard comment syntax is '#' (or ';' in the case of bind, which is an odd-ball).
Given these 2 examples:
/* foo bar baz */
or
# foo # bar # baz
I personally feel that the latter is more clearly read and understood. It also makes it much simpler to parse from a shell or perl or whatever.
I'm suggesting using BOTH.
On Sat, Aug 12, 2006 at 01:24:30PM -0700, Marc Perkel wrote:
I'm suggesting using BOTH.
I understand that. My previous comments, though, stand.
Distributions and some rpm packages auto-modify the conf files
as part of package installation. Added complexity is never a
good thing.
John
-- "I'm sorry but our engineers do not have phones." As stated by a Network Solutions Customer Service representative when asked to be put through to an engineer.
"My other computer is your windows box." Ralf Hildebrandt
participants (2)
-
John R. Dennison
-
Marc Perkel