perl/bash question - html link out of text