mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
777b182edd
This allowed me to standardize the sourcetar and sf/* scripts: the base directory (containing ./git) is now empty, except for maintenance scripts, while the source files and build scripts of the annotations are stored in a subdirectory of their own.
37 lines
No EOL
815 B
Bash
Executable file
37 lines
No EOL
815 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cd ../html
|
|
|
|
echo '<html><head><title>C++ Annotations Contents</title>
|
|
<link rev="made" href="mailto:Frank B. Brokken: f.b.brokken@rc.rug.nl">
|
|
</head>
|
|
<body fgcolor="black" bgcolor="white">
|
|
<script>
|
|
function load(next)
|
|
{
|
|
opener.info.location=next;
|
|
return (false);
|
|
}
|
|
</script>
|
|
'
|
|
|
|
sed '
|
|
s/"\(cplusplus[0-9]\+\.html#l[0-9]\+\)"/"\1" onclick="return load('"'"'\1'"'"')"/
|
|
s/<p>//g
|
|
' < cplusplus.html
|
|
|
|
#grep '<a href="cplusplus' cplusplus.html |
|
|
#grep '<h' |
|
|
#sed '
|
|
# s/^.*<a href=/<a href=/
|
|
# s/"\(cplusplus[0-9]\+\.html#l[0-9]\+\)"/"\1" onclick="return load('"'"'\1'"'"')"/
|
|
# s/\(.*\)<h2>/<blockquote>\1<h2>/
|
|
# s,</h2>\(.*\),</h2>\1</blockquote>,
|
|
# s/\(.*\)<h3>/<blockquote><blockquote>\1<h3>/
|
|
# s,</h3>\(.*\),</h3>\1</blockquote></blockquote>,
|
|
#'
|
|
|
|
|
|
echo '</body>
|
|
</html>
|
|
' |