xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.delete1 (revision 5328fc53d11d7151861fa272e4fb0248b8f0e145)
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