Further to below mentioned mail , How to collect ata for weekly basis , like 01/04 -- Data1 Data2 Data3 01/11 -- Data1 Data2 Data3 01/18 -- Data1 Data2 Data3 And so on One thing I can do is tail the last 7 lines of daily data file and put in some file so that I have to run the job only in that file - 01/12 Data1 Data2 Data3 01/13 Data1 Data2 Data3 ... 01/18 Data1 Data2 Data3 Thanx > -----Original Message----- > From: Anand, Pankaj [SMTP:Pankaj.Anand@bestbuy.com] > Sent: Wednesday, January 23, 2002 11:57 AM > To: 'Beginners (E-mail) > Subject: Help reqd. for collecting data > > Hi , > I am having one text file in this format > 2002_01_17_2345 8 9 0 0 36 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0000 2 2 0 0 38 0 0 0 28 0 28 0 0 0 0 > 2002_01_18_0015 8 9 0 0 38 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0030 2 3 0 0 46 0 0 2 30 0 28 0 0 0 0 > 2002_01_18_0045 8 9 0 0 36 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0100 2 2 0 0 38 0 0 0 28 0 28 0 0 0 0 > 2002_01_18_0115 8 9 0 0 46 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0130 2 3 0 0 36 0 0 2 30 0 28 0 0 0 0 > 2002_01_18_0145 8 9 0 0 38 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0200 2 2 0 0 38 0 0 0 28 0 28 0 0 0 0 > 2002_01_18_0215 8 9 0 0 46 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0230 2 3 0 0 36 0 0 2 30 0 28 0 0 0 0 > 2002_01_18_0245 8 9 0 0 38 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0300 2 2 0 0 38 0 0 0 28 0 28 0 0 0 0 > 2002_01_18_0315 8 9 0 0 46 0 0 2 24 0 22 0 0 0 0 > 2002_01_18_0330 2 3 0 0 36 0 0 2 30 0 28 0 0 0 0 > This is collecting some result after every 15 minutes.I want to capture > day > specific data that should be like > Date (Sum of all the values of particular coloumn) > 2002_01_18 100 100 20 ....so on > > I think with perl it'll be easy to do it... > > Thanx > > > > -- > To unsubscribe, e-mail: beginners-unsubscribe@perl.org > For additional commands, e-mail: beginners-help@perl.org >