GRUNION: I need to discuss something, but first I'll need your glasses to chew on.
GRUNION: I'm trying to do a search on an entire directory, finding all the instances of the text "applicationX" and replacing all instances with the text "applicationY". I created this:
GRUNION: So what gives?
the grep -il statement finds all instances of Hello in files ending in txt (i = ignore case, , l = only list the filename). The file names are passed to sed, which runs a regular expression to change all instances of Hello to Goodbye. Since sed doesn't overwrite a file, you should redirect the output to a temp file and then rename it back to the original file name.
GRUNION: Sweet. Can I use your computer to hack into Elmo.com?