Part of the confusion is that the original poster needed grep anyway.
In reply to Re: Re: Re: Re: Re: Re: foreach/map equivalency by chromatic in thread foreach/map equivalency by rob_au