SPLITB(1) BSD Reference Manual SPLITB(1)
splitb - split a file bytewise into pieces
splitb [-dhkq] [-B bufsiz] [-b blocksize] [-t template] [-w width] [file]
The splitb utility reads the given file (or from standard input, if no
file is specified) and breaks it into smaller files at defined byte boun-
daries.
The operation of splitb is controlled by the following options:
-B bufsiz
Set the size of the buffer to bufsiz. Default is 1048576 (1 MiB).
-b blocksize
Set the size of the file to blocksize buffers of bufsiz each. De-
fault is 1.
-d Toggle the use of decimal respective sedecimal sequence numbers.
Default is sedecimal.
-h Display a verbose synopsis.
-k Set bufsiz to 1024 (1 KiB).
-q Be quiet during operation.
-t template
Specify pathname which is prepended to generated files. Default
is "split". template is followed by a dot and three (width) sede-
cimal numbers (000-FFF) as sequence number; if more than 4096
(16^3) files are to be generated, it simply runs off unless the
-w option is used.
-w width
Specify the number of sedecimal digits to append, in the range
from 1 to PATH_MAX - 2 - strlen(template). Default is 3.
An additional argument specified is used as the name of the input file
which is to be split.
cat(1), split(1)
A splitb command appeared in MirOS #8.
MirOS BSD #10-current March 14, 2005 1
Generated on 2013-04-27 00:20:00 by $MirOS: src/scripts/roff2htm,v 1.77 2013/01/01 20:49:09 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2013 The MirOS Project, Germany.
This product includes material
provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.