Angus, you are the sed hero ... Often we have a text with wrong quotations like
foo "bar" baz which must be converted into foo "`bar"' baz, or foo ">bar"< baz, or ... the problem is, that there could also be a an original foo " bar" baz or foo " bar " baz or foo "bar " baz is there a one liner with sed? Herbert