I simply want to do following
replace
EXTRATHING {
};
by
SOMETHING {};
in inputfile. For this, I tried
sed -e 's/EXTRATHING {
};/SOMETHING/' input_file.txt >outfile.txt
This doesn't work. Can someone suggest what would be the correct way of doing this with sed?
See Question&Answers more detail:os