Re: RFC: Representation of large hex values
From: Philippe Elie
Date: Sat Jan 24 2004 - 10:45:17 EST
Dr. David Alan Gilbert wrote:
(OK, this isn't strictly a kernel thing - but it seems to be a good
place for peoples thoughts on this, and the kernel would be one
place to start it off)
The problem: Large (64 bit) hex values are cumbersome - especially
when they contain strings of 0's in the middle
Suggestion: Print hex value with a seperator every 4 or 8 nybbles
to aid in counting. After some discussion it seems that _
is a decent seperator - e.g.
1000_0000_0000_1234
You'll break people piping output to tools, you must
solve this by running the output to your own filter
which split hexa number.
regards,
Phil
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/