diff options
Diffstat (limited to 'docs/docbook/scripts/strip-links.pl')
-rw-r--r-- | docs/docbook/scripts/strip-links.pl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/docbook/scripts/strip-links.pl b/docs/docbook/scripts/strip-links.pl new file mode 100644 index 0000000000..dbbdceaabc --- /dev/null +++ b/docs/docbook/scripts/strip-links.pl @@ -0,0 +1,14 @@ +#!/usr/bin/perl + +## 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; + print "$_\n"; + +} +exit 0; |