summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-09-02 10:40:44 +0000
committerJim Meyering <jim@meyering.net>1999-09-02 10:40:44 +0000
commit7d2b2cc3f929ff9b2784f6ef03ff53bb1ea73a31 (patch)
treeb6420cfdc1f3a390e17eded1237e42ff4dfecedf
parent967bd9f5f07a132a7142420e79550982ce8f697e (diff)
downloadcoreutils-7d2b2cc3f929ff9b2784f6ef03ff53bb1ea73a31.tar.xz
import version 1.013
-rwxr-xr-xman/help2man7
1 files changed, 4 insertions, 3 deletions
diff --git a/man/help2man b/man/help2man
index 467391ae4..cc0f5cf5d 100755
--- a/man/help2man
+++ b/man/help2man
@@ -26,7 +26,7 @@ use Text::Tabs qw(expand);
use POSIX qw(strftime setlocale LC_TIME);
my $this_program = 'help2man';
-my $this_version = '1.012';
+my $this_version = '1.013';
my $version_info = <<EOT;
$this_program $this_version
@@ -285,8 +285,6 @@ for (@help)
$break = '';
}
- s/\\/\\\\/g;
-
my $output = '';
while (length)
{
@@ -323,6 +321,9 @@ for (@help)
$_ = $output;
+ # Escape backslashes.
+ s/\\/\\e/g;
+
# Convert options.
s/(^| )(-[][\w=-]+)/$1 . convert_option $2/mge;
print;