*BSD News Article 31210


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!zaphod.crihan.fr!news.univ-rennes1.fr!cribx1.u-bordeaux.fr!cict.fr!laas.fr!laas!matthieu
From: matthieu@elwood.laas.fr (Matthieu Herrb)
Newsgroups: comp.os.386bsd.apps
Subject: Re: Is there a split program that can split by bytecount?
Date: 01 Jun 1994 06:44:56 GMT
Organization: LAAS-CNRS Toulouse, France
Lines: 20
Message-ID: <MATTHIEU.94Jun1084456@elwood.laas.fr>
References: <klee.770406936@imagen> <ASAMI.94May31160954@forgery.cs.berkeley.edu>
NNTP-Posting-Host: elwood.laas.fr
In-reply-to: asami@cs.berkeley.edu's message of 31 May 94 16:09:54


In article <ASAMI.94May31160954@forgery.cs.berkeley.edu> asami@cs.berkeley.edu (Satoshi ASAMI) writes:

   In article <klee.770406936@imagen> klee@imagen.com (Kanghoon Lee) writes:

    * Is there a split program that can split a file by bytecount, rather
    * than line numbers?  If so, could somebody tell me where I can find
    * one?

   GNU split can do it.  In particular, the one in FreeBSD (and NetBSD?).

NetBSD's split (which is not GNU split) has a ``-b bytes'' options to 
specify byte count.

--
	Matthieu Herrb             CNRS - LAAS 
	Matthieu.Herrb@laas.fr     7, avenue du Colonel Roche
        	                   31077 Toulouse Cedex - France

	"War -- What is it good for ? -- Absolutely nothing !"