Especially the semicolon after "}". Even C isn't consistent about
that, and it can be confusing even to C programmers.
I propose that newline be viewed as _equivalent_ to a semicolon. That
way, semicolon is seen as a separator, and of course never appears in
machine generated files. Quoting isn't a problem -- you probably should
always quote "=" and "{" anyway if they're in a string value or a label.
So the principle of quote-if-unsure applies when writing files. Like a
lot of computer languages.
> It doesn't matter as much for a /proc format, since there are very few
> writers and the average user only has to read.
You say that there aren't many writers _now_... :-)
May as well use a format that would be just as useful
for non-kernel config files. Just for consistency, you know.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/