Hi Guys
I am new to Linux Shell Scripting . Can any one help me with this Task...files are attached for reference
Task 1: write a script to generate a large size report file MX0002_new.XML by using the template MX0001_new.XML. Shell script is recomended, and it can run on Linux without any error.
(1) The script can get the startTime from the MX0001_new.XML
(2) According to template MX0001.XML, copy its content to the destination file MX0002_new.XML no less than 1000 times, modify the measurement`s startTime for each time. Here`s an example(MX_EXAMPLE1_new.XML) of the result of copying 3 time. You can modify the template MX0001.XML if it is needed.
(3)Make each measurement`s counter value is different. The value equal to the the current loop time. Here`s an example(MX_EXAMPLE2_new.XML) of the result of copying 3 times. You can modify the template MX0001_new.XML if it is needed