Skip to content

abderrahimAMZ/grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perg

CI codecov

Grep implementation in rust.

Features

  • search in single file.
  • show line number (-n or --line-number)
  • ignore case sensitive (-i or --ignore-case)
  • search in more files (i.e. perg file.txt file.txt)
  • search from stdin (i.e. perg - or perg lol -)
  • search from stdin with pipe (i.e. cat ./Cargo.toml | perg author)
  • search in a directory.
  • search recursive (-r or --recursive)
  • search recursive following symlink (-R or --dereference-recursive)
  • exclude some dir (--exclude-dir=folder)

Contributing

Any helps or suggestions will be appreciated.

About

developing grep in rust using the Clap parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages