The word count variable is an intmax_t, so assuming ISO C (it’s GNU so probably not but whatever) it has to be at least C99 and thus support at least 64 bit longlong.
Looking forward to the nine quintillion word LW posts. Wonder if I should submit a patch to make wc(1) use GMP for future proofing purposes…
https://git.savannah.gnu.org/cgit/coreutils.git/tree/src/wc.c#n507
The word count variable is an
intmax_t
, so assuming ISO C (it’s GNU so probably not but whatever) it has to be at least C99 and thus support at least 64 bitlong long
.Looking forward to the nine quintillion word LW posts. Wonder if I should submit a patch to make
wc(1)
use GMP for future proofing purposes…