2008-08-20 14:09 <flips> or is that... um |
logs are rotated by this cronjob.
generated with the following script:
#!/bin/bash
# Shapor Naghibzadeh <shapor@shapor.com>
title="irc.oftc.net #zumastor irc logs"
cat <<EOE
Content-type: text/html
<html><head><title>$title</title>
<link rel="stylesheet" href="../doxygen.css" type="text/css"></head>
<body><h1>$title</h1><h3>today's most recent conversation:</h3><table border=1><tr><td><code>
EOE
tail -10 current.txt| ccze -m html | grep "^<font"
echo "</code></td></tr></table><h3>log archives</h3>"
for file in *.txt
do
[[ -r $file ]] && echo "<br><a href=$file>$file</a>" `wc -l $file | awk '{print $1}'` lines
done | tac
cat <<EOE
<hr><h3>about this page</h3>irc logs for the
<a href="http://zumastor.org/">zumastor linux storage project</a> gathered using the
<a href="http://www.suckless.org/wiki/tools/irc/irc_it">ii irc client</a>
running under
<a href="http://cr.yp.to/daemontools.html">daemontools</a>
using <a href="run">this run script</a>.<p>
logs are rotated by <a href="iirotate.sh">this cronjob</a>.<p>
generated with the following script:<table border=1><tr><td><pre>
EOE
cat $0 | sed -e 's/&/\&/g' -e 's/</\</g' -e 's/>/\>/g'
echo "</pre></td></tr></table></body></html>"
|