fixed recursive search of stdin grep wrapper