Editing files from shell scripts?
I need to make a shell script that will go through a file and find every instance of a word and replace it with a new word. I know how to do this with vi:
but I need to do this automatically from a shell script. Does anyone know how to access a file and do this without having to pass control to vi?