summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/examples-index-gen.pl
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-11-20 13:56:58 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-11-20 13:56:58 -0500
commit289a15a2d78f4c8af9c52ed5141731cc52ef39fb (patch)
tree56e761f066a2bffb466a2857fc62bdae8b374a3a /testsuite/systemtap.examples/examples-index-gen.pl
parent09a98ae0632fbbb19fab4f5536203e405176a403 (diff)
downloadsystemtap-steved-289a15a2d78f4c8af9c52ed5141731cc52ef39fb.tar.gz
systemtap-steved-289a15a2d78f4c8af9c52ed5141731cc52ef39fb.tar.xz
systemtap-steved-289a15a2d78f4c8af9c52ed5141731cc52ef39fb.zip
samples catalog: more linkies
Diffstat (limited to 'testsuite/systemtap.examples/examples-index-gen.pl')
-rw-r--r--testsuite/systemtap.examples/examples-index-gen.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/testsuite/systemtap.examples/examples-index-gen.pl b/testsuite/systemtap.examples/examples-index-gen.pl
index 5353380d..ec17700c 100644
--- a/testsuite/systemtap.examples/examples-index-gen.pl
+++ b/testsuite/systemtap.examples/examples-index-gen.pl
@@ -71,7 +71,12 @@ sub add_meta_html(*;$) {
#print $file "exits: $scripts{$meta}{exit}, ";
#print $file "status: $scripts{$meta}{status}<br>\n";
- print $file "keywords: $scripts{$meta}{keywords}<br>\n";
+ print $file "keywords: ";
+ foreach $keyword (split(/ /, $scripts{$meta}{keywords})) {
+ print $file '<a href="keyword-index.html#' . (uc $keyword) . '">'
+ . (uc $keyword) . "</a> ";
+ }
+ print $file "<br>\n";
print $file "<p>$scripts{$meta}{description}";
print $file "</p></li>\n";