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 programmernumber fields from the project file field 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 programmernumbers. Finally, redirect the output to a temporary file t
The t file is a list of programmer numbers that identifies pogrammers who are assigned to
projects.
d The next step is to cut the programmernumber field field from the programmer file, and pipe
the output as you did in Step c Call the new temporary file t which is a list of programmer
numbers that identifies all of the programmers.
e Now that t and t are sorted in the same order, you can match them. Use the comm command to
select the lines from t that do not match lines in t and redirect the output to another file t
which lists programmer numbers of all programmers who are not assigned to projects
f To display the name of unassigned programmers: sort the programmer file in
programmernumber order, and write the output to t Use the join command to match
programmernumbers in t and t and redirect the output to t What is t containing
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
