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

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