splitting a big file with _no_ newlines in it

Conor P. Cahill cpcahil at virtech.uucp
Tue Jul 3 12:00:26 AEST 1990


In article <62 at ai.etl.army.mil> anneb at ai.etl.army.mil (Anne Brink) writes:
>We have a user here who is trying to download some very large data files.
>(33.4 MB and up).  He's trying to download them via a PC using kermit, which
>means splitting them into manageable pieces.  The hangup is that split will not
>split the files into more than 1 piece.  I suspect that this is because the
>files have 0 lines! (Or so claims wc -l)  They're just streams of raw ascii
>data, consisting of hundreds of little records. 

Since you are going to be downloading the files anyway, I would suggest the
following:

	compress < file | btoa | split


Which can be reversed on the receiving machine.
-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.questions mailing list