1*e6d6c189SCody Peter MelloBEGIN { 2*e6d6c189SCody Peter Mello data = "abc:easy:as:one:two:three" 3*e6d6c189SCody Peter Mello FS = ":" 4*e6d6c189SCody Peter Mello FIELDWIDTHS = "3 1 4 1 2 1 3 1 3 1 5" 5*e6d6c189SCody Peter Mello n = split(data, a) 6*e6d6c189SCody Peter Mello printf "n = %d, a[3] = %s\n", n, a[3] 7*e6d6c189SCody Peter Mello} 8