Skip to content

dattatreya97/minigrepCmdTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minigrepCmdTool

A command Line tool that searches for a given string in a specified path

It's built using Rust, and the project is part of Rust lang book (https://doc.rust-lang.org/book/title-page.html)

How to use

On Command line:

CASE_INSENSITIVE=X cargo run Type Query Path
X : 0 = case sensitive, 1 = case insensitive
Type : file for file , dir for Directory
Query : Required String
Path : Interested path

To perform some tests:
Command line : cargo test
These are self written tests, can be found in a module name tests in src/lib.rs

Features

  1. Directory search support : ADDED
  2. Highlighted output for query : TO-DO
  3. More information about seach results : TO-DO

About

A command line search tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages