OK....lets say I have a directory on a UNIX server.
I want to change everyone of those files in the same
way. IE, search through every file in the directory for
red and change it to blue.
How do I do this. As I've seen sed can only be used on
one file at a time.
sed 's/red/blue/g' *.*
and that actually changed every file to standard output, but
didn't actually change the files themselves.
So how do you simply issue a command like this which will
automatically goes through the entire directory and changes
all the files in it.