#!/bin/bash

# wminfo plugin: new threads subjects in Slackware section
#                of LinuxQuestions.org

# command: wminfo -p linuxquestions-slackware.wmi -u 60 -b#405788 -f#ffffff

lynx --source http://www.linuxquestions.org/questions/slackware-14/ | \
    perl -pe 's/\n/ /g;s/</\n</g' | \
    grep 'thread_title_' | \
    sed 's/<.*>//;' | \
    tail -n 50 | \
    punctuation
echo
