🚀 Grep, but FAST! Uses multi-threading to grep very large files
- Run
cargo build --release
to build the binary. - Execute binary at
./target/release/fastgrep
. - Add to your
PATH
by runningcp target/release/fastgrep /usr/local/bin/
.
fastgrep 0.3.1
Zak Cutner (https://zakcutner.uk)
Grep, but FAST! Uses multi-threading to grep very large files
USAGE:
fastgrep [FLAGS] [OPTIONS] <PATTERN> --jobs <NUMBER> --size <NUMBER>
FLAGS:
-h, --help Prints help information
-r, --regex Enables regular expression patterns
-V, --version Prints version information
OPTIONS:
-c, --colour=<WHEN> Sets when the output should be coloured, can be `auto', `always' or `never'
-j, --jobs <NUMBER> Sets number of jobs to run in parallel, must be at least one
-s, --size <NUMBER> Sets number of lines to include in each job, must be at least one
ARGS:
<PATTERN> Pattern to grep for within the given input
- Requires Rust to be installed, can be obtained from here.
- Greater job sizes will result in more lines being loaded into memory at once.
- Please open an issue for any questions!