in reply to Re: Search and Replace.
in thread Search and Replace.

I'm no expert, but file I/O should be buffered so this doesn't matter.

I would think it's only an issue if the line lengths are on the order of the buffer size or larger. For this application, it sounds like the entire line is needed anyway, so there's still little difference.

(May some gracious monk will correct me if I'm wrong.)

-QM
--
Quantum Mechanics: The dreams stuff is made of