Blame po/remove-potcdate.sin

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