mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-10 11:35:00 -05:00
a4a7006a13
This is the first step at separating the pacman message catalog and the scripts message catalog. Makefiles, configure.ac, and other such files are adjusted accordingly, as well as renaming files. The TEXTDOMAIN of scripts is also adjusted. Note that no actual pot or po files get changed here; these will get pruned in a future commit so each catalog contains only the necessary messages. Signed-off-by: Dan McGee <dan@archlinux.org>
20 lines
432 B
Plaintext
20 lines
432 B
Plaintext
# 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
|
|
}
|