commit c8996ac
Hubert Hirtz
·
2025-08-21 18:49:41 +0000 UTC
parent 18c125f
doc: duplicate \ to account for scdoc escapes scdoc transforms \\ to \, so end users weren't seeing the correct sed command in their manpage viewer.
1 files changed,
+1,
-1
+1,
-1
1@@ -220,7 +220,7 @@ colors {
2 ```
3 #!/bin/sh
4 escape() {
5- printf "%s" "$1" | sed 's#\\#\\\\#g'
6+ printf "%s" "$1" | sed 's#\\\\#\\\\\\\\#g'
7 }
8
9 notify-send "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"