On Mon, 14 Nov 2011, Mike Miller wrote:

> Example:
>
> $ for DIR in $(echo $PATH | tr : '\n') ; do find "$DIR" -name 'r?' -type f -executable ; done
> /bin/rm
>
> But I was hoping for something more concise.


This works without the for loop:

$ find $(echo $PATH | tr : '\n') -name 'r?' -type f -executable
/bin/rm

I'm not sure how it fares if there is a space in a path -- it might depend 
on ${IFS}.

Mike