logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://anongit.hacktivis.me/git/overlay.git/

gettext-0.3.2-xgettext-version-output.patch (563B)


  1. https://github.com/sabotage-linux/gettext-tiny/commit/bcb04de5afcf5532a110babfe3912b5725e7146b
  2. From: Patrycja <github@ptrcnull.me>
  3. Date: Wed, 9 Mar 2022 15:42:21 +0100
  4. Subject: [PATCH] xgettext: fix --version output (#60)
  5. "\n" in the printf parameter doesn't expand
  6. and the comma gets printed after format string
  7. --- a/src/xgettext.sh
  8. +++ b/src/xgettext.sh
  9. @@ -16,7 +16,7 @@ syntax() {
  10. }
  11. show_version() {
  12. - printf "%s\n", "xgettext (GNU gettext-tools compatible) 99.9999.9999\n"
  13. + printf "%s\n" "xgettext (GNU gettext-tools-compatible) 99.99"
  14. exit 0
  15. }