Crates.io | litegrep |
lib.rs | litegrep |
version | 0.1.2 |
source | src |
created_at | 2024-05-13 16:37:06.892339 |
updated_at | 2024-05-14 08:01:07.991871 |
description | A basic tool for searching in files for lines of text, based on a query. |
homepage | |
repository | |
max_upload_size | |
id | 1238642 |
size | 6,157 |
This tool is the light version of the grep, developed while studing the rust book. It contains basic functionality for searching within a file from the command line.
This project uses cargo as the package manager, therefore to run the program:
cargo run -- [search query] [filepath] [opts]
The only option available is --case-sensitive
. This option enables you to search for words no matter the case of the letters, you can also set it as an environment variable as IGNORE_CASE=true
.
cargo test