home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SPLIT(1L) MISC. REFERENCE MANUAL PAGES SPLIT(1L)
-
-
-
- NAME
- split - split a file into pieces
-
- SYNOPSIS
- split [-lines] [-l lines] [-b bytes[bkm]] [-C bytes[bkm]]
- [--lines=lines] [--bytes=bytes[bkm]] [--line-
- bytes=bytes[bkm]] [infile [outfile-prefix]]
-
- DESCRIPTION
- This manual page documents the GNU version of split. split
- creates one or more output files (as many as necessary) con-
- taining consecutive sections of the _i_n_f_i_l_e, or the standard
- input if none is given or the name `-' is given. By
- default, split puts 1000 lines of the input file, or what-
- ever is left if it is less than that, into each output file.
-
- The output file names consist of a prefix followed by a
- group of letters, chosen so that concatenating the output
- files in sorted order by file name produces the original
- input file, in order. The default output file name prefix
- is `x'. If the _o_u_t_f_i_l_e-_p_r_e_f_i_x argument is given, it is used
- as the output file name prefix instead.
-
- OPTIONS
- -_l_i_n_e_s, -_l _l_i_n_e_s, --_l_i_n_e_s=_l_i_n_e_s
- Put _l_i_n_e_s lines of the input file into each output
- file.
-
- -_b _b_y_t_e_s[_b_k_m], --_b_y_t_e_s=_b_y_t_e_s[_b_k_m]
- Put _b_y_t_e_s bytes of the input file into each output
- file. _b_y_t_e_s is a nonzero integer, optionally followed
- by one of the following characters to specify a dif-
- ferent unit.
-
- b 512-byte blocks.
-
- k 1-kilobyte blocks.
-
- m 1-megabyte blocks.
-
- -_C _b_y_t_e_s[_b_k_m], --_l_i_n_e-_b_y_t_e_s=_b_y_t_e_s[_b_k_m]
- Put into each output file as many complete lines of the
- input file as is possible without exceeding _b_y_t_e_s
- bytes. If a line that is longer than _b_y_t_e_s bytes
- occurs, put _b_y_t_e_s bytes of it into each output file
- until less than _b_y_t_e_s bytes of the line are left, then
- continue normally. _b_y_t_e_s has the same format as for
- the --_b_y_t_e_s option.
-
- The long-named options can be introduced with `+' as well as
- `--', for compatibility with previous releases. Eventually
- support for `+' will be removed, because it is incompatible
-
-
-
- Sun Release 4.1 Last change: 1
-
-
-
-
-
-
- SPLIT(1L) MISC. REFERENCE MANUAL PAGES SPLIT(1L)
-
-
-
- with the POSIX.2 standard.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sun Release 4.1 Last change: 2
-
-
-
-