On 26-Mar-2009, at 18:23, Bryce Nesbitt wrote:
Would anyone else appreciate end of line comments, as an extension to
/etc/aliases and *.pcre? What character should introduce such comments?

Actually? No. I find end-of-line comments to be far more trouble than they are worth.

# 20090101 requested by fumble
foo: fum

# 2009013 #AZ-12313
fiddle: fee, fie, foo

I find that format much better, both in terms of readability (the comment about the source of the change comes first, and the date is first in that) and maintainability. For example:

# 20090101 requested by fumble
foo: fum
# 20090107
bar: car
# 20090219
oscar: oskar

# 20090113 #AZ-12313
fiddle: fee, fie, foo

Well, now I know all those requests were from fumble.

There are very few cases when end-of-line comments are really useful, and this is not one of them.


--
Can't stop the signal

Reply via email to