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