From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <9539b0d95f3e8292391496188285d155@terzarima.net> Date: Thu, 3 Feb 2011 14:24:51 +0000 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] RESOLVED: recoving important header file rudely Topicbox-Message-UUID: aac8c3e4-ead6-11e9-9d60-3106f5b1d025 On 3 February 2011 14:17, erik quanstrom wrote: > On Thu Feb =C2=A03 09:17:27 EST 2011, rogpeppe@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 wrote: >> > On Thu Feb =C2=A03 08:41:23 EST 2011, rogpeppe@gmail.com wrote: >> >> On 3 February 2011 13:01, erik quanstrom wrot= e: >> >> > 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. =C2=A0=E2=98=BA structural regexps are excellent for making sense of some log files...