[bash] Remove duplicate entries in a Bash script