32v 1m split: Difference between revisions

From Computer History Wiki
Jump to navigationJump to search
New page: SPLIT(1) UNIX Programmer's Manual SPLIT(1) == NAME == split - split a file into pieces == SYNOPSIS == split [ -_n ] [ file [ name ] ] == DESCRIPTION =...
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


== NAME ==
== NAME ==
    split - split a file into pieces
split - split a file into pieces


== SYNOPSIS ==
== SYNOPSIS ==
    split [ -_n ] [ file [ name ] ]
split [ -'''n''' ] [ file [ name ] ]


== DESCRIPTION ==
== DESCRIPTION ==
    _S_p_l_i_t reads _f_i_l_e and writes it in _n-line pieces (default
'''Split''' reads '''file''' and writes it in '''n'''-line pieces (default 1000), as many as necessary, onto a set of output files. The name of the first output file is '''name''' with aa appended, and so on lexicographically.  If no output name is given, x is default.
    1000), as many as necessary, onto a set of output files.
    The name of the first output file is _n_a_m_e with aa appended,
    and so on lexicographically.  If no output name is given, x
    is default.


    If no input file is given, or if - is given in its stead,
If no input file is given, or if - is given in its stead, then the standard input file is used.
    then the standard input file is used.


[[Category:32v man section 1]]
[[Category:32v man section 1]]

Latest revision as of 00:22, 29 December 2009

SPLIT(1) UNIX Programmer's Manual SPLIT(1)


NAME

split - split a file into pieces

SYNOPSIS

split [ -n ] [ file [ name ] ]

DESCRIPTION

Split reads file and writes it in n-line pieces (default 1000), as many as necessary, onto a set of output files. The name of the first output file is name with aa appended, and so on lexicographically. If no output name is given, x is default.

If no input file is given, or if - is given in its stead, then the standard input file is used.