Author: jw Date: 2006-06-02 19:48:37 +0200 (Fri, 02 Jun 2006) New Revision: 1485 Modified: tools/scripts/check_urls Log: check_urls: create links in html report Modified: tools/scripts/check_urls =================================================================== --- tools/scripts/check_urls 2006-06-02 17:31:08 UTC (rev 1484) +++ tools/scripts/check_urls 2006-06-02 17:48:37 UTC (rev 1485) @@ -139,7 +139,7 @@ echo "<h1>check_urls report for $(date)</h1>" >> $HTMLLOG cat $LOGFILE|sort --field-separator="|" -n|\ awk -F\| '/.*/ { print "<p ><h3 class=\""$4"\">"$2"</h3>" \ - "<b>URL:</b> "$3"<br>" \ + "<b>URL:</b><a href=\""$3"\"> "$3"</a><br>" \ "<b>Status:</b> "$5"<br>" \ "<b>Reason:</b> "$4"<br>" \ "<b>Open since:</b>" strftime("%c",$1) "</p>";}' >> $HTMLLOG
participants (1)
-
crux@crux.nu