diff options
author | Gerald Carter <jerry@samba.org> | 2002-09-25 15:10:57 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-09-25 15:10:57 +0000 |
commit | 115a39775cb923d026dde58633b6ba6aef3a1943 (patch) | |
tree | 4e9f7bb19788459fb8a8f88d52c59f3885d29fc6 /docs/docbook/scripts | |
parent | ec0b8aa70454cab4a918ab09e8ed52d60b4b3256 (diff) | |
download | samba-115a39775cb923d026dde58633b6ba6aef3a1943.tar.gz samba-115a39775cb923d026dde58633b6ba6aef3a1943.tar.bz2 samba-115a39775cb923d026dde58633b6ba6aef3a1943.zip |
sync'ing up for 3.0alpha20 release
(This used to be commit b5d03c7b55fb2f34fa4d0228abe4389020e5ed5f)
Diffstat (limited to 'docs/docbook/scripts')
-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 dbbdceaabc..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:.*html.*>\s*//g; + $_ =~ s/\s*<URL:.*html.*>\s+/ /g; + $_ =~ s/\s*<URL:.*html.*>\S//g; + $_ =~ s/\s*<URL:.*html.*>$//g; print "$_\n"; } |