Skip to content

Saptarshi2001/grp-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grp

grp is a cli grep tool written in C for searching text patterns in files.It is built so as to understand the inner workings of grep.As of now what grp does is:-

  • Find text patterns that start with a specific sequence in the beggining
  • Find text patterns that contains a specific character
  • Find text patterns that contains of all expressions
  • Find text patterns that contains a digit

Getting Started

To compile and run the program, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/your-repo.git
  2. Compile the main file by running the following the command : gcc -o grp grp.c
  3. After compiling the files, run the executable:grp.exe

Usage

Once the program is running, you can enter commands in the shell prompt. Here are some examples:

  • For finding text with a particular sequence in the beggining
grpbeginning.mp4
  • For finding text with a particular character
grp.character.mp4
  • For finding all the text present in the file
grp.all.mp4
  • For finding text containing a digit
grp.digits.mp4

System requirements

  • Windows 7 or higher
  • linux
  • Gcc compiler

Roadmap

  • Finding text patterns ending with a paticular sequence
  • Finding patterns of more than one file simultaneously
  • Case insensitive search
  • Case sensitive search

Contributing

  • This project is under development.Feel free to contribute to it.

Releases

No releases published

Packages

No packages published

Languages