linux print unique values from columns 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