awk/testdir/t.delete1

8 lines
99 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
{ split("1 1.2 abc", x)
x[$1]++
delete x[1]
delete x[1.2]
delete x["abc"]
delete x[$1]
}