Bug 115431

Summary: [patch] [request] improvement to split(1): add -B switch
Product: Base System Reporter: Perry Hutchison <perryh>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
split.1.diff
none
file.diff none

Description Perry Hutchison 2007-08-12 06:40:00 UTC
In the case where the output files from split(1) are of a specified
size (in bytes) and the size of the input is known, it is possible
to compute the minimum required suffix_length rather than requiring
it to be specified or accepting the default (2).

Fix: The attached diffs add a -B switch, which requests the shortest
suffix_length consistent with the input and output file sizes
and otherwise behaves the same as -b.
How-To-Repeat: examine manpage and/or code
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:18 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped