in reply to Re^2: search for a pattern in file without opening the filein thread search for a pattern in file without opening the file
Yes, as explained in the Exit Status section of the man page.