grep
Search a file for a specified pattern and retrieve the matching lines. Locate relevant content in files by pattern and file path.
Instructions
This function will search for the given pattern in the specified file and return the matching lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| pattern | Yes |