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

1.1       root        1: {for(i=1; i<=NF; i++) {
                      2:        if (x[$i] == "")
                      3:                y[n++] = $i
                      4:        x[$i]++
                      5:  }
                      6: }
                      7: END {
                      8:        for (i=0; i<n; i++)
                      9:                print (y[i], x[y[i]])
                     10: }

unix.superglobalmegacorp.com

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