blob: 96e950a51e86249b6a13746ca9c60c2e21d0e370 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
avoid using escape sequences in echo as they're not portable
https://bugs.gentoo.org/523874
--- a/src/man.c
+++ b/src/man.c
@@ -626,7 +626,7 @@ make_roff_command (const char *path, const char *file) {
the current position plus 10 lines. This plus setpl()
gives us a single page that just contains the whole
man page. (William Webber, wew@cs.rmit.edu.au) */
- strcat(buft, "; echo \".\\\\\\\"\"; echo \".pl \\n(nlu+10\"");
+ strcat(buft, "; echo \".\\\\\\\"\"; echo \".pl \"; echo \"(nlu+10\"");
#if 0
/* In case this doesnt work for some reason,
michaelkjohnson suggests: I've got a simple
|