Antonio Macchi wrote:

> what's the rasonable limit in using this "compact" contruct, after which 
>   the for (( i=0; i<1000...; i++ )) became better?

You didn't even bother trying eh?

$ for i in {0..1000000000}; do echo $i>/dev/null; done
bash: xmalloc: ../../../bash/lib/sh/stringvec.c:40: cannot allocate 
8000000016 bytes (0 bytes allocated)

$ for ((i=0;i<=1000000000;i++)); do echo $i>/dev/null; done


Reply via email to