cppannotations/annotations/scripts/htmlcontentspage
2014-12-31 16:37:12 +01:00

27 lines
457 B
Bash
Executable file

#!/bin/bash
echo '<!DOCTYPE html><html><head>
<meta charset="UTF-8">
<title>C++ Annotations Contents</title>
<link rev="made" href="mailto:Frank B. Brokken: f.b.brokken@rug.nl">
</head>
<body>
<script>
function load(next)
{
opener.info.location=next;
return (false);
}
</script>
'
grep 'd[dlt]>' cplusplus.html |
sed '
s/"\(cplusplus[0-9]\+\.html#l[0-9]\+\)"/"\1" onclick="return load('"'"'\1'"'"')"/
s/<p>//g
'
echo '</body>
</html>
'