docs: clarify multi-line MOTD (#2441)

This commit is contained in:
Geoff Bourne 2023-10-16 13:59:43 -05:00 committed by GitHub
parent 8cdf4d0072
commit 1ffcb5c221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,9 +24,9 @@ renders
![](../img/motd-example.png)
To produce a multi-line MOTD, you will need to double escape the newline such as
To produce a multi-line MOTD, embed a newline character as `\n` in the string, such as
-e MOTD="Line one\\nLine two"
-e MOTD="Line one\nLine two"
### Difficulty