sorting was apparently not the problem last time, although we have seen it be a problem before. the checkin on a host with feisty meow in home is still running the checkins twice, and this change just adds some debugging to see wtf.
function uniquify()
{
# change the eol character so things are easier.
+echo "list before uniquify: $*" >~/uniquify.out
HOLDIFS="$IFS"
IFS=' '
# do the uniquification.
- echo $* | sort | uniq
+ local chewed="$(echo $* | sort | uniq)"
+ echo $chewed
+echo "list after uniquify: $chewed" >~/uniquify.out
# return the former eol characters to their place.
IFS="$HOLDIFS"
}