From: Anselm R.Garbe Date: Wed, 16 Aug 2006 07:05:58 +0000 (+0200) Subject: simplified sort | uniq into sort -u (on my boxes all sort support -u) X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=80bf2aa5592da311fb712e63b66aeec560df2b56 simplified sort | uniq into sort -u (on my boxes all sort support -u) --- diff --git a/config.arg.h b/config.arg.h index c9c2ad8..88343da 100644 --- a/config.arg.h +++ b/config.arg.h @@ -22,7 +22,7 @@ static Key key[] = { \ { .cmd = "exec urxvt +sb -tr -bg black -fg '#eeeeee' -fn '"FONT"'" } }, \ { MODKEY, XK_p, spawn, \ { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \ - "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ + "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \ { MODKEY, XK_j, focusnext, { 0 } }, \ { MODKEY, XK_k, focusprev, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \