I don't understand exactly what you're trying to do. Where is the source of the changes you want to make. In this example, how should we know that you want to change
to
?
Or do you mean something like:
Code:
sed -i "s/<model> 103/<model> 110/"
but extended to perform the entire switch? If that's the case, sed is hardly an excellent way to do this, as it's just as easy to change the file by hand (if not more so, as you don't have to worry about sed syntax).