Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ split(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                 split(1)



        _________________________________________________________________
        split                                                     Command
        split a file into pieces
        _________________________________________________________________


        SYNTAX

        split [ -n ] [ file [ name ] ]


        DESCRIPTION

        Split reads file and writes it in n-line pieces (default 1000
        lines) onto a set of output files.  The name of the first output
        file is name with aa appended; the name of the last is zz (a
        maximum of 676 files).  Name cannot be longer than 252
        characters.  If no output name is given, x is the default.

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



        _________________________________________________________________
        EXAMPLES

        $ split -4 longfile longfile

        The split command takes the file "longfile" and splits it into
        files 4 lines long.  The new files will be named longfileaa,
        longfileab, and so on to longfilezz, if needed.  If no output
        name were specified, the names would default to xaa, xab, and so
        on.
        _________________________________________________________________


        SEE ALSO

        bfs(1), csplit(1).














        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026