Skip to content

guerinoni/perg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 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.