aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-07-21 07:56:41 +0000
committerOmar Polo <op@omarpolo.com>2021-07-21 07:56:41 +0000
commitaf5f9b271e852c641ff6c1d226e42d98f4182f25 (patch)
treebb81d4c9d40e7e4543a57c3bf642b2957f21e0b2
parent3e0164f4c31a96455a71e87c071ffedffca9dfa5 (diff)
use \e instead of \\ as a mean to escape \
Just read in a mail from Ingo to tech@ > Using \\ outside macro definitions (i.e., outside the bodies of roff(7) > .de and similar requests) is almost always wrong even in low-level roff > code, and \\ must never be used in manual pages.
-rw-r--r--gmid.12
1 files changed, 1 insertions, 1 deletions
diff --git a/gmid.1 b/gmid.1
index 9ab254b..71bf292 100644
--- a/gmid.1
+++ b/gmid.1
@@ -612,7 +612,7 @@ and enable CGI scripts inside
$ mkdir docs/cgi
$ cat <<EOF > docs/cgi/hello
#!/bin/sh
-printf "20 text/plain\\r\\n"
+printf "20 text/plain\er\en"
echo "hello world"
EOF
$ chmod +x docs/cgi/hello