KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I simply want to do following replace EXTRATHING { }; by SOMETHING {}; in inputfile. For this, I tried sed -e 's/EXTRATHING {\n};/SOMETHING/' input_file.txt >outfile.txt This doesn't work. Can someone suggest what would be the correct way of doing this with sed?
Tags (comma-separated)
Save Edits
Cancel