Windows
Finding all references of XXXX in a file
> findstr /c:"XXXX" filename.log >> results.log
Finding all references of XXXX in all files
> findstr /s /c:"XXXX" *
findstr | Microsoft Docs
Windows Commands topic for findstr.
Finding all references of XXXX in a file
> findstr /c:"XXXX" filename.log >> results.log
Finding all references of XXXX in all files
> findstr /s /c:"XXXX" *