Well I know this is probably the last thing you want to be reading but I have indeed been struggling in my intro to linux class. And I have an assignment due 10/30 that is kicking my bum.
I will post details.
Write a bash shell script that presents work information of employees of a department from a company data set. The script file should be called "extract" and should be invocable as
from the command line. The company data set layout
is presented in six data files
with the following field descriptions
The script should accept a name of a project (ProductX/ProductY/ProductZ/Computerization/Reorganization/Newbenefits) and output
* the name of the project
* the total number of hours worked by all employees on that project
* the last name of each employee work for the project along with the last name of his/her department's manager (not supervisor)
Also, the script should prompt the user and repeat the task for another project name if requested.
Here is a sample output
for the script. You may need to use the following Linux commands: awk, cut, echo, for, grep, if, join, let, read, sort, tr, trap, wc, while . Make sure to sort the input files of join commands on the join field.
Please let me know if you cant access the files, thanks for the help if any.