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