Skip to content

Godod/grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grep utility on Python

Extremely limited version of grep linux utility on Python language.

Requirements

Python 3.7

Usage:

usage: grep.py [-h] [-v] text filepath

Grep utility on Python

positional arguments:
  text        Text to find in file. Can be a regex.
  filepath    Path to file

optional arguments:
  -h, --help  show this help message and exit
  -v          Print lines which do not contain a text

Tests

All tests can be found at tests.py file.

To call a tests just write

python tests.py

About

Python analog of grep linux utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages