Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Linux using PuTTY Using the following data file (delimited by a space or tab) named (section9.4.input) November 400 January 200 June 400 March 200 April

Linux using PuTTY

Using the following data file (delimited by a space or tab) named (section9.4.input)

November 400

January 200

June 400

March 200

April 200

May 300

July 400

August 300

September 400

February 300

October 300

December 200

Write a script named (section9.4.sh) that will use a loop structure to process the data file line by line. The script will send the output to file (section9.4.out) in the following format:

Month Sales

-------- -------

January 200

February 300

March 200

April 200

May 300

June 400

July 400

August 300

September 400

October 300

November 400

December 200

======

Total show the total

Average show the average

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

57 Occupational injury and illness compensation and programs.

Answered: 1 week ago