# $Id: strcat.mawk,v 1.2 2001/05/20 06:13:00 doug Exp $ # http://www.bagley.org/~doug/shootout/ BEGIN { n = (ARGV[1] < 1) ? 1 : ARGV[1]; str = "" for (i = 0; i < n; i++) str = str "hello\n" print length(str) }