我有以下文本文件,并希望删除时间(第 4 个元素)不是 15 分钟的所有行。间隔。下面是一个文件示例:
224,2012,325,2029,1,0,0,0,0.458,8
224,2012,325,2030,1,0,0,0,0.458,9
224,2012,325,2031,1,0,0,0,0.458,9
224,2012,325,2032,1,0,0,0,0.458,9
224,2012,325,2033,1,0,0,0,0.459,8
224,2012,325,2034,1,0,0,0,0.458,8
224,2012,325,2035,1,0,0,0,0.458,8
224,2012,325,2036,1,0,0,0,0.459,8
224,2012,325,2037,1,0,0,0,0.459,9
224,2012,325,2038,1,0,0,0,0.459,8
224,2012,325,2039,1,0,0,0,0.458,9
224,2012,325,2040,1,0,0,0,0.458,9
224,2012,325,2041,1,0,0,0,0.459,9
224,2012,325,2042,1,0,0,0,0.459,9
224,2012,325,2043,1,0,0,0,0.459,9
224,2012,325,2044,1,0,0,0,0.459,8
224,2012,325,2045,1,0,0,0,0.459,8
224,2012,325,2046,1,0,0,0,0.457,8
与非十五分钟。删除更正文件的间隔应该是:
224,2012,325,2030,1,0,0,0,0.458,9
224,2012,325,2045,1,0,0,0,0.459,8