Blame po/remove-potcdate.sin

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