Is it possible to use sed with a script (i.e. the -f switch) and still have it edit the target file(s) in-place (i.e the -i switch). If so, what is the correct order of the switches?
I tried this:
sed -f sedscript -i home.htm
sed: -i may not be used with stdin
Any ideas?
Start Free Trial