updated bash func uniq