[4196] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 6.4R: split

daemon@ATHENA.MIT.EDU (John T Kohl)
Mon Feb 12 12:55:55 1990

Date: Mon, 12 Feb 90 12:55:37 -0500
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System name:		lycus
Type and version:	CVAXSTAR 6.4R
Display type:		SM

What were you trying to do?
	split a file into 40-line pieces:

[{1}lycus:/tmp]
% split -40 /aeneas/ftp/pub/kerberos/src.split/ksrc.02.shar
[{1}lycus:/tmp]
% wc -l x??
    1278 xaa
     980 xab
    2258 total

What's wrong:
	split's behavior doesn't match its documentation.

What should have happened:
	It should have put it into pieces with 40 lines each.  It didn't.

Please describe any relevant documentation references:
	split(1):

DESCRIPTION
     Split reads file and writes it in n-line pieces or n*10
     character pieces (if the file is not a text file), as many
     as necessary, onto a set of output files. n defaults to
     1000. The name of the first output file is name with aa


home help back first fref pref prev next nref lref last post