ruby -pe 'gsub(/send_to_char/, "sendch")' < *.c
// made 3 .txt files
// cat *.txt
bob.txt:
white and blue and red
blue and white and red
joe.txt:
red and blue
red and blue
yar.txt
blue and red
blue and red
perl -pi -e 's/blue/orange/g' *.txt
//yields: cat *.txt
bob.txt
white and orange and red
orange and white and red
joe.txt
red and orange
red and orange
yar.txt
orange and red
orange and red
Ha! Thanks David!
About twice a year, I learn some new trick about vim. :)