#! /bin/sh
# By Alexey Nogin <ayn2@cornell.edu>
# "can be used to watch URLs from www.freshmeat.net
# (it filters out ads and hit counters)."

fn="/tmp/$$.fm-f+h"
fn2="$fn-2"

cat >"$fn" 2>&1
tail +`grep -n '^$' "$fn" | head -1 | sed -e 's/://'` "$fn" | sed -e 's! <SMALL>([0-9]* hits)</SMALL>!!' > "$fn2"
lynx -dump -force_html "$fn2" 2>&1 
rm -f "$fn" "$fn2"
