Question
Linux Using PuTTY - AWK Using the following data file (delimited by a space or tab) named (section9.5.input) November 650 January 225 June 380 March
Linux Using PuTTY
- AWK
Using the following data file (delimited by a space or tab) named (section9.5.input)
November 650
January 225
June 380
March 200
April 227
May 356
July 409
August 325
September 400
February 396
October 347
December 204
Write a script named (section9.5.sh) that will use AWK to process the data file line by line. The script will send the output to file (section9.5.out) in the following format:
Month Sales
-------- -------
January 225
February 396
March 200
April 227
May 356
June 380
July 409
August 325
September 400
October 347
November 650
December 204
======
Total show the total
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started