From owner-cvs-all Thu May 2 16:23:26 2002 Delivered-To: cvs-all@freebsd.org Received: from treetop.robbins.dropbear.id.au (170.b.011.mel.iprimus.net.au [210.50.217.170]) by hub.freebsd.org (Postfix) with ESMTP id 11C3937B404; Thu, 2 May 2002 16:23:19 -0700 (PDT) Received: from treetop.robbins.dropbear.id.au (localhost [127.0.0.1]) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2) with ESMTP id g42NI9hU021136; Fri, 3 May 2002 09:18:10 +1000 (EST) (envelope-from tim@treetop.robbins.dropbear.id.au) Received: (from tim@localhost) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2/Submit) id g42NI9Hp021135; Fri, 3 May 2002 09:18:09 +1000 (EST) Date: Fri, 3 May 2002 09:18:08 +1000 From: "Tim J. Robbins" To: Maxim Sobolev Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: CVSROOT modules src/usr.bin Makefilesrc/usr.bin/csplit csplit.1 csplit.c Message-ID: <20020503091808.A21111@treetop.robbins.dropbear.id.au> References: <200205020746.g427kaR14482@freefall.freebsd.org> <3CD13EC0.D0B978F0@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CD13EC0.D0B978F0@FreeBSD.org>; from sobomax@FreeBSD.org on Thu, May 02, 2002 at 04:27:28PM +0300 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 02, 2002 at 04:27:28PM +0300, Maxim Sobolev wrote: > Any chance that existing split(1) and the new csplit(1) will be merged > into single utility? We certainly don't need two utilities with very > similar behaviour in the tree. The idea of splitting a large file into smaller ones is common between the two, but not much other functionality is. split(1) accepts one 'pattern' and uses it to process all the input, csplit(1) processes a series of patterns. csplit is line-oriented, split is both line- and character- oriented, depending on options. I don't think there's much to gain except 1 inode in merging the two utilities (in terms of code reuse etc.). Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message