Re: [dwm] dmenu, slock patches; slock DPMS crash

From: Jukka Salmi <j+dwm_AT_2008.salmi.ch>
Date: Tue, 8 Apr 2008 08:29:02 +0200

Hello,

Peter Hartlich --> dwm (2008-04-08 00:22:13 +0200):
[...]
> >> uptodate() {
> >> - test ! -f $CACHE && return 1
> >> + test -f "$CACHE" &&
> >> for dir in $PATH
> >> do
> >> - test $dir -nt $CACHE && return 1
> >> + test ! $dir -nt "$CACHE" || return 1
> >> done
> >> - return 0
> >> }
>
> > Why? This is equivalent...
>
> Besides the quoting, one and a half lines less. :)

;-) (I missed the quoting; that's fine of course.)

> > Not all sort(1)s have a -u option.
>
> Whoops, sorry then. I had checked SuS, heirloom toolchest, the autoconf
> portability manual and DJB's portability notes and none of them mentioned
> a missing -u option.

http://www.suckless.org/pipermail/dwm/2007-February/002128.html

Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
Received on Tue Apr 08 2008 - 08:29:03 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:31:58 UTC