mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-06-01 08:29:43 +00:00
Note ANSI-C Quoting bash in MOTD (#4085)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user