awk ' BEGIN { while ( ++i < 200000 ) { x = x "hello " print ++j ": " length(x) } print x >"a1.out" print j ": " length(x) >>"a1.out" } '