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