This following table describes limits of gawk
on a Unix-like
system (although it is variable even then). Other systems may have
different limits.
Item | Limit |
---|---|
Characters in a character class | 2^(number of bits per byte) |
Length of input record in bytes | ULONG_MAX |
Length of output record | Unlimited |
Length of source line | Unlimited |
Number of fields in a record | ULONG_MAX |
Number of file redirections | Unlimited |
Number of input records in one file | MAX_LONG |
Number of input records total | MAX_LONG |
Number of pipe redirections | min(number of processes per user, number of open files) |
Numeric values | Double-precision floating point (if not using MPFR) |
Size of a field in bytes | ULONG_MAX |
Size of a literal string in bytes | ULONG_MAX |
Size of a printf string in bytes | ULONG_MAX |