Annotation of 43BSDReno/usr.bin/awk/test/t.getline, revision 1.1.1.1

1.1       root        1: { x = $1
                      2:   for (i = 1; i <= 3; i++)
                      3:        if (getline)
                      4:                x = x " " $1
                      5:   print x
                      6:   x = ""
                      7: }
                      8: END {
                      9:   if (x != "") print x
                     10: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.