diff options
Diffstat (limited to 'docs/docbook/scripts/strip-links.pl')
-rw-r--r-- | docs/docbook/scripts/strip-links.pl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/docbook/scripts/strip-links.pl b/docs/docbook/scripts/strip-links.pl index 66bc101e08..dbbdceaabc 100644 --- a/docs/docbook/scripts/strip-links.pl +++ b/docs/docbook/scripts/strip-links.pl @@ -1,15 +1,13 @@ #!/usr/bin/perl -## small script to strip the <URL:...> tags from +## small script to stirp 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:.*html.*>\s+/ /g; - $_ =~ s/\s*<URL:.*html.*>\S//g; - $_ =~ s/\s*<URL:.*html.*>$//g; + $_ =~ s/\s*<URL:.*html.*>\s*//g; print "$_\n"; } |