Last Updated: February 25, 2016
·
491
· shanemcd

Clean up $PATH (removes duplicated dirs)

echo "$PATH" | /usr/bin/awk -v RS=':' -v ORS=":" '!a[$1]++'