Skip to main content.
home | support | download

Back to List Archive

Will removing Leading zeros break anything?

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Nov 12 2002 - 16:55:20 GMT
Swish sometimes will display numbers with leading zeros:

$ ./swish-e -w not dkdk -m 1 -p swishdocsize swishrank -H0
1000 _datatypes.h "_datatypes.h" 2051 "0000000002051" "0000000001000"

Here the file size and rank are shown with leading zeros when listing the
properties with -p.  Using -x doesn't do that:

$ ./swish-e -w not dkdk -m 1 -x '<swishdocsize> <swishrank>\n' -H0
2051 1000

I'm changing it so the leading zeros are removed.  Let me know if that
breaks your code.

Thanks,



-- 
Bill Moseley
mailto:moseley@hank.org
Received on Tue Nov 12 16:55:50 2002