function get_tag(){
sed -n -e's/"/\\"/g' -e"s/^${2}=\(.*\)/\1/p" < "$1"
}

Uhhh... yeah. Sure. That's just how I'd have done it. Just like Excel, isn't it? smile

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"