summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin')
-rw-r--r--meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin25
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin b/meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin
deleted file mode 100644
index 8c70dfbf14..0000000000
--- a/meta/recipes-core/gettext/gettext-minimal-0.21/remove-potcdate.sin
+++ /dev/null
@@ -1,25 +0,0 @@
1# Sed script that removes the POT-Creation-Date line in the header entry
2# from a POT file.
3#
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.
9#
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: .*"$/{
13x
14# Test if the hold space is empty.
15s/P/P/
16ta
17# Yes it was empty. First occurrence. Remove the line.
18g
19d
20bb
21:a
22# The hold space was nonempty. Following occurrences. Do nothing.
23x
24:b
25}