X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dmenu_path;h=7896a9e957fa1e274805c0641c841a6b82334667;hb=64232883947e37ac64938c8dd0ecd878f1547656;hp=a9ddd473aa7239fc0cdc3e9b8c33f66d958881d0;hpb=7195e941c1cb91e347a9c906203ad39245deabd6;p=dmenu.git diff --git a/dmenu_path b/dmenu_path index a9ddd47..7896a9e 100755 --- a/dmenu_path +++ b/dmenu_path @@ -19,7 +19,7 @@ then do test -x "$file" && echo "$file" done - done | sort -u > "$CACHE".$$ && + done | sort | uniq > "$CACHE".$$ && mv "$CACHE".$$ "$CACHE" fi