Skip to content

A grep that implements KMP pattern search algorithm written in Zig

Notifications You must be signed in to change notification settings

WiserOrb/zig-grep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-grep

  • To execute this program make sure you have installed zig at version 0.9.1
  • You should type zig build run -- {pattern_here} then it will search at examples/file.txt for the pattern you provided.

ex:

zig build run -- ${text_to_find} ${absolute_file_path}
  • Provide the file as an CLI parameter
    • You should provide the file in the absolute format, for example: /User/some_user_name/Documents/file.txt
  • Ignore case sensitivy
  • Increase test coverage

About

A grep that implements KMP pattern search algorithm written in Zig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 100.0%