*BSD News Article 21917


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!koriel!male.EBay.Sun.COM!europe!andrewb
From: andrewb@europe.EBay.Sun.COM (Andrew Bulucea)
Newsgroups: comp.unix.bsd
Subject: splitting a one line file
Date: 5 Oct 1993 19:35:18 GMT
Organization: Sun Microsystems, Inc.
Lines: 10
Distribution: world
Message-ID: <28si9m$ed6@male.EBay.Sun.COM>
Reply-To: andrewb@europe.EBay.Sun.COM
NNTP-Posting-Host: europe.ebay.sun.com



Here is my problem:

How do I split a long (10mb) file into n files ?. Note: split doesn't work 
because the file has only one line... It's an audio file. It looks like this:

.snd 8!]@õ~zrizyxyt~wsszÿþ}y÷óòòæèðìñêïöôòýxúyoruþûwu~ùúyozûlfln{~òîuúý{ôvv{sr}}s÷ñ{þõùûxöûïóõæêáãñòööüütortpzznnt~pqxywù}}|ôùltvx~óèýý}xrñþø{yy~wsutpuöþø÷ùø÷÷÷îåæðûþôòürúùþvuïø}{þzùütvüúvmqúiblpzîõtúøümw{{}uþüôøúÿõúþøÿðz÷}{úõñéÞèíìúûüt}}o|oixqnrvv|}xyÿöúüûllrròôîówòúöü~züuyprjnüszõýwÿ|rý~öîíââíìõñöüüüxu}rtnwøüúýúíì{xvysgcps{þñ|}~ronuz~ýxpzvúö~wúóøòù÷ïòìíóîàçóêóòz~yypüxpnlsyopmotr|ýñ÷ùjlxn .... etc, etc