Question: need shell script for the following Thank you In fixed-length or fixed-format records, each field starts and ends at the same place in every record.
need shell script for the following
Thank you
In fixed-length or fixed-format records, each field starts and ends at the same place in every record. A data file that contains data records of equal and constant length might be organized as follows: aaaaabbbbbbcccccdddddddddd eeeeeffffffgggghhhhhhhhhhh iiiiijjjjjjkkkkk1111111111 The illust rated data file has three records - one record on each line. Each record is m ade up of twenty six characters split across four fields. When you define a fixed-length format, you specify the length of each field using a fixed-length record file definition: Write a shell script, ar. sh, to process a file defined by the record file definition illustrated previously. The script must generate an output file for each unique Tag Number. Each output file shall be named after the corresponding tag. The lines in each file contain two fields separated by a comma: A date, and a cumulative dollar amount equals to the sum of Amount Paid up to and including the corresponding date
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
