Skip to content

Terminal CLI application of a multithreaded grep implementation written in Go for substring searching within files

License

Notifications You must be signed in to change notification settings

jmarron7/go-mgrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mgrep

Summary:

Multithreaded grep clone that can do simple substring searching within files.

Features

  • Auto-recurses into subdirectories and uses goroutines to search through the files for a substring match
  • Displays matches to the terminal as they are found
  • Displays the line number, file path, and complete line containing the match

Syntax: go run ./mgrep search_string search_dir

Screenshot of sample output

This is an example of the output when using func as the search_string at the root of this directory

About

Terminal CLI application of a multithreaded grep implementation written in Go for substring searching within files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages