diff options
author | Tom Rhodes <trhodes@FreeBSD.org> | 2009-01-10 12:47:22 +0000 |
---|---|---|
committer | Tom Rhodes <trhodes@FreeBSD.org> | 2009-01-10 12:47:22 +0000 |
commit | 514262dd44e0410de08eef87dba41a611745cec0 (patch) | |
tree | 91507ca176b52e9e1adcf116b664ff5541a8338e /usr.bin/csplit | |
parent | 83708764a7722d51e0b51612b868d59b773f57d9 (diff) | |
download | src-514262dd44e0410de08eef87dba41a611745cec0.tar.gz src-514262dd44e0410de08eef87dba41a611745cec0.zip |
Notes
Diffstat (limited to 'usr.bin/csplit')
-rw-r--r-- | usr.bin/csplit/csplit.1 | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/usr.bin/csplit/csplit.1 b/usr.bin/csplit/csplit.1 index 0f389a249e04..58e58d85e133 100644 --- a/usr.bin/csplit/csplit.1 +++ b/usr.bin/csplit/csplit.1 @@ -51,22 +51,39 @@ a dash .Nm reads from standard input. .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: .Bl -tag -width indent .It Fl f Ar prefix -Give created files names beginning with -.Ar prefix . -The default is +Create file names beginning with +.Ar prefix , +instead of .Dq Pa xx . .It Fl k -Do not remove output files. +Do not remove previously created files if an error occurs or a +.Dv HUP , +.Dv INT , +or +.Dv TERM +signal is received. .It Fl n Ar number -Use +Create file names beginning with .Ar number -of decimal digits after the -.Ar prefix -to form the file name. -The default is 2. +of decimal digits after the prefix, +instead of 2. .It Fl s Do not write the size of each output file to standard output as it is created. |