diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-01 22:07:58 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2003-11-01 22:07:58 +0000 |
commit | 9746520a24e4172d71dc9edd1347a60eb31c49a7 (patch) | |
tree | 78e32b968d3f2e5e57b4f41f07bb35c268e53a32 | |
parent | fb7a6efb5a65935a7a1a24d77bf33d734287e651 (diff) | |
download | weechat-9746520a24e4172d71dc9edd1347a60eb31c49a7.zip |
Added missing files
-rw-r--r-- | ABOUT-NLS | 0 | ||||
-rw-r--r-- | po/remove-potcdate.sin | 19 | ||||
-rw-r--r-- | weechat/ABOUT-NLS | 0 | ||||
-rw-r--r-- | weechat/po/remove-potcdate.sin | 19 |
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 +} |