[Commits] remove-potcdate.sin NONE 1.1.2.1
ticho at claws-mail.org
ticho at claws-mail.org
Wed Jan 4 20:37:40 CET 2012
Update of /home/claws-mail/plugins/fetchinfo/po
In directory claws-mail:/tmp/cvs-serv14169/po
Added Files:
Tag: gtk2
remove-potcdate.sin
Log Message:
Added missing file needed for "make dist"
--- NEW FILE: remove-potcdate.sin ---
# 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
}
More information about the Commits
mailing list