Question: You have two files in exercise folder. a . programmer b . project c . Cut the programmer _ number fields from the project file

You have two files in exercise folder.
a. programmer
b. project
c. Cut the programmer_number fields from the project file (field 4) and piping the output to the sort
command to place any duplicate numbers together. Pipe the sorted output to the uniq command
to remove any duplicate programmer_numbers. Finally, redirect the output to a temporary file t1.
(The t1 file is a list of programmer numbers that identifies pogrammers who are assigned to
projects.)
d. The next step is to cut the programmer_number field (field 1) from the programmer file, and pipe
the output as you did in Step c. Call the new temporary file t2, which is a list of programmer
numbers that identifies all of the programmers.
e. Now that t1 and t2 are sorted in the same order, you can match them. Use the comm command to
select the lines from t1 that do not match lines in t2, and redirect the output to another file t3,
which lists programmer numbers of all programmers who are not assigned to projects
f. To display the name of unassigned programmers: 1. sort the programmer file in
programmer_number order, and write the output to t4.2. Use the join command to match
programmer_numbers in t4 and t3, and redirect the output to t5. What is t5 containing

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 Programming Questions!