'egrep will pick out any lines that contain characters that match the pattern, so in this case, it will pick out any lines containing an apostrophe, which is what the question asks for.
You do not want any other characters in the file, except the end-of-line.
You especially do not want any extra space or tab characters, and you must not have more than one line!