Name: Anonymous 2010-03-30 17:43
sed -i -n 's/[23]/[213]/g' myfile.txt
I want to replace "[23]" with "[213]" This is not working because of the brackets being interpreted as a regular expression. Is there a escape character to avoid this?
I want to replace "[23]" with "[213]" This is not working because of the brackets being interpreted as a regular expression. Is there a escape character to avoid this?