The question How can I use grep to extract all IP addresses contained in all the files within a directory and sub-directories? looks pretty straightforward to me.
The first time I read it, I understood that OP wanted to find IP addresses that may be present in files contained in a folder and it's subfolders. Yet, the closing reason is "Unclear what you're asking".
Am I the only one to understand what OP wants at first sight?
Edit: It was on the Re-open queue