From owner-freebsd-hackers Tue Jan 9 16:19:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA20901 for hackers-outgoing; Tue, 9 Jan 1996 16:19:59 -0800 (PST) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA20896 for ; Tue, 9 Jan 1996 16:19:46 -0800 (PST) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id RAA16243; Tue, 9 Jan 1996 17:21:58 -0700 Date: Tue, 9 Jan 1996 17:21:58 -0700 From: Nate Williams Message-Id: <199601100021.RAA16243@rocky.sri.MT.net> To: "D. Gerasimatos" Cc: freebsd-hackers@freebsd.org Subject: Re: "split" question In-Reply-To: <199601092343.PAA06668@mrn1.aaarf.org> References: <199601092343.PAA06668@mrn1.aaarf.org> Sender: owner-hackers@freebsd.org Precedence: bulk > 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 This should probably get pulled into 2.0.6 and 2.1.0 ------ Nate