From: Anselm R Garbe Date: Wed, 9 Apr 2008 22:32:46 +0000 (+0100) Subject: though sticking to |uniq X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=64232883947e37ac64938c8dd0ecd878f1547656;p=dmenu.git though sticking to |uniq --- 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