summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-11-01 22:07:58 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-11-01 22:07:58 +0000
commit9746520a24e4172d71dc9edd1347a60eb31c49a7 (patch)
tree78e32b968d3f2e5e57b4f41f07bb35c268e53a32
parentfb7a6efb5a65935a7a1a24d77bf33d734287e651 (diff)
downloadweechat-9746520a24e4172d71dc9edd1347a60eb31c49a7.zip
Added missing files
-rw-r--r--ABOUT-NLS0
-rw-r--r--po/remove-potcdate.sin19
-rw-r--r--weechat/ABOUT-NLS0
-rw-r--r--weechat/po/remove-potcdate.sin19
4 files changed, 38 insertions, 0 deletions
diff --git a/ABOUT-NLS b/ABOUT-NLS
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/ABOUT-NLS
diff --git a/po/remove-potcdate.sin b/po/remove-potcdate.sin
new file mode 100644
index 000000000..2436c49e7
--- /dev/null
+++ b/po/remove-potcdate.sin
@@ -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
+}
diff --git a/weechat/ABOUT-NLS b/weechat/ABOUT-NLS
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/weechat/ABOUT-NLS
diff --git a/weechat/po/remove-potcdate.sin b/weechat/po/remove-potcdate.sin
new file mode 100644
index 000000000..2436c49e7
--- /dev/null
+++ b/weechat/po/remove-potcdate.sin
@@ -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
+}