Determine stale data

Posted by Andrei on Stack Overflow See other posts from Stack Overflow or by Andrei
Published on 2010-06-03T19:12:53Z Indexed on 2010/06/03 19:34 UTC
Read the original article Hit count: 251

Filed under:
|
|

Say I have a file of this format

12:04:21  .3
12:10:21  1.3
12:13:21  1.4
12:14:21  1.3
..and so on

I want to find repeated numbers in the second column for, say, 10 consequent timestamps, thereby finding staleness.

and I want to output the beginning and and end of the stale timestamp range

Can someone help me come up with it?

You can use awk, bash

Thanks

© Stack Overflow or respective owner

Related posts about bash

Related posts about scripting