grep

Function

ArgDescriptionType
pathpath to open.string (required)
accessorAn accessor to use.string
keywordsKeywords to search for.list of string (required)
contextExtract this many bytes as context around hits.int

Description

Search a file for keywords.

DEPRECATED: Use yara() instead.