Thanks for the help..I think I make a basic mistake with the path/filename because on each suggestion I tried I receive always the same error message:
/inputfile/data/xxx/yyy/update/name_20110127.txt,128,EPF,11 not found
so I implement the path:
Jurgen
---------- Post updated at 05:42 AM ---------- Previous update was at 05:29 AM ----------
Quote:
Originally Posted by pravin27
How about this,
thanks for the answer..
the perl stuff seems to work (from the shell output) but the sourcefile input.txt is the same like before...there is no overwrite of the file
Below code will take backup of inputfile as inputfile.old before processing and then modify the inputfile
thanks for you usefull help. It seems to work on the example I sent (I will do some tests and I hope its will work on each different line I have,- its not really clear for me what you are doing, especially in the second part of the line "\d{8})/\/\2\/\1\2/'")...
Jurgen
---------- Post updated at 07:51 AM ---------- Previous update was at 07:45 AM ----------
Quote:
Originally Posted by pravin27
Below code will take backup of inputfile as inputfile.old before processing and then modify the inputfile
There is still one issue....in the outputfiles is each line double.