Have you tried doing it in a script instead? Something that you can set the variables in? ie:
blah="[]"
newblah=whatyouwantittobe
cat filename sed -e s/$blah/$whatyouwantittobe/g > newfilename
You definitely want to try this on a new or copied file as if the arguments don't match...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.