Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 1996 17:21:58 -0700
From:      Nate Williams <nate@rocky.sri.MT.net>
To:        "D. Gerasimatos" <dim@mrn1.aaarf.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: "split" question
Message-ID:  <199601100021.RAA16243@rocky.sri.MT.net>
In-Reply-To: <199601092343.PAA06668@mrn1.aaarf.org>
References:  <199601092343.PAA06668@mrn1.aaarf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 	Is there something wrong with "split" or is there something wrong
> 	with me?
...

>   "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.

Hmm, which version are you running?  This fix was applied post 2.0.5
(hence it would be in 2.1)

----------------------------
revision 1.2
date: 1995/07/07 08:23:52;  author: rgrimes;  state: Exp;  lines: +1 -1
This fixes 'split -l NNN foo'.  As it stands split will
complain about an 'illegal line count' becuase it's looking
at the wrong end pointer (ep) to detect any extra characters
after the NNN.

Submitted by:   Rich Murphey <rich@freebsd.org>

This should probably get pulled into 2.0.6 and 2.1.0
------


Nate



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