Skip to content

ayushsrawat/grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grep

A custom Grep-like utility written in Go that allows searching for a keyword in files and directories.

Quick Start

    git clone https://github.com/ayushsrawat/grep.git &
    cd grep
    go build .
    ./grep [Options] <Keyword> <Where>

Dependencies

  1. pflag
  2. color

Ideas

  • -v invert flag support
  • -f file name search
  • -x search regex
  • -r 1 level of recursive depth
  • -n count occurence of the exact pattern
  • -c case sensitive // By default GREP should be in-case-sensitive

About

Global search for the regular expression utility

Resources

License

Stars

Watchers

Forks

Contributors

Languages