Output file template format
<input_file_name>a</input_file_name>
<total_length_size>b</total_length_size>
<log_10_length_size>c</log_10_length_size>
Input_file_1 (eg. sample.txt)
SDFSDGDGSFGRTREREYWW
Parameter:
a is equal to the input file name
b is equal to the total length of input file
c is equal to the log10 of total length of input file
Desired output file
<input_file_name>sample.txt</input_file_name>
<total_length_size>20</total_length_size>
<log_10_length_size>1.301029996</log_10_length_size>
I got a standard output file template format and plan to generate an output file based on the data detail from input file.
Because I got long list of different input file which shared the share output file template format.
Thus I plan to write a program or shell script to calculate and execute the data detail from input file and link the result to the output file template.