Blame po/remove-potcdate.sin

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