Yesterday I was googling how to merge two files and came across an awk
snippet.
I need a simple merge, so sort -u
is not the way to go, but the code below works.
Could some one please explain what this awk
code does?
awk '!a[$0]++' file_1 file_2