Fix escaping for sed replacement in gph files. - geomyidae - a small C-based gopherd (mirror)
HTML git clone git://git.codemadness.org/geomyidae
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit bf47ea180912ad88aa70a7b6c1319ad4111cc585
DIR parent f77d60aadc1309b5ab6eb270f5ffc00094efa2fb
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 15 Feb 2026 17:20:12 +0100
Fix escaping for sed replacement in gph files.
Thanks anonymous!
Diffstat:
M geomyidae.8 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/geomyidae.8 b/geomyidae.8
@@ -355,7 +355,7 @@ For dynamically generated content it may be desirable to either formally type
informational text or run it through a filter to prepend
.Ql "[|"
- \.ie
-.Ql "sed 's,^[,[|&,'" .
+.Ql "sed 's,^\e[,[|&,'" .
.Pp
Note 2: You can escape a pipe
.Pq Ql "\(ba"