awk: Find and Replace text, database sort/validate/index