Shell using awk unsorted de-duplication (the easiest de-duplication method ever)

Shell using awk unsorted de-duplication (the easiest de-duplication method ever)

awk '!a[$0]++' file
or
cat file | awk '!a[$0]++'

Comments

Popular posts from this blog

Python Receiving and parse JSON Data via UDP protocol

ubus lua client method and event registration code demo/example