Subject: Re: buildlink3, sed and Solaris
To: Gavan Fantom <gavan@coolfactor.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 01/06/2004 23:15:10
On Tue, Jan 06, 2004 at 10:31:26PM +0000, Gavan Fantom wrote:
> On Tue, 6 Jan 2004, Chuck Yerkes wrote:
> 
> > /usr/xpg4/bin/sed is also a far far better sed than
> > /usr/bin/sed in solaris.
> 
> /usr/xpg4/bin/sed still has a limit on the number of commands it can
> execute per invocation. If memory serves me, this limit is 100. Surely if
> we are specifying that many commands, we ought to be able to split the
> commands into perhaps two or three calls to sed?

In theory, yes, but why not just use nbsed?  That would be faster than
invoking several sed processes in a pipeline.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>