Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages