Reid Thompson
11/9/2007 9:04:00 PM
newer versions of sed can replace text in place in files.
there's also perl's
perl -pi -e 's/to change this/to change that/' filename
On Sat, 2007-11-10 at 05:51 +0900, Jonathan Dobbie wrote:
> I need to change the texture paths in maya files. The lines are easy to
> find with grep, and I'm able to create the new line easily enough, but
> how can I do this without holding the entire file into memory? The
> files can be hundreds of megabytes.
>
> Thanks.