MirOS Manual: splitb(1)

SPLITB(1)                    BSD Reference Manual                    SPLITB(1)

NAME

     splitb - split a file bytewise into pieces

SYNOPSIS

     splitb [-dhkq] [-B bufsiz] [-b blocksize] [-t template] [-w width] [file]

DESCRIPTION

     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.

SEE ALSO

     cat(1), split(1)

HISTORY

     A splitb command appeared in MirOS #8.

MirOS BSD #10-current           March 14, 2005                               1

Generated on 2014-07-04 21:17:45 by $MirOS: src/scripts/roff2htm,v 1.79 2014/02/10 00:36:11 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‒2014 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.