Oh sorry, I forgot to add that. Here is a sample:
John 24000 Customer Service
Mary 45020 Finance
Ted 33000 Human Resources
Jim 30500 Factory
Larry 32100 Shipping
Susan 34050 Accounting
Jack 15400 Delivery
Tim 50234 Management
Lee 34650 Accounting
Nick 23450 Shipping
I would lke to add to this question if I may.
I would like this awk to display total expenditures on salaries they are located in the second field. Then I would like it to display the total expenditures as a footer of the output. Here is my awk...
BEGIN {
print "\n\n\n Total Salary...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.