From: w.l.kleb@... (Bil Kleb) Date: 2002-03-22T14:27:10+09:00 Subject: Re: camelCase and underscore_style Tobias Reif wrote: > > I meant, for the line to work, there must be a real regex, no? Right. For example, if I wanted to change all occurances of reynolds_number to reynoldsNumber in all the .rb files in the current directory, I'd issue ruby -pi -e"gsub(/reynolds_number/,'reynoldsNumber')" *.rb -- Bil Kleb NASA Langley Research Center Hampton, Virginia, USA