version 1.4, 1999/06/05 01:21:41 |
version 1.5, 2000/03/11 21:40:03 |
|
|
.Op Ar file Op Ar name |
.Op Ar file Op Ar name |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm split |
.Nm |
utility reads the given |
utility reads the given |
.Ar file |
.Ar file |
(or standard input if no file is specified) |
(or standard input if no file is specified) |
|
|
.Ar byte_count |
.Ar byte_count |
bytes in length. |
bytes in length. |
If |
If |
.Dq Li k |
.Sq k |
is appended to the number, the file is split into |
is appended to the number, the file is split into |
.Ar byte_count |
.Ar byte_count |
kilobyte pieces. |
kilobyte pieces. |
If |
If |
.Dq Li m |
.Sq m |
is appended to the number, the file is split into |
is appended to the number, the file is split into |
.Ar byte_count |
.Ar byte_count |
megabyte pieces. |
megabyte pieces. |
|
|
for the names of the files into which the file is split. |
for the names of the files into which the file is split. |
In this case, each file into which the file is split is named by the |
In this case, each file into which the file is split is named by the |
prefix followed by a lexically ordered suffix in the range of |
prefix followed by a lexically ordered suffix in the range of |
.Dq Li aa-zz . |
.Dq aa-zz . |
.Pp |
.Pp |
If the |
If the |
.Ar name |
.Ar name |
argument is not specified, the file is split into lexically ordered |
argument is not specified, the file is split into lexically ordered |
files named in the range of |
files named in the range of |
.Dq Li xaa-zzz . |
.Dq xaa-zzz . |
.Sh BUGS |
.Sh BUGS |
For historical reasons, if you specify |
For historical reasons, if you specify |
.Ar name , |
.Ar name , |
.Nm split |
.Nm |
can only create 676 separate |
can only create 676 separate |
files. |
files. |
The default naming convention allows 2028 separate files. |
The default naming convention allows 2028 separate files. |
|
|
.Xr re_format 7 . |
.Xr re_format 7 . |
.Sh HISTORY |
.Sh HISTORY |
A |
A |
.Nm split |
.Nm |
command appeared in |
command appeared in |
.At v6 . |
.At v6 . |