To add additional features to the search program implemented in Project #2.
Description
The goal of this project is to add additional functionality to the search program implemented in Project #2. In addition to the functionality described in Project #2, the program must support the following command-line options:
1. -e "<unix-command with arguments>"
For each file that matches the search criteria the UNIX command specified with arguments must be executed.
2. -E "<unix-command with arguments>" [Graduate Students Only]
The list of files that matches the search criteria must be provided as an argument to the UNIX command specified.
Note that with the -e option the UNIX command is executed for each file whereas with the -E option the UNIX command is executed only once but uses all the file names as the argument. You must use fork/exec/wait to create a new process to execute the UNIX command.
The UNIX command and any optional arguments are enclosed within double quotes. The program should support -e or -E options in combination with -s and -f options. You can assume that the -e or -E options appear after the -s and -f options.
Guidelines and Hints
1. You should use a Makefile to compile and build this project and make sure to submit the Makefile along with the rest of the source code.
2. You should upload all the source code, Makefile, and a README.txt file to Canvas. Please do not upload any object files or executable files.
Program Documentation and Testing
1. Use appropriate names for variables and functions.
2. Use a Makefile to compile your program.
3. Include meaningful comments to indicate various operations performed by the program.
4. Programs must include the following header information within comments:
4. Test your program with the sample test cases provided as well as your own test cases.
5. You can include any comments you may have about testing in the README.txt file.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of