Fix building with libxml2-2.12.0
[shigofumi.git] / po / remove-potcdate.sin
blob8c70dfbf1488022cd0da639ad521ade041d31c27
1 # Sed script that removes the POT-Creation-Date line in the header entry
2 # from a POT file.
4 # Copyright (C) 2002 Free Software Foundation, Inc.
5 # Copying and distribution of this file, with or without modification,
6 # are permitted in any medium without royalty provided the copyright
7 # notice and this notice are preserved.  This file is offered as-is,
8 # without any warranty.
10 # The distinction between the first and the following occurrences of the
11 # pattern is achieved by looking at the hold space.
12 /^"POT-Creation-Date: .*"$/{
14 # Test if the hold space is empty.
15 s/P/P/
17 # Yes it was empty. First occurrence. Remove the line.
22 # The hold space was nonempty. Following occurrences. Do nothing.