From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 10 May 2010 18:39:47 -0700 From: Derek Thomas To: 9fans@9fans.net Message-ID: <4be8b563.zluNJ735GnloDx+Y%derekmthomas@telus.net> References: <791169.84032.qm@web57309.mail.re1.yahoo.com> <7D2DE462-C77B-407C-A70D-88E8E6B75105@fastmail.fm> In-Reply-To: <7D2DE462-C77B-407C-A70D-88E8E6B75105@fastmail.fm> User-Agent: Heirloom mailx 12.3 7/15/07 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Binary File split Topicbox-Message-UUID: 1eec820c-ead6-11e9-9d60-3106f5b1d025 > > split -b Considered Harmful. > > Just curious having not heard of split before, what's the purpose of > it as-is? :) Do you mean what's it's use? I'm no unix (or Plan 9) elder, but I think it's a file-based implementation of what some text editors call folding. Not a trivial function. Before I knew about split (or unix csplit) I encountered this need so often I wrote an awk script to do it. Talk about reinventing the wheel. I even named the script 'chsplit'. Sheesh. Incidentally gas I don't see the harm in "-b bytes". (Not that I have the time to add that.)