1 unstable release

new 0.3.0 Feb 9, 2025

#18 in #search-path

MIT license

5.5MB

Contains (WOFF font, 400KB) NanumBarunGothic-13b3dcba.ttf.woff2, (WOFF font, 135KB) FiraSans-Medium-e1aa3f0a.woff2, (WOFF font, 130KB) FiraSans-Regular-0fe48ade.woff2, (WOFF font, 82KB) SourceSerif4-Bold-6d4fd4c0.ttf.woff2, (WOFF font, 77KB) SourceSerif4-Regular-6b053e98.ttf.woff2, (WOFF font, 45KB) SourceCodePro-It-fc8b9304.ttf.woff2 and 3 more.

grrs_clone

A command-line tool to search files, written in Rust. Following the tutorial here: (https://rust-cli.github.io/book/tutorial/)[Rust Client Tutorial]

Installation

cargo install grrs_clone

Usage

grrs_clone <pattern> <path>

Where:

pattern: The text pattern to search for path: The path to the file to search in

Example

grrs_clone "hello" test.txt

Changelog See the CHANGELOG for a list of all notable changes.

License

This project is licensed under:

MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)


lib.rs:

grrs_clone is a command line search tool that finds occurrences of a pattern in a file.

Features

  • Search for text patterns in files
  • Case-sensitive search
  • Line-by-line output of matches

Performance

The tool reads files line by line to handle large files efficiently without loading the entire file into memory.

Dependencies