Hello, maybe too easy but I dont find the way....
I am processing (ksh) hourly a textfile with following content:
the length of the row (after *.txt) is varying but before .txt is always the date.I would like to copy the date und add it just after update/ to get following structure:
Does anyone has an idea/easy way how to solve this issue?
ok thanks for the reply.the name of the textfile is "input.txt". As I understand it correctly....you are searching for "name" and copy the numbers after. but "name" is also varying (red_20110127.txt, geen_20110127.txt)....
the only constant in each row is that the date is always before .txt and the date should be additionally always after "update"........sorry that my post was not too clear