I have a file with time in it. I need to find the duration between the timestamp by subtracting second row from third row and so on. and wherever it is more than 30 minutes it should display start and end time which have been subtracted
If you did not post homework, please explain the company you work for and the nature of the problem you are working on. And, tell us what operating system and shell you're using. Also, please show us what you have tried to solve this problem on your own.