RicardoPereira
Programmer
Hi,
I'am trying to develop a script to backup my data and logs of informix. After backup i put the output in a file. Then what i want is serach the number of the log in the output file and rename the file "tdata.dat" to "tdata_6542.dat" (this is an example). How can i search this value ?? It is always different. I think it is always in the line 10 and the number begins always after the text "Log: "
Any suggestion ??
Thanks
Ricardo
I'am trying to develop a script to backup my data and logs of informix. After backup i put the output in a file. Then what i want is serach the number of the log in the output file and rename the file "tdata.dat" to "tdata_6542.dat" (this is an example). How can i search this value ?? It is always different. I think it is always in the line 10 and the number begins always after the text "Log: "
Any suggestion ??
Thanks
Ricardo