Weirdgrep is a tool that allows you to search through huge files (initially designed to look through pages of code).
bash
$ cargo install weirdgrep
```bash $ weirdgrep -h weirdgrep 1.0.2 Vaelio archelio@protonmail.com Regex parser to search through files.
USAGE:
weirdgrep [OPTIONS]
ARGS:
OPTIONS:
-a, --add-markers Add markers to better show which line matched
-h, --help Print help information
-n, --numbers Print line numbers for each printed lines starting from 0
-V, --version Print version information
-w
By default the tool will search for \ It is usefull when you want to extract for exemple every functions of a code page where the signature matches \ You can further improve the granularity by adding the -w \ ```bash
$ weirdgrep 'Function<.+' 'EndFunction' -w '.+/invite/.+' instructions.hasm -n
1660535: Function $ wc -l instructions.hasm
1750287 instructions.hasm ```Example