extract unique values from column awk code example
Example: bash print unique entries in specific column
# Short answer:
# An easy way to do this is with an awk array/dictionary.
# Google: "bash print keys of awk array" for the Grepper answer on this