I have been trying to find how to do a batch find and replace in Terminal on Mac OS X for more than the past hour. I found different versions of code, but am having difficulty making it work. So far, I have found one string of code that works, but it only works for one term/character.
What I want to do is find and replace multiple characters in one text file, all at the same time.
For example:
Find §, replace with ก
Find Ø, replace with ด
Find ≠, replace with ห
Find £, replace with ้
The code that works so far is (but only for one character):
sed -i '' s/Ø/ด/ [textfile.txt]
Could anyone please help me out?