File: remove-potcdate

package info (click to toggle)
dgit 14.3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 4,396 kB
  • sloc: perl: 14,084; sh: 7,447; makefile: 346; python: 334; tcl: 69
file content (11 lines) | stat: -rwxr-xr-x 156 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
#! /usr/bin/perl -n

BEGIN {
    $seen_potcdate = 0;
}

if (not $seen_potcdate and /^"POT-Creation-Date: .*"/) {
    $seen_potcdate = 1;
    next;
}
print;