How to replace text using sed or awk?
问题 I have the following json file: { "last_modified": { "type": "/type/datetime", "value": "2008-04-01T03:28:50.625462" }, "type": { "key": "/type/author" }, "name": "National Research Council. Committee on the Scientific and Technologic Base of Puerto Rico"s Economy.", "key": "/authors/OL2108538A", "revision": 1 } The name value has a double quote and I only want to replace this double quote with a single quote (not any other double quote). How can I do it? 回答1: If you want to repleace all