Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 1996 15:43:05 -0800
From:      "D. Gerasimatos" <dim@mrn1.aaarf.org>
To:        freebsd-hackers@freebsd.org
Subject:   "split" question
Message-ID:  <199601092343.PAA06668@mrn1.aaarf.org>

next in thread | raw e-mail | index | archive | help


	Is there something wrong with "split" or is there something wrong
	with me? :) I'm using the version found in 2.0.5 on a 2.0.5 system
	and I can't seem to get the "-l" flag working correctly. I'm
	splitting a 14 megabyte text file into segments that are
	11500 lines long apiece (total lines are 162800). I am using:

	split -l 11500 <inputfile>

	This seems to work fine on other OSes, namely HP-UX. I am not having
	problems with the "-b" flag, but I can't get the "-l" flag to work
	no matter what. "split -l 1000", "split -l 3000", and
	"split -l1000" (no space between line arg and flag) all fail with
	the error: 

	split: 3000: illegal line count.

	where "3000" is the number trailing the "-l" flag. Is this a known
	bug or does this command not work according to the man pages? I
	assume the former, since I can get it to work on HP-UX. Help! :)



	Dimitrios






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