Blame po/remove-potcdate.sin

Packit Service fdd496
# Sed script that remove the POT-Creation-Date line in the header entry
Packit Service fdd496
# from a POT file.
Packit Service fdd496
#
Packit Service fdd496
# The distinction between the first and the following occurrences of the
Packit Service fdd496
# pattern is achieved by looking at the hold space.
Packit Service fdd496
/^"POT-Creation-Date: .*"$/{
Packit Service fdd496
x
Packit Service fdd496
# Test if the hold space is empty.
Packit Service fdd496
s/P/P/
Packit Service fdd496
ta
Packit Service fdd496
# Yes it was empty. First occurrence. Remove the line.
Packit Service fdd496
g
Packit Service fdd496
d
Packit Service fdd496
bb
Packit Service fdd496
:a
Packit Service fdd496
# The hold space was nonempty. Following occurrences. Do nothing.
Packit Service fdd496
x
Packit Service fdd496
:b
Packit Service fdd496
}