Geetha Weerasooriya am Sonntag, 3. September 2006 08:19: > Hi Dear all, Hi Geetha Weerasooriya
> I have a data file for bus trajectories where bus location at each > second along the route is given. The specified route for the bus is from > origin (Point A) to Destination (Point B) , but sometimes bus has > changed the route at a point (Point C) in between A and B and has gone > in some other route. I want to remove these data lines relevant to A > to C when the bus changes the route. In other words, I want to keep only > the data where bus had completed the trajectory from Point A to B. > > Can some one please help me? I am still new to perl. It shurely can be done with perl, but I think you have to provide more info so somebody can help: How does the data look and what's its meaning? (How can the points A/B/C be identified?) What did you try so far? Dani -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>