Skip to content

Vabster/Python-Grep-Command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Python-Grep-Command

Simple Python Grep command

A python module that implements the grep command, including the -v and -x flags.

How to run examples:

python grep.py hello *

This command would print the file name where the keyword "hello" is found" and the text on the line

python grep.py -x hello *
This command would only print lines with exactly match the keyword "hello"

python grep.py -v hello *
This command would only print lines with that do not contain the keyword "hello"

About

Simple Python Grep command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages