Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Sep 2001 20:04:40 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        audit@FreeBSD.ORG
Subject:   Re: mixing -l and -p in split(1) 
Message-ID:  <70710.999799480@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Thu, 06 Sep 2001 20:51:08 %2B0300." <20010906205108.A72023@sunbay.com> 

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


On Thu, 06 Sep 2001 20:51:08 +0300, Ruslan Ermilov wrote:

> > The specific problem was the need to split a 4GB SMTP transcript into
> > 4 files of approximately 1GB in size, to be passed as input into SMTP
> > socket connections.
> > 
> Hmm, can't this be done by running -p first and then -l on the chunks?

I don't think so, no.  The point is that the input is a dialogue, made
up of regular "paragraphs", e.g.

	HELO localhost
	MAIL FROM:foo@bar.com
	RCPT TO:baz@bat.com
	DATA
	[...]
	.
	NOOP
	HELO localhost
	[...]

This _can_ be done with a perl script, of course, but...

While I'm not a fan of feature-creep, I don't understand the need to
impose this artificial limitation on the functionality available.

The patch feels like it "unlocks" something.  If it's just a safety
catch, I say we document the danger involved (getting larger chunks than
anticipated) and allow it.

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




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