diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-05-21 14:56:22 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-05-26 14:37:50 -0400 |
commit | b4f46c6ecf529ed8115fb4d3664a80c4c98f8c52 (patch) | |
tree | 6f4e28958afaf5eab6644f01f1f49ec4f1d8908b /sss_client/po/remove-potcdate.sin | |
parent | a19669c6c3bd52a86c4c52404f5df78db40495e1 (diff) | |
download | sssd-b4f46c6ecf529ed8115fb4d3664a80c4c98f8c52.tar.gz sssd-b4f46c6ecf529ed8115fb4d3664a80c4c98f8c52.tar.xz sssd-b4f46c6ecf529ed8115fb4d3664a80c4c98f8c52.zip |
Initial gettext framework for sss_clients
Diffstat (limited to 'sss_client/po/remove-potcdate.sin')
-rw-r--r-- | sss_client/po/remove-potcdate.sin | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sss_client/po/remove-potcdate.sin b/sss_client/po/remove-potcdate.sin new file mode 100644 index 000000000..2436c49e7 --- /dev/null +++ b/sss_client/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 +} |