On Wednesday, December 24, 2003, 6:28:28 PM, Xeno wrote: > I want to slurp up two files and substitute one file in another for a symbol > in that file's data. In Perl I may simply do this all in memory. Is there a > limit in Ruby string size that prevents this, or is there an easier more elegant > way about it? Thanks You can slurp a file with File.read(path), and perform a substitution with String#sub(re, str). Gavin