summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-08-28 04:19:15 +0000
committerVolker Lendecke <vlendec@samba.org>2002-08-28 04:19:15 +0000
commit0fec2e40fc0e21501fe8075309c326d8415c9f40 (patch)
treec3c622ccb0f27b2de2a61875a1a633f0493e590c /docs
parentf1597ae9d1e724e33d1bd25e49f75a84beae6b89 (diff)
downloadsamba-0fec2e40fc0e21501fe8075309c326d8415c9f40.tar.gz
samba-0fec2e40fc0e21501fe8075309c326d8415c9f40.tar.bz2
samba-0fec2e40fc0e21501fe8075309c326d8415c9f40.zip
Merge from 2_2.
Volker (This used to be commit 739bc21429fee6ceb7430eb6c5e63882f6d4f030)
Diffstat (limited to 'docs')
-rw-r--r--docs/docbook/scripts/strip-links.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/docbook/scripts/strip-links.pl b/docs/docbook/scripts/strip-links.pl
index d89da23abe..66bc101e08 100644
--- a/docs/docbook/scripts/strip-links.pl
+++ b/docs/docbook/scripts/strip-links.pl
@@ -1,13 +1,15 @@
#!/usr/bin/perl
-## small script to stirp the <URL:...> tags from
+## small script to strip the <URL:...> tags from
## manpages generated from docbook2man. we'll leave
## the <URL:ftp://...> and <URL:mailto:...> links for now
while (<STDIN>) {
chomp ($_);
- $_ =~ s/\s*<URL:.*>\s*//g;
+ $_ =~ s/\s*<URL:.*html.*>\s+/ /g;
+ $_ =~ s/\s*<URL:.*html.*>\S//g;
+ $_ =~ s/\s*<URL:.*html.*>$//g;
print "$_\n";
}