


      SPLIT(1)                    (UNIX 5.0)                   SPLIT(1)



      NAME
           split - split a file into pieces

      SYNTAX
           split [ -num ] [ -b ] [ file [ name ] ]

      DESCRIPTION
           Split reads file and writes it in num-line pieces (default
           1000 lines) onto a set of output files.  The name of the
           first output file is name with aa appended, and so on
           lexicographically, up to zz (a maximum of 676 files).  Name
           cannot be longer than 14 characters.  If no output name is
           given, x is default.

           -b indicates that num is not a number of lines, but a number
           of bytes, into which to chop the file.  If the file is not
           ascii, use -b for sure.

           Unless the file is exactly divisible by num bytes or lines,
           the last piece of the file will be fewer than num bytes or
           lines.

           If no input file is given, or if - is given instead, the
           standard input file is used.

      EXAMPLE
           To chop a huge file named cpio.output into floppy-disc-size
           chunks:

               split -1200166 -b cpio.output

      SEE ALSO
           bfs(1), csplit(1).






















      Page 1                                          (73 A2 02MT REV1)



