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