#! /bin/bash tmp=$(mktemp) cat $DUA_DATABASE > $tmp cat $tmp | awk '{print $1}' | sort