diff options
author | Volker Lendecke <vlendec@samba.org> | 2002-08-28 04:19:15 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2002-08-28 04:19:15 +0000 |
commit | 739bc21429fee6ceb7430eb6c5e63882f6d4f030 (patch) | |
tree | b99f8ec30fef8c8ac63320551b5698bccfd2e946 | |
parent | 8f065f788b3af333c7c61236e33b6571b62b0c0d (diff) | |
download | samba-739bc21429fee6ceb7430eb6c5e63882f6d4f030.tar.gz samba-739bc21429fee6ceb7430eb6c5e63882f6d4f030.tar.xz samba-739bc21429fee6ceb7430eb6c5e63882f6d4f030.zip |
Merge from 2_2.
Volker
-rw-r--r-- | docs/docbook/scripts/strip-links.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/docbook/scripts/strip-links.pl b/docs/docbook/scripts/strip-links.pl index d89da23abe9..66bc101e086 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"; } |