distinct.sh with comments