diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-04-01 09:28:24 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-04-01 09:28:24 +0100 |
commit | 3a58a00483df9ce02d8814981e4381a5f73c9a8b (patch) | |
tree | 25d6465c084c97a7f09018ebd57baf8fde373f53 /po | |
parent | 3b94cf504615bcbb0ff0cb4c01ba2b577f523733 (diff) | |
download | libguestfs-3a58a00483df9ce02d8814981e4381a5f73c9a8b.tar.gz libguestfs-3a58a00483df9ce02d8814981e4381a5f73c9a8b.tar.xz libguestfs-3a58a00483df9ce02d8814981e4381a5f73c9a8b.zip |
Add po/remove-potcdate.sin to git and EXTRA_DIST.1.17.23
This file is produced by gettextize and required by 'make dist'.
Diffstat (limited to 'po')
-rw-r--r-- | po/remove-potcdate.sin | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/po/remove-potcdate.sin b/po/remove-potcdate.sin new file mode 100644 index 00000000..2436c49e --- /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 +} |