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