Blame po/remove-potcdate.sin

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