Re: [dwm] dwm-0.7

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Mon, 07 Aug 2006 09:22:39 -0400

On Mon, 2006-08-07 at 09:08 +0200, Anselm R. Garbe wrote:
> #define KEYS \
> [...]
> { 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`" } }, \
> [...]

There are a couple of extra "s in the above. This works for me:
#define KEYS \
        [...]
        { 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`" } },
        [...]

-RPM
Received on Mon Aug 07 2006 - 15:22:41 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:00 UTC