From: yitzhakbg Date: 2007-06-13T04:14:28+09:00 Subject: Quick sed replacemnt I need a quicky which I can't do in sed and I did it very clumsily. I need to filter the following file, changing the class name's first letter to upper case. For example, rewrite the file with the word "organizationsController" changed to "OrganizationsController". Thanks. Here's a sample file: # # A skeletal controller # class organizationsController < ApplicationController active_scaffold :organization # layout "activescaffold" end