| http://www.w3.org/ns/prov#value | - sed only ever replaces on condition i.e. on condition that it matches! there is not really a question of how to make sed replace on condition! certainly not in the sense of on condition that it matches, which is what you mean. if you just tried simpler examples you would soon see that your problem is that it is matching when you think it should not or is not matching when you think it should.
|