version 1.11, 2014/02/04 13:26:36 |
version 1.12, 2015/10/24 15:32:50 |
|
|
.Xr mdoc 7 |
.Xr mdoc 7 |
file |
file |
.Pa foo.1 |
.Pa foo.1 |
into one file for each section (up to 21): |
into one file for each section (up to 21 files): |
.Pp |
.Pp |
.Dl "$ csplit -k foo.1 '%^\e.Sh%' '/^\e.Sh/' '{20}'" |
.Dl "$ csplit -k foo.1 '%^\e.Sh%' '/^\e.Sh/' '{20}'" |
.Pp |
.Pp |
Split standard input after the first 99 lines and every 100 lines thereafter: |
Split standard input after the first 99 lines and every 100 lines |
|
thereafter (up to 21 files): |
.Pp |
.Pp |
.Dl "$ csplit -k - 100 '{19}'" |
.Dl "$ csplit -k - 100 '{19}'" |
.Sh SEE ALSO |
.Sh SEE ALSO |