This is the next question to
What is the maximum number of characters the ksh variable accepts?
I checked my environment and allowed only
#include <sys/limits.h> $ cpp << HERE | tail -1 > #include <limits.h> > ARG_MAX > HERE 1048576
Is there any way to increase this? Or any alternatives for
while read line; do
To handle really long lines? Based on the entries I am parsing, it does not stop at 2M character strings.
Environment Details:
AIX $ KSH Version M-11/16/88f
linux unix bash ksh
javapadawan Jan 17 '13 at 20:13 2013-01-17 20:13
source share