#!/bin/bash rsstail -i 3 -u example.com/rss.xml -n 0 | while read line do aplay /some/sound/file.wav echo "$line" done