#!/bin/bash

# wminfo plugin: headlines from news.cnet.com

# command: wminfo -p cnet.wmi -b#e6090a -f#ffffff

lynx --source http://www.cnet.com/ | \
	tr -d '\r' | \
	perl -pe 's/\n/ /g' | \
	sed 's/</\n</g' | \
	grep '<h3>' | \
	sed 's/<.*>//;' | \
	sed -E 's/^\s+//' | \
	punctuation
echo
