Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 625 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 625 Bytes

Pygrep

Implementation of grep command using python script

How to Use

-The syntax is: python grep.py [regular expression] [file pattern] [path to search in]

-eg. python grep.py help *.txt C:\Users

-The program will output the line which contains the string.

commands:

-r --recursive = search the path to search in recursively

-i --ignore-case = ignore case sensitivity

-m --invert-match = select non-matching lines

Author

Johnzel Tuddao - Initial work - J0hnZMT

License

This project is licensed under the MIT License - see the LICENSE.md file for details