On 28 November 2011 14:43, Christian Neukirchen <chneukirc...@gmail.com> wrote: > All supported except for -maxdepth, but you can use: > > find -L . -type d \! -name . -prune -o -type f -perm -111 -print
I've seen things like this before. All it does is prove how much find needs replacing. I'm considering using stest (lstest?) to reduce dmenu_run to something like: > #!/bin/sh > ( > IFS=: > cache=${XDG_CACHE_HOME:-"$HOME/.cache"} > if stest -dqr -n "$cache/dmenu_run" $PATH; then > mkdir -p -m 0700 "$cache" > stest -flx $PATH | sort -u | tee "$cache/dmenu_run" | dmenu "$@" > else > dmenu "$@" < "$cache/dmenu_run" > fi > ) | exec ${SHELL:-"/bin/sh"} This seems far nicer, to me, than some find monstrosity. cls