summaryrefslogtreecommitdiff
path: root/docs/docbook/scripts/strip-links.pl
blob: 495822264ec8e741e5ebf145ada5e07a020606a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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>) {

	$_ =~ s/\s*<URL:.*html.*>\s*//g;
	print "$_";

}
exit 0;