xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.delete1 (revision e6d6c189fa3a95d7aa27bbe0aeacf7c1a6b57c8c)
1*e6d6c189SCody Peter Mello{ split("1 1.2 abc", x)
2*e6d6c189SCody Peter Mello  x[$1]++
3*e6d6c189SCody Peter Mello  delete x[1]
4*e6d6c189SCody Peter Mello  delete x[1.2]
5*e6d6c189SCody Peter Mello  delete x["abc"]
6*e6d6c189SCody Peter Mello  delete x[$1]
7*e6d6c189SCody Peter Mello}
8