On Wed, 29 Aug 2001, Henrik Nordstrom wrote:
> If you want to change to %010d or remove the field width
> completely then I have no objection.
I would not recommend the former. Some log analyzers will interpret
zero-starting integers as octal rather than decimal numbers. I have
been beaten by that:
STRTOL(3) FreeBSD Library Functions Manual STRTOL(3)
The string may begin with an arbitrary amount of white space (as deter-
mined by isspace(3)) followed by a single optional `+' or `-' sign. If
base is zero or 16, the string may then include a `0x' prefix, and the
number will be read in base 16; otherwise, a zero base is taken as 10
(decimal) unless the next character is `0', in which case it is taken as
8 (octal).
Alex.
Received on Wed Aug 29 2001 - 10:35:19 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:17 MST