Merge "Remove final ' placed at the end of each line by sed"