CSPLIT(1)                        User Commands
CSPLIT(1)



NNAAMMEE
       csplit - split a file into sections determined by
       context lines

SSYYNNOOPPSSIISS
       ccsspplliitt [_O_P_T_I_O_N]... _F_I_L_E
       _P_A_T_T_E_R_N...

DDEESSCCRRIIPPTTIIOONN
       Output  pieces of FILE separated by PATTERN(s) to files
       `xx00', `xx01', ..., and output byte counts of each
       piece to standard output.

       Mandatory arguments to long options are  mandatory
       for  short  options too.

       --bb,
       ----ssuuffffiixx--ffoorrmmaatt=_F_O_R_M_A_T
       use sprintf FORMAT instead of %02d

       --ff, ----pprreeffiixx=_P_R_E_F_I_X
              use PREFIX instead of `xx'

       --kk, ----kkeeeepp--ffiilleess
              do not remove output files on errors

       --nn, ----ddiiggiittss=_D_I_G_I_T_S
              use specified number of digits instead of 2

       --ss, ----qquuiieett, ----ssiilleenntt
              do not print counts of output file sizes

       --zz,
       ----eelliiddee--eemmppttyy--ffiilleess
              remove empty output files

       ----hheellpp display this help and exit

       ----vveerrssiioonn
              output version information and exit

       Read standard input if FILE is -.  Each PATTERN may be:

       INTEGER
              copy up to but not including specified line
              number

       /REGEXP/[OFFSET]
              copy up to but not including a matching line

       %REGEXP%[OFFSET]
              skip to, but not including a matching line

       {INTEGER}
              repeat the previous pattern specified number
              of times

       {*}    repeat the previous pattern as many times
       as possible

       A line OFFSET is a required `+' or `-' followed by a
       positive integer.

AAUUTTHHOORR
       Written by Stuart Kemp and David MacKenzie.

RREEPPOORRTTIINNGG BBUUGGSS
       Report bugs to <bug-coreutils@gnu.org>.

CCOOPPYYRRIIGGHHTT
       Copyright © 2006 Free Software Foundation, Inc.
       This  is  free  software.   You may redistribute
       copies of it under the terms      of      the
       GNU      General       Public       License
       <http://www.gnu.org/licenses/gpl.html>.   There  is
       NO WARRANTY, to the extent permitted by law.

SSEEEE AALLSSOO
       The full documentation for ccsspplliitt
       is maintained as  a  Texinfo  manual.  If  the
       iinnffoo  and ccsspplliitt programs are
       properly installed at your site, the command

              iinnffoo ccsspplliitt

       should give you access to the complete manual.



csplit 6.7                       December 2006
CSPLIT(1)
