From cbd56fd01239de307152e91d6dcd0e63c3695b04 Mon Sep 17 00:00:00 2001 From: Echo Nar <97153783+lethedata@users.noreply.github.com> Date: Sat, 30 May 2026 10:40:16 -0500 Subject: [PATCH] Note ANSI-C Quoting bash in MOTD (#4085) --- docs/configuration/server-properties.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/configuration/server-properties.md b/docs/configuration/server-properties.md index eb2e4348..bcabb138 100644 --- a/docs/configuration/server-properties.md +++ b/docs/configuration/server-properties.md @@ -78,6 +78,12 @@ To produce a multi-line MOTD, embed a newline character as `\n` in the string, s -e MOTD="Line one\nLine two" ``` + From bash shell + + ``` + -e MOTD=$'Line one\nLine two' + ``` + or within a compose file ```yaml