#!/bin/bash

# extract the audio/video URL from a QuickTime Link file, and
# play with MPlayer

URL=`cat $1 | sed -e 's/<.* src="\(.*\)" \/>/\1/'`
mplayer $URL
