https://github.com/ralvarezdev/uru-minigrep
My version of Linux's Grep tool. College assignment
https://github.com/ralvarezdev/uru-minigrep
cpp grep grep-like rafael-urdaneta-university universidad-rafael-urdaneta uru
Last synced: 2 months ago
JSON representation
My version of Linux's Grep tool. College assignment
- Host: GitHub
- URL: https://github.com/ralvarezdev/uru-minigrep
- Owner: ralvarezdev
- License: gpl-3.0
- Created: 2023-10-04T23:11:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-28T20:53:40.000Z (over 1 year ago)
- Last Synced: 2025-01-23T09:13:43.011Z (3 months ago)
- Topics: cpp, grep, grep-like, rafael-urdaneta-university, universidad-rafael-urdaneta, uru
- Language: C++
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minigrep
This repository contains the source code of the Minigrep Terminal Program, which is based on the grep Program for Linux, developed by:
## Developer
- Ramón Álvarez (ralvarezdev).
## Programming Languages
Only C++.
## Getting Started
To get started with the Minigrep source code, follow these instructions.### Installation
1. Create a folder named as ```minigrep```. Change the Current Working Directory to that one.2. Clone this repository to your local machine using the following command:
```git clone https://github.com/ralvarezdev/minigrep```3. To successfully compile this program, use the following command:
```g++ -o bin\main.exe src\lib\main.cpp src\lib\rgbColor.cpp src\lib\rgbColor.h src\lib\input.cpp src\lib\input.h src\lib\ansiCodes.h src\lib\filesOp.cpp src\lib\filesOp.h``` (You must have MinGW Compiler installed in your local machine).4. Run the program by clicking the```main.exe``` inside the ```bin``` folder or by using a single-line command as:
```.\bin\main.exe phrase to find... filepath...``` (You must enter your own filepath and your own phrase to highlight).## Commands
### Run
```phraseToHighlight... filePath...``` To Highlight the Phrase### Change Text Colors
```-c``` Change Background and Foreground Color
```-b``` Change Background Color
```-f``` Change Foreground Color### Help
```-h``` Help