Hi
I have file whose name to be appended by a value in the same file
The value starts from the position 10 and ends at position 30 , this value is same in the whole file. We have to trim the spaces if it has any spaces at its end.
the file is fixed width file
example
filename: test1
values in test1
abc 34rtst kkkkdafdf
kfl 34rtst kjdfada;lk
dfa 34rtst adddfjadf
the file name should be renamed to test1_34rtst