summaryrefslogtreecommitdiff
path: root/backomp
diff options
context:
space:
mode:
Diffstat (limited to 'backomp')
-rwxr-xr-xbackomp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backomp b/backomp
index 3862a6a..0580750 100755
--- a/backomp
+++ b/backomp
@@ -30,6 +30,10 @@ BEGIN {
wshift = (11 - arr2[opt_week_start])*24*60*60
}
+NR == 1 {
+ ++keep[$1]
+}
+
{
t = mktime(gensub(/(.*\/|^)(.+)-(..)-(..)-(..)(..)(..)/,
"\\2 \\3 \\4 \\5 \\6 \\7", 1), 1)