Extract Matching Lines from Matching Files
Assert Flag or Scalar Integerish
Check Flag or Scalar Integerish
Extract Lowercase File Extensions
Filter Files by Pattern and Content Type
Identify Files with Known Non-Text Extensions
Identify Files with Known Text Extensions
Detect Null Bytes in a File
Check if Files Are Located in a .git Folder
List Files in Directory
Prepare Tidy Data Frame from Matched Lines
Should CLI Output Be Printed?
Read and Filter Matching Lines in Text Files
Read and Prepare Matching Lines
Extract Matching Lines from Files
seekr: Extract Matching Lines from Matching Files
Provides a simple interface to recursively list files from a directory, filter them using a regular expression, read their contents, and extract lines that match a user-defined pattern. The package returns a dataframe containing the matched lines, their line numbers, file paths, and the corresponding matched substrings. Designed for quick code base exploration, log inspection, or any use case involving pattern-based file and line filtering.
Useful links