HI Guru,
I am newbabe in perl, Could you please help me out.
I am having a file withComma (,) seprater data records. Like below 2 lines
01/09/2008 00:00:00,+99001000000001,http://wap.mysite.com/news/world/ind...00-Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
01/09/2008 00:00:02,+99002000000002,http://wap.mysite.com/news/business/....xx,LGE-CX5450 UP.Browser/6.2.2.3.d.1.103 (GUI) MMP/2.0
--------------------------------------
I would like to replace first filed of the line date (01/09/2008) with adding 5 month in existing date and rest of the data should be same.using perl scripts
Input File:
01/09/2008 00:00:00,+99001000000001,http://wap.mysite.com/news/world/ind...00-Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Result file I need:
01/02/2009 00:00:00,+99001000000001,http://wap.mysite.com/news/world/ind...00-Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Note: date in Input file: 01/09/2008 changed to 01/02/2009 means that scripts should add 5 month into exsiting date in file.
Looking for your response asap.
Thanks
Max