Xinqi Bao's Git

if isatty() first read from stdin and then grab the keyboard, otherwise first grab...
[dmenu.git] / dmenu_path
index 4ecf4fa..f64c82e 100755 (executable)
@@ -6,4 +6,4 @@ do
        do
                test -x "$file" && echo "${file##*/}"
        done
        do
                test -x "$file" && echo "${file##*/}"
        done
-done | sort -u
+done | sort | uniq