Skip to content

A useful command-line program to search any page, document or book for various phrases or words. A simple search engine!

Notifications You must be signed in to change notification settings

jadonhansen/Telescope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telescope© A light in the dark 💡

Task: A program that takes in a file or document (text based) as an argument and provides the user with various search options. It will then search the document for what the user has asked for and outputs the respective results.

Search Options:

-By word
-By phrase
-By line number (not page number)

Further search options for a Word or Phrase search:

-Every instance
-The first instance
-The last instance

Using the program: (only on MacOS)

1. run the command 'Make' in your terminal (in the folders location)
2. type the command "./Telescope filename.txt" (with your document/file)
3. ;)

Main concepts learnt:

1. lists
2. file descriptors
3. string manipulation
4. program flow using 'goto' statements
5. standard input (terminal)

A personal project. 28/09/2019

About

A useful command-line program to search any page, document or book for various phrases or words. A simple search engine!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published