[File] int() versus uint64() issue

Toralf Förster toralf.foerster at gmx.de
Wed Oct 31 09:09:03 UTC 2018


# file /tmp/info2.log-20181031.gz
/tmp/info2.log-20181031.gz: gzip compressed data, last modified: Wed Oct
31 02:09:30 2018, from Unix, original size -1729462197

# zcat /tmp/info2.log-20181031.gz | wc -c
2565505099

mr-fox ~ # expr 1729462197 +  2565505099
4294967296


# factor 4294967296
4294967296: 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2


:-)

-- 
Toralf
PGP C4EACDDE 0076E94E


More information about the File mailing list