Expand description
§andersonpgrep
andersonpgrep
is a cmd tool to find text in a lines of text
how to run:
andersonpgrep <query> <path to file>
to run in ignorecase set the enviroment variable to any value
for example: in unix
IGNORE_CASE=1 andersonpgrep hello file.txt
or using powershell in windows
$env:IGNORE_CASE=1
the run
andersonpgrep hello file.txt
Modules§
Structs§
- Config
- the configuration struct to build one, consumes iterator #Examples
Functions§
- run
- Driver code
- search
- searches all lines containing query, in a case-sensitive fashion
- search_
case_ insensitive - searches all lines containing query, in a case-insensitive fashion