Date: Thu, 08 Jul 1999 18:15:31 -0600 From: Wes Peters <wes@softweyr.com> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: Assar Westerlund <assar@sics.se>, Jamie Howard <howardjp@wam.umd.edu>, freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org, tech@openbsd.org Subject: Re: Replacement for grep(1) (part 2) Message-ID: <37853F23.39FAAF6D@softweyr.com> References: <Pine.GSO.4.10.9907052110250.13873-100000@uther.wam.umd.edu> <xzp7locthir.fsf@flood.ping.uio.no> <xzp1zektgp2.fsf@flood.ping.uio.no> <5laet8b2l8.fsf@assaris.sics.se> <xzpiu7wrx7q.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav wrote: > > Assar Westerlund <assar@sics.se> writes: > > Dag-Erling Smorgrav <des@flood.ping.uio.no> writes: > > > + realpat = grep_malloc(strlen(pattern) + sizeof("^(") > > > + + sizeof(")$") + 1); > > Why not just use asprintf? > > Doesn't matter, thsis code is gone in the latest version. You though > the linux 'kernel of the day' was bad; now you have the FreeBSD 'grep > of the minute' :) You guys need the infamous two-headed-editor from 'Dave-n-Val the two- headed programmer' at Weber State. It allows two programmers to edit the same file on two terminals; it displays the line of code the OTHER user's cursor is on in red and won't let your cursor on that line. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://softweyr.com/ wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37853F23.39FAAF6D>