Why cat something and pipe it into grep when grep can easily search a file by itself. It’s like taking your car to the dealership so you can change your own oil. What? No that doesn’t really make any sense. But neither does piping cat into grep. If you’re dealing with large files or complicated expressions, the reason you shouldn’t cat something into a pipe just to grep it becomes obviously clear.