summaryrefslogtreecommitdiff
path: root/man/help2man
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-22 11:02:39 +0000
committerJim Meyering <jim@meyering.net>1999-08-22 11:02:39 +0000
commit7de78927edef0ece7cd732debf6c1b79889d345f (patch)
tree024a212742f88031ff5030e37ba0b42f5123565a /man/help2man
parent7a44e716a47f88a7d2255101c078b705b8c17720 (diff)
downloadcoreutils-7de78927edef0ece7cd732debf6c1b79889d345f.tar.xz
Escape backslashes so tr's manual comes out right.
Reported by Andreas Schwab.
Diffstat (limited to 'man/help2man')
-rwxr-xr-xman/help2man2
1 files changed, 2 insertions, 0 deletions
diff --git a/man/help2man b/man/help2man
index 689d1acc2..467391ae4 100755
--- a/man/help2man
+++ b/man/help2man
@@ -285,6 +285,8 @@ for (@help)
$break = '';
}
+ s/\\/\\\\/g;
+
my $output = '';
while (length)
{