version 1.4, 2007/05/31 19:20:09 |
version 1.5, 2008/12/30 16:22:24 |
|
|
.Nm |
.Nm |
reads from standard input. |
reads from standard input. |
.Pp |
.Pp |
|
Files are created with a prefix of |
|
.Dq xx |
|
and two decimal digits. |
|
The size of each file is written to standard output |
|
as it is created. |
|
If an error occurs whilst files are being created, |
|
or a |
|
.Dv HUP , |
|
.Dv INT , |
|
or |
|
.Dv TERM |
|
signal is received, |
|
all files previously written are removed. |
|
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl f Ar prefix |
.It Fl f Ar prefix |
Give created files names beginning with |
Create file names beginning with |
.Ar prefix . |
.Ar prefix , |
The default is |
instead of |
.Dq xx . |
.Dq xx . |
.It Fl k |
.It Fl k |
Do not remove output files if an error occurs or a |
Do not remove previously created files if an error occurs or a |
.Dv HUP , |
.Dv HUP , |
.Dv INT , |
.Dv INT , |
or |
or |
.Dv TERM |
.Dv TERM |
signal is received. |
signal is received. |
.It Fl n Ar number |
.It Fl n Ar number |
Use |
Create file names beginning with |
.Ar number |
.Ar number |
of decimal digits after the |
of decimal digits after the prefix, |
.Ar prefix |
instead of 2. |
to form the file name. |
|
The default is 2. |
|
.It Fl s |
.It Fl s |
Do not write the size of each output file to standard output as it is |
Do not write the size of each output file to standard output as it is |
created. |
created. |