[EMAIL PROTECTED] --> dwm (2007-05-12 20:36:44 +0200): > I created new, simpler version, withou $PATH changes, without tempfile > etc. It only check if in directories in $PATH doesn't happen something > from last recreation of cache. [...] > I used $HOME instead '~' is this ok?
Your patch looks (and works) fine! To be compatible with old shells you should be careful when test(1)ing a potentially unset or empty variable; i.e. use `test x$var != x' instead of `test $var'. However, nowadays probably nobody uses such shells anymore... ;-) Regards, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~
