Question: Assignment 02 CSCI 260: The Unix Environment Create C++ programs to replicate two of the following UNIX commands. Choose one program that generates output and

 Assignment 02 CSCI 260: The Unix Environment Create C++ programs to

Assignment 02 CSCI 260: The Unix Environment Create C++ programs to replicate two of the following UNIX commands. Choose one program that generates output and prints it to standard out and one program that processes information given to it on standard input: . PWD LS TIME TYPE TEE JOIN PASTE EXPAND OD SORT TR CUT UNIQ NL CAT, TAC, HEAD, TAIL (Use only one) . . . Other programs may be accepted as well, but you must clear them with me. Make sure to implement each method by which a program can be executed. You do not have to implement any options. For example, depending on the parameters, grep can read from a file (grep keyword filename) as well as from STDIN (cat filename I grep keyword). You do not need to implement any options that use a hyphen in the name (grep -E [0-9]00 file) Each program must have an accompanying makefile that can be used to make, clean, and install/uninstall the program in /usr/local/bin. The make file must also use of variables for the compiler to use, optional flags, the target name, and the install directory When submitting your assignment, each program's source directory should uploaded into Blackboard as a separate compressed tar archive (we'll talk about tar shortly)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!