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