diff --git a/src/man.c b/src/man.c index 62eaee4a0fed..3d4a8d0bcbcf 100644 --- a/src/man.c +++ b/src/man.c @@ -616,7 +616,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, "; printf '%s\\n' \".\\\\\\\"\" \".pl \\n(nlu+10\""); #if 0 /* In case this doesnt work for some reason, michaelkjohnson suggests: I've got a simple