Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhisha1/grep
serves a similar function as grep on C through finding the matching words in a given function
https://github.com/abhisha1/grep
c grep query
Last synced: about 2 months ago
JSON representation
serves a similar function as grep on C through finding the matching words in a given function
- Host: GitHub
- URL: https://github.com/abhisha1/grep
- Owner: Abhisha1
- Created: 2018-02-17T04:41:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-17T05:44:57.000Z (almost 7 years ago)
- Last Synced: 2024-10-28T10:19:23.418Z (3 months ago)
- Topics: c, grep, query
- Language: C
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Grep
Serves a similar function as grep on C through finding the matching words in a given function.
Initially, it checks the command line for an argument/query. If there is some query provided, it proceeds to check if that query is present in the given file. It must check each line for the query and compute each line with an associated score. Then, the final output must be a ranked summary output displaying the lines with the highest score first (based on the score), also displaying the line from the input file and with the line number.