On 24 July 2011 06:34, Dave Reisner <[email protected]> wrote: > if [ "$path" -nt "$CACHE" ]; then
'test -nt' is non-portable. I think you've just discovered why we use the 'ls -dt' hack. I agree that dmenu_run isn't the nicest script in existence. But because of the tedious limitations of POSIX we don't have much choice. On 24 July 2011 13:13, lolilolicon <[email protected]> wrote: > cmd=`dmenu "$@" < "$CACHE"` || exit $? > exec sh -c "$cmd" This could work, I think. I'll check it out. Thanks, cls
