sed -i.bak 's/TEXT_TO_REPLACE/REPLACEMENT_TEXT/g' your_file.txt
-i.bak makes sure of a backup, because this is a risky operation. It is required with the -i flag on macOS/BSD.
nihilism is exhausting
sed -i.bak 's/TEXT_TO_REPLACE/REPLACEMENT_TEXT/g' your_file.txt
-i.bak makes sure of a backup, because this is a risky operation. It is required with the -i flag on macOS/BSD.
"You want a toe? I can get you a toe. There are ways, Dude. You don't wanna know about it, believe me."