Blame po/remove-potcdate.sin

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