How to use sed to extract substring How to use sed to extract substring shell shell