Skip to content

LAYGATOR/grep_clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A grep clone made in rust to learn the language.

build and install:

You need rustc and cargo.

First clone this repo:

git clone https://github.com/shamlees/grep_clone.git

Inside the folder use cargo run to compile and open the program. The [query] is the word you want to find, and [file_name] is the path to your file and its name example: hi C:\Documents\test.txt.

cargo run [query] [file_name]

By default it's case sensitive to make it case insensitive run:

in Bash:

CASE_INSENSITIVE=true

in Powershell:

$env:CASE_INSENSITIVE = 'true'

in CMD:

set CASE_INSENSITIVE="true"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages