hpc_search_in_file
Search a file for a basic regex pattern on a SLURM cluster. Streams matches line by line, so you can safely inspect huge files and view surrounding context.
Instructions
grep a file for a pattern (basic regex). Streams, so safe for huge files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path on the cluster | |
| pattern | Yes | ||
| context_lines | No |