though sticking to |uniq
authorAnselm R Garbe <garbeam@gmail.com>
Wed, 9 Apr 2008 22:32:46 +0000 (23:32 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Wed, 9 Apr 2008 22:32:46 +0000 (23:32 +0100)
dmenu_path

index a9ddd47..7896a9e 100755 (executable)
@@ -19,7 +19,7 @@ then
                do
                        test -x "$file" && echo "$file"
                done
-       done | sort -u > "$CACHE".$$ &&
+       done | sort | uniq > "$CACHE".$$ &&
        mv "$CACHE".$$ "$CACHE"
 fi