On Monday 05 November 2001 22:58, Ben Greear wrote:
> So if BNF makes it harder for shell scripts and sscanf, and harder for
> the kernel developers...what good does it do???
You know how to parse the file.
Take a look at /proc/partitions. Is its exact syntax obvious without
examining the source in the kernel? Can it happen that there is a space or
another unusual character in the device path and what happens then? Could it
be that someone decides that an additional column is neccessary and how can
my parser stay compatible then? Are there any suprises or special conditions
that I don't know about? Maybe one of the fields is hexadecimal but I think
it is decimal, I can't see it from looking at the file's content.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:27 EST