On 3 February 2011 14:17, erik quanstrom <quans...@quanstro.net> wrote: > On Thu Feb 3 09:17:27 EST 2011, rogpe...@gmail.com wrote: >> i've found it very useful quite a few times. >> usually with oversized log files. >> >> On 3 February 2011 13:59, erik quanstrom <quans...@quanstro.net> wrote: >> > On Thu Feb 3 08:41:23 EST 2011, rogpe...@gmail.com wrote: >> >> On 3 February 2011 13:01, erik quanstrom <quans...@quanstro.net> wrote: >> >> > i think you're better off with char*s and realloc. >> >> > it's worth looking at the heavy machinery in sam >> >> > and acme, though, and comparing against ed. >> >> >> >> i'd hesitate before trying to edit 500MB files in ed... >> >> >> >> nor does ed cope with arbitrary length lines. >> > >> > when has editing a 500mb text file ever been a problem? > > it's not a log file if you edit it. ☺
structural regexps are excellent for making sense of some log files...