Adding required file to update POT.

ver1_5_1
Christophe Teyssier 2005-07-20 23:22:58 +00:00
parent c973c03f69
commit 3489b4b69e
1 changed files with 19 additions and 0 deletions

View File

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