]> git.ipfire.org Git - thirdparty/openvpn.git/commit
t_client.sh.in: Use printf instead of echo -e master
authorFrank Lichtenheld <frank@lichtenheld.com>
Sun, 9 Aug 2026 15:30:41 +0000 (17:30 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 10 Aug 2026 12:46:20 +0000 (14:46 +0200)
commitda1b2a7081eb2791f3a675945c42d7f3189ef752
tree96ba38da5ff669707e87d922899944777449575f
parent21ef7fa82a39895a7b65459078fd78bdd3a43e27
t_client.sh.in: Use printf instead of echo -e

In some shells the echo builtin doesn't interpret -e as
an argument, it just outputs it as a string.

Examples for shells I have observed this with are dash on
Ubuntu and /bin/sh on macOS.

Use printf instead which should have better consistency
across shells and operating systems.

Change-Id: I746bd8c0fa3496d23569cde496438fc4189600fe
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1753
Message-Id: <20260809153046.14738-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg38258.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/t_client.sh.in