Skip to content

gamilaaly/FileParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileParser

Using FileParser

  • Arguments required are:

    • Directory of the first text file (ex: /home/user/directory/txtfile.txt)
    • One of the following operations ('p' | 's' | 'm' | 'd')
    • Directory of the second text file
    • Delimiter if any exists (use [-f] followed by first delimiter and [-s] followed by second delimiter)
    • Output Directory (Leave blank to save in the program directory, use [-e] followed by export directory)
    • Separate each argument with a single space
    • ex. ./FileParser <first_file_directory> <operation> <second_file_directory> -f <first_delimiter> -s <second_delimiter> -e <export_directory>
  • Output will be in the same file directory as (results.txt)

  • In case of different file lengths, arrays are concatenated with either 1s - in case of division and multiplication - or 0s - in case of addition or subtraction-

FMT library

Clara Library

  • To install the library and check documentation:

  • To be able to include the library:

    • sudo mkdir /usr/local/include/clara
    • sudo cp Clara/include/clara.* /usr/local/include/clara/
    • sudo cp Clara/include/clara_textflow.* /usr/local/include/clara/

cMake

  • You need to install the CMake program, using the following command:
    • sudo apt-get install cmake
  • To build the program:
    • mkdir build
    • cd build
    • cmake ..
    • make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •