Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2002 09:18:08 +1000
From:      "Tim J. Robbins" <tim@robbins.dropbear.id.au>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
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>
In-Reply-To: <3CD13EC0.D0B978F0@FreeBSD.org>; from sobomax@FreeBSD.org on Thu, May 02, 2002 at 04:27:28PM %2B0300
References:  <200205020746.g427kaR14482@freefall.freebsd.org> <3CD13EC0.D0B978F0@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020503091808.A21111>