1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

* Oops. Added some files to make "make update-po" work.

This commit is contained in:
Dan McGee 2007-02-08 05:36:26 +00:00
parent a7df172bee
commit 2df13b6e8f
4 changed files with 42 additions and 0 deletions

View File

@ -4,3 +4,5 @@ Makefile.in
POTFILES
stamp-po
remove-potcdate.sin
remove-potcdate.sed

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
}

View File

@ -4,3 +4,5 @@ Makefile.in
POTFILES
stamp-po
remove-potcdate.sin
remove-potcdate.sed

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
}