|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: c
Length: 5269 (0x1495)
Names: »csplit.1«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat1/csplit.1«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e ┆ u_ a_ l User Comman┆
0x0040…0060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 73 70 6c 69 74 28 31 29 0a 0a 0a 0a ┆ds csplit(1) ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆
0x0080…00a0 20 20 63 73 70 6c 69 74 20 2d 20 63 6f 6e 74 65 78 74 20 73 70 6c 69 74 0a 0a 53 08 53 08 53 08 ┆ csplit - context split S S S ┆
0x00a0…00c0 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 ┆SY Y Y YN N N NT T T TA A A AX X┆
0x00c0…00e0 08 58 08 58 0a 20 20 20 20 20 63 08 63 08 63 08 63 73 08 73 08 73 08 73 70 08 70 08 70 08 70 6c ┆ X X c c c cs s s sp p p pl┆
0x00e0…0100 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 74 08 74 08 74 08 74 20 5b 2d 08 2d 08 2d 08 2d 73 08 73 ┆ l l li i i it t t t [- - - -s s┆
0x0100…0120 08 73 08 73 5d 20 5b 2d 08 2d 08 2d 08 2d 6b 08 6b 08 6b 08 6b 5d 20 5b 2d 08 2d 08 2d 08 2d 66 ┆ s s] [- - - -k k k k] [- - - -f┆
0x0120…0140 08 66 08 66 08 66 20 70 72 65 66 69 78 5d 08 5d 08 5d 08 5d 20 66 69 6c 65 20 61 72 67 31 20 5b ┆ f f f prefix] ] ] ] file arg1 [┆
0x0140…0160 2e 2e 2e 20 61 72 67 6e 5d 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 ┆... argn] D D D DE E E ES S S S┆
0x0160…0180 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 ┆C C C CR R R RI I I IP P P PT T ┆
0x0180…01a0 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 ┆T TI I I IO O O ON N N N _ ┆
0x01a0…01c0 63 5f 08 73 5f 08 70 5f 08 6c 5f 08 69 5f 08 74 20 72 65 61 64 73 20 74 68 65 20 6e 61 6d 65 64 ┆c_ s_ p_ l_ i_ t reads the named┆
0x01c0…01e0 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 20 61 6e 64 20 73 65 70 61 72 61 74 65 73 20 69 74 20 69 ┆ _ f_ i_ l_ e and separates it i┆
0x01e0…0200 6e 74 6f 20 6e 2b 31 20 73 65 63 2d 0a 20 20 20 20 20 74 69 6f 6e 73 2c 20 64 65 66 69 6e 65 64 ┆nto n+1 sec- tions, defined┆
0x0200…0220 20 62 79 20 74 68 65 20 61 72 67 75 6d 65 6e 74 73 20 5f 08 61 5f 08 72 5f 08 67 5f 08 31 2e 2e ┆ by the arguments _ a_ r_ g_ 1..┆
0x0220…0240 2e 20 20 5f 08 61 5f 08 72 5f 08 67 5f 08 6e 2e 20 20 42 79 20 64 65 66 61 75 6c 74 0a 20 20 20 ┆. _ a_ r_ g_ n. By default ┆
0x0240…0260 20 20 74 68 65 20 73 65 63 74 69 6f 6e 73 20 61 72 65 20 70 6c 61 63 65 64 20 69 6e 20 78 78 30 ┆ the sections are placed in xx0┆
0x0260…0280 30 20 2e 2e 2e 20 20 78 78 5f 08 6e 20 28 5f 08 6e 20 6d 61 79 20 6e 6f 74 20 62 65 0a 20 20 20 ┆0 ... xx_ n (_ n may not be ┆
0x0280…02a0 20 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 39 39 29 2e 20 20 54 68 65 73 65 20 73 65 63 74 69 ┆ greater than 99). These secti┆
0x02a0…02c0 6f 6e 73 20 67 65 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 69 65 63 65 73 0a 20 20 20 ┆ons get the following pieces ┆
0x02c0…02e0 20 20 6f 66 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 30 ┆ of _ f_ i_ l_ e: 0┆
0x02e0…0300 30 3a 20 20 20 46 72 6f 6d 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 5f 08 66 5f 08 69 5f 08 6c ┆0: From the start of _ f_ i_ l┆
0x0300…0320 5f 08 65 20 75 70 20 74 6f 20 28 62 75 74 20 6e 6f 74 20 69 6e 63 6c 75 64 69 6e 67 29 0a 20 20 ┆_ e up to (but not including) ┆
0x0320…0340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 6c 69 6e 65 20 72 65 66 65 72 65 6e 63 ┆ the line referenc┆
0x0340…0360 65 64 20 62 79 20 5f 08 61 5f 08 72 5f 08 67 5f 08 31 2e 0a 20 20 20 20 20 20 20 20 20 20 20 30 ┆ed by _ a_ r_ g_ 1. 0┆
0x0360…0380 31 3a 20 20 20 46 72 6f 6d 20 74 68 65 20 6c 69 6e 65 20 72 65 66 65 72 65 6e 63 65 64 20 62 79 ┆1: From the line referenced by┆
0x0380…03a0 20 5f 08 61 5f 08 72 5f 08 67 5f 08 31 20 75 70 20 74 6f 20 74 68 65 20 6c 69 6e 65 0a 20 20 20 ┆ _ a_ r_ g_ 1 up to the line ┆
0x03a0…03c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 66 65 72 65 6e 63 65 64 20 62 79 20 5f 08 61 5f ┆ referenced by _ a_┆
0x03c0…03e0 08 72 5f 08 67 5f 08 32 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 08 2e 08 2e ┆ r_ g_ 2. . . .┆
0x03e0…0400 08 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 08 2e 08 2e 08 2e 0a 20 20 20 20 ┆ . . . . . ┆
0x0400…0420 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 08 2e 08 2e 08 2e 0a 20 20 20 20 20 20 20 20 20 20 20 ┆ . . . . ┆
0x0420…0440 6e 2b 31 3a 20 20 46 72 6f 6d 20 74 68 65 20 6c 69 6e 65 20 72 65 66 65 72 65 6e 63 65 64 20 62 ┆n+1: From the line referenced b┆
0x0440…0460 79 20 5f 08 61 5f 08 72 5f 08 67 5f 08 6e 20 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 0a 20 20 20 ┆y _ a_ r_ g_ n to the end of ┆
0x0460…0480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 2e 0a 0a 20 20 20 ┆ _ f_ i_ l_ e. ┆
0x0480…04a0 20 20 54 68 65 20 6f 70 74 69 6f 6e 73 20 74 6f 20 5f 08 63 5f 08 73 5f 08 70 5f 08 6c 5f 08 69 ┆ The options to _ c_ s_ p_ l_ i┆
0x04a0…04c0 5f 08 74 20 61 72 65 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 2d 08 2d 08 2d 08 2d 73 08 73 08 ┆_ t are: - - - -s s ┆
0x04c0…04e0 73 08 73 20 20 20 20 20 20 20 20 20 5f 08 63 5f 08 73 5f 08 70 5f 08 6c 5f 08 69 5f 08 74 20 6e ┆s s _ c_ s_ p_ l_ i_ t n┆
0x04e0…0500 6f 72 6d 61 6c 6c 79 20 70 72 69 6e 74 73 20 74 68 65 20 63 68 61 72 61 63 74 65 72 20 63 6f 75 ┆ormally prints the character cou┆
0x0500…0520 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6f 72 20 65 61 ┆nts for ea┆
0x0520…0540 63 68 20 66 69 6c 65 20 63 72 65 61 74 65 64 2e 20 20 49 66 20 74 68 65 20 2d 08 2d 08 2d 08 2d ┆ch file created. If the - - - -┆
0x0540…0560 73 08 73 08 73 08 73 20 6f 70 74 69 6f 6e 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆s s s s option is ┆
0x0560…0580 20 20 20 20 20 20 20 20 70 72 65 73 65 6e 74 2c 20 5f 08 63 5f 08 73 5f 08 70 5f 08 6c 5f 08 69 ┆ present, _ c_ s_ p_ l_ i┆
0x0580…05a0 5f 08 74 20 73 75 70 70 72 65 73 73 65 73 20 74 68 65 20 70 72 69 6e 74 69 6e 67 20 6f 66 0a 20 ┆_ t suppresses the printing of ┆
0x05a0…05c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6c 6c 20 63 68 61 72 61 63 74 ┆ all charact┆
0x05c0…05e0 65 72 20 63 6f 75 6e 74 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 2d 08 2d 08 2d 08 2d 6b 08 ┆er counts. - - - -k ┆
0x05e0…0600 6b 08 6b 08 6b 20 20 20 20 20 20 20 20 20 5f 08 63 5f 08 73 5f 08 70 5f 08 6c 5f 08 69 5f 08 74 ┆k k k _ c_ s_ p_ l_ i_ t┆
0x0600…0620 20 6e 6f 72 6d 61 6c 6c 79 20 72 65 6d 6f 76 65 73 20 63 72 65 61 74 65 64 20 66 69 6c 65 73 20 ┆ normally removes created files ┆
0x0620…0640 69 66 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 72 72 6f ┆if an erro┆
0x0640…0660 72 20 6f 63 63 75 72 73 2e 20 20 49 66 20 74 68 65 20 2d 08 2d 08 2d 08 2d 6b 08 6b 08 6b 08 6b ┆r occurs. If the - - - -k k k k┆
0x0660…0680 20 6f 70 74 69 6f 6e 20 69 73 20 70 72 65 73 65 6e 74 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆ option is present, ┆
0x0680…06a0 20 20 20 20 20 20 20 20 20 20 5f 08 63 5f 08 73 5f 08 70 5f 08 6c 5f 08 69 5f 08 74 20 6c 65 61 ┆ _ c_ s_ p_ l_ i_ t lea┆
0x06a0…06c0 76 65 73 20 70 72 65 76 69 6f 75 73 6c 79 20 63 72 65 61 74 65 64 20 66 69 6c 65 73 0a 20 20 20 ┆ves previously created files ┆
0x06c0…06e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 61 63 74 2e 0a 0a 20 20 20 20 ┆ intact. ┆
0x06e0…0700 20 20 20 20 20 20 20 2d 08 2d 08 2d 08 2d 66 08 66 08 66 08 66 20 5f 08 70 5f 08 72 5f 08 65 5f ┆ - - - -f f f f _ p_ r_ e_┆
0x0700…0720 08 66 5f 08 69 5f 08 78 20 20 49 66 20 74 68 65 20 2d 08 2d 08 2d 08 2d 66 08 66 08 66 08 66 20 ┆ f_ i_ x If the - - - -f f f f ┆
0x0720…0740 6f 70 74 69 6f 6e 20 69 73 20 75 73 65 64 2c 20 74 68 65 20 63 72 65 61 74 65 64 20 66 69 6c 65 ┆option is used, the created file┆
0x0740…0760 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 65 20 6e 61 6d 65 ┆s are name┆
0x0760…0780 64 20 5f 08 70 5f 08 72 5f 08 65 5f 08 66 5f 08 69 5f 08 78 30 08 30 08 30 08 30 30 08 30 08 30 ┆d _ p_ r_ e_ f_ i_ x0 0 0 00 0 0┆
0x0780…07a0 08 30 20 2e 2e 2e 20 5f 08 70 5f 08 72 5f 08 65 5f 08 66 5f 08 69 5f 08 78 5f 08 6e 2e 20 20 54 ┆ 0 ... _ p_ r_ e_ f_ i_ x_ n. T┆
0x07a0…07c0 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 66 61 75 6c 74 ┆he default┆
0x07c0…07e0 20 69 73 20 78 08 78 08 78 08 78 78 08 78 08 78 08 78 30 08 30 08 30 08 30 30 08 30 08 30 08 30 ┆ is x x x xx x x x0 0 0 00 0 0 0┆
0x07e0…0800 20 2e 2e 2e 20 20 78 08 78 08 78 08 78 78 08 78 08 78 08 78 5f 08 6e 2e 0a 0a 20 20 20 20 20 54 ┆ ... x x x xx x x x_ n. T┆
0x0800…0820 68 65 20 61 72 67 75 6d 65 6e 74 73 20 28 5f 08 61 5f 08 72 5f 08 67 5f 08 31 20 2e 2e 2e 20 20 ┆he arguments (_ a_ r_ g_ 1 ... ┆
0x0820…0840 5f 08 61 5f 08 72 5f 08 67 5f 08 6e 29 20 74 6f 20 5f 08 63 5f 08 73 5f 08 70 5f 08 6c 5f 08 69 ┆_ a_ r_ g_ n) to _ c_ s_ p_ l_ i┆
0x0840…0860 5f 08 74 20 63 61 6e 20 62 65 20 61 20 63 6f 6d 62 69 6e 61 2d 0a 20 20 20 20 20 74 69 6f 6e 20 ┆_ t can be a combina- tion ┆
0x0860…0880 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 2f 5f ┆of the following: /_┆
0x0880…08a0 08 72 5f 08 65 5f 08 78 5f 08 70 2f 20 20 41 20 66 69 6c 65 20 69 73 20 74 6f 20 62 65 20 63 72 ┆ r_ e_ x_ p/ A file is to be cr┆
0x08a0…08c0 65 61 74 65 64 20 66 6f 72 20 74 68 65 20 73 65 63 74 69 6f 6e 20 66 72 6f 6d 0a 20 20 20 20 20 ┆eated for the section from ┆
0x08c0…08e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 65 20 63 75 72 72 65 6e 74 20 6c 69 6e 65 20 75 ┆ the current line u┆
0x08e0…0900 70 20 74 6f 20 28 62 75 74 20 6e 6f 74 20 69 6e 63 6c 75 64 69 6e 67 29 20 74 68 65 0a 20 20 20 ┆p to (but not including) the ┆
0x0900…0920 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 20 63 6f 6e 74 61 69 6e 69 6e 67 20 ┆ line containing ┆
0x0920…0940 74 68 65 20 72 65 67 75 6c 61 72 20 65 78 70 72 65 73 73 69 6f 6e 20 5f 08 72 5f 08 65 5f 08 78 ┆the regular expression _ r_ e_ x┆
0x0940…0960 5f 08 70 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 63 75 72 72 ┆_ p. The curr┆
0x0960…0980 65 6e 74 20 6c 69 6e 65 20 62 65 63 6f 6d 65 73 20 74 68 65 20 6c 69 6e 65 20 63 6f 6e 74 61 69 ┆ent line becomes the line contai┆
0x0980…09a0 6e 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 72 5f 08 65 5f 08 ┆ning _ r_ e_ ┆
0x09a0…09c0 78 5f 08 70 2e 20 20 54 68 69 73 20 61 72 67 75 6d 65 6e 74 20 6d 61 79 20 62 65 20 66 6f 6c 6c ┆x_ p. This argument may be foll┆
0x09c0…09e0 6f 77 65 64 20 62 79 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 ┆owed by an op┆
0x09e0…0a00 74 69 6f 6e 61 6c 20 2b 08 2b 08 2b 08 2b 20 6f 72 20 2d 08 2d 08 2d 08 2d 20 73 6f 6d 65 20 6e ┆tional + + + + or - - - - some n┆
0x0a00…0a20 75 6d 62 65 72 20 6f 66 20 6c 69 6e 65 73 20 28 65 2e 67 2e 2c 0a 20 20 20 20 20 20 20 20 20 20 ┆umber of lines (e.g., ┆
0x0a20…0a40 20 20 20 20 20 20 20 20 20 2f 08 2f 08 2f 08 2f 50 08 50 08 50 08 50 61 08 61 08 61 08 61 67 08 ┆ / / / /P P P Pa a a ag ┆
0x0a40…0a60 67 08 67 08 67 65 08 65 08 65 08 65 2f 08 2f 08 2f 08 2f 2d 08 2d 08 2d 08 2d 35 08 35 08 35 08 ┆g g ge e e e/ / / /- - - -5 5 5 ┆
0x0a60…0a80 35 29 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 25 5f 08 72 5f 08 65 5f 08 78 5f 08 70 25 20 20 ┆5). %_ r_ e_ x_ p% ┆
0x0a80…0aa0 54 68 69 73 20 61 72 67 75 6d 65 6e 74 20 69 73 20 74 68 65 20 73 61 6d 65 20 61 73 20 2f 5f 08 ┆This argument is the same as /_ ┆
0x0aa0…0ac0 72 5f 08 65 5f 08 78 5f 08 70 2f 2c 20 65 78 63 65 70 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆r_ e_ x_ p/, except ┆
0x0ac0…0ae0 20 20 20 20 20 20 20 74 68 61 74 20 6e 6f 20 66 69 6c 65 20 69 73 20 63 72 65 61 74 65 64 20 66 ┆ that no file is created f┆
0x0ae0…0b00 6f 72 20 74 68 65 20 73 65 63 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 5f 08 6c 5f ┆or the section. _ l_┆
0x0b00…0b20 08 6e 5f 08 6e 5f 08 6f 20 20 20 20 41 20 66 69 6c 65 20 69 73 20 74 6f 20 62 65 20 63 72 65 61 ┆ n_ n_ o A file is to be crea┆
0x0b20…0b40 74 65 64 20 66 72 6f 6d 20 74 68 65 20 63 75 72 72 65 6e 74 20 6c 69 6e 65 0a 20 20 20 20 20 20 ┆ted from the current line ┆
0x0b40…0b60 20 20 20 20 20 20 20 20 20 20 20 20 20 75 70 20 74 6f 20 28 62 75 74 20 6e 6f 74 20 69 6e 63 6c ┆ up to (but not incl┆
0x0b60…0b80 75 64 69 6e 67 29 20 5f 08 6c 5f 08 6e 5f 08 6e 5f 08 6f 2e 20 20 54 68 65 20 63 75 72 72 65 6e ┆uding) _ l_ n_ n_ o. The curren┆
0x0b80…0ba0 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 20 62 65 63 6f 6d 65 ┆t line become┆
0x0ba0…0bc0 73 20 5f 08 6c 5f 08 6e 5f 08 6e 5f 08 6f 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 7b 5f 08 6e ┆s _ l_ n_ n_ o. {_ n┆
0x0bc0…0be0 5f 08 75 5f 08 6d 7d 20 20 20 52 65 70 65 61 74 20 61 72 67 75 6d 65 6e 74 2e 20 20 54 68 69 73 ┆_ u_ m} Repeat argument. This┆
0x0be0…0c00 20 61 72 67 75 6d 65 6e 74 20 6d 61 79 20 66 6f 6c 6c 6f 77 20 61 6e 79 0a 20 20 20 20 20 20 20 ┆ argument may follow any ┆
0x0c00…0c20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 61 62 6f 76 65 20 61 72 67 75 6d 65 6e ┆ of the above argumen┆
0x0c20…0c40 74 73 2e 20 20 49 66 20 69 74 20 66 6f 6c 6c 6f 77 73 20 61 20 5f 08 72 5f 08 65 5f 08 78 5f 08 ┆ts. If it follows a _ r_ e_ x_ ┆
0x0c40…0c60 70 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 79 70 65 20 ┆p type ┆
0x0c60…0c80 61 72 67 75 6d 65 6e 74 2c 20 74 68 61 74 20 61 72 67 75 6d 65 6e 74 20 69 73 20 61 70 70 6c 69 ┆argument, that argument is appli┆
0x0c80…0ca0 65 64 20 5f 08 6e 5f 08 75 5f 08 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ed _ n_ u_ m ┆
0x0ca0…0cc0 6d 6f 72 65 20 74 69 6d 65 73 2e 20 20 49 66 20 69 74 20 66 6f 6c 6c 6f 77 73 20 5f 08 6c 5f 08 ┆more times. If it follows _ l_ ┆
0x0cc0…0ce0 6e 5f 08 6e 5f 08 6f 2c 20 74 68 65 20 66 69 6c 65 20 77 69 6c 6c 0a 20 20 20 20 20 20 20 20 20 ┆n_ n_ o, the file will ┆
0x0ce0…0d00 20 20 20 20 20 20 20 20 20 20 62 65 20 73 70 6c 69 74 20 65 76 65 72 79 20 5f 08 6c 5f 08 6e 5f ┆ be split every _ l_ n_┆
0x0d00…0d20 08 6e 5f 08 6f 20 6c 69 6e 65 73 20 28 5f 08 6e 5f 08 75 5f 08 6d 20 74 69 6d 65 73 29 20 66 72 ┆ n_ o lines (_ n_ u_ m times) fr┆
0x0d20…0d40 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 61 74 20 70 6f 69 6e 74 ┆om that point┆
0x0d40…0d60 2e 0a 0a 20 20 20 20 20 45 6e 63 6c 6f 73 65 20 61 6c 6c 20 5f 08 72 5f 08 65 5f 08 78 5f 08 70 ┆. Enclose all _ r_ e_ x_ p┆
0x0d60…0d80 20 74 79 70 65 20 61 72 67 75 6d 65 6e 74 73 20 74 68 61 74 20 63 6f 6e 74 61 69 6e 20 62 6c 61 ┆ type arguments that contain bla┆
0x0d80…0da0 6e 6b 73 20 6f 72 20 6f 74 68 65 72 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 73 20 6d 65 61 ┆nks or other characters mea┆
0x0da0…0dc0 6e 69 6e 67 66 75 6c 20 74 6f 20 74 68 65 20 53 68 65 6c 6c 20 69 6e 20 74 68 65 20 61 70 70 72 ┆ningful to the Shell in the appr┆
0x0dc0…0de0 6f 70 72 69 61 74 65 0a 20 20 20 20 20 71 75 6f 74 65 73 2e 20 20 52 65 67 75 6c 61 72 20 65 78 ┆opriate quotes. Regular ex┆
0x0de0…0e00 70 72 65 73 73 69 6f 6e 73 20 6d 61 79 20 6e 6f 74 20 63 6f 6e 74 61 69 6e 20 65 6d 62 65 64 64 ┆pressions may not contain embedd┆
0x0e00…0e20 65 64 20 6e 65 77 2d 0a 20 20 20 20 20 6c 69 6e 65 73 2e 20 20 5f 08 43 5f 08 73 5f 08 70 5f 08 ┆ed new- lines. _ C_ s_ p_ ┆
0x0e20…0e40 6c 5f 08 69 5f 08 74 20 64 6f 65 73 20 6e 6f 74 20 61 66 66 65 63 74 20 74 68 65 20 6f 72 69 67 ┆l_ i_ t does not affect the orig┆
0x0e40…0e60 69 6e 61 6c 20 66 69 6c 65 3b 20 69 74 20 69 73 20 74 68 65 0a 20 20 20 20 20 75 73 65 72 73 20 ┆inal file; it is the users ┆
0x0e60…0e80 72 65 73 70 6f 6e 73 69 62 69 6c 69 74 79 20 74 6f 20 72 65 6d 6f 76 65 20 69 74 2e 0a 0a 45 08 ┆responsibility to remove it. E ┆
0x0e80…0ea0 45 08 45 08 45 58 08 58 08 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 50 08 50 08 50 08 ┆E E EX X X XA A A AM M M MP P P ┆
0x0ea0…0ec0 50 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 20 20 20 20 ┆PL L L LE E E ES S S S ┆
0x0ec0…0ee0 20 20 20 20 20 20 63 73 70 6c 69 74 20 2d 66 20 63 6f 62 6f 6c 20 66 69 6c 65 20 20 27 2f 70 72 ┆ csplit -f cobol file '/pr┆
0x0ee0…0f00 6f 63 65 64 75 72 65 20 64 69 76 69 73 69 6f 6e 2f 27 20 20 2f 70 61 72 35 2e 2f 20 20 2f 70 61 ┆ocedure division/' /par5./ /pa┆
0x0f00…0f20 72 31 36 2e 2f 0a 0a 20 20 20 20 20 54 68 69 73 20 65 78 61 6d 70 6c 65 20 63 72 65 61 74 65 73 ┆r16./ This example creates┆
0x0f20…0f40 20 34 20 66 69 6c 65 73 2c 20 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 62 08 62 08 62 08 62 6f ┆ 4 files, c c c co o o ob b b bo┆
0x0f40…0f60 08 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 30 08 30 08 30 08 30 30 08 30 08 30 08 30 20 2e 2e 2e 20 ┆ o o ol l l l0 0 0 00 0 0 0 ... ┆
0x0f60…0f80 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 62 08 62 08 62 08 62 6f 08 6f 08 6f 08 6f 6c 08 6c 08 ┆c c c co o o ob b b bo o o ol l ┆
0x0f80…0fa0 6c 08 6c 30 08 30 08 30 08 30 33 08 33 08 33 08 33 2e 20 20 41 66 74 65 72 0a 20 20 20 20 20 65 ┆l l0 0 0 03 3 3 3. After e┆
0x0fa0…0fc0 64 69 74 69 6e 67 20 74 68 65 20 60 60 73 70 6c 69 74 27 27 20 66 69 6c 65 73 2c 20 74 68 65 79 ┆diting the ``split'' files, they┆
0x0fc0…0fe0 20 63 61 6e 20 62 65 20 72 65 63 6f 6d 62 69 6e 65 64 20 61 73 20 66 6f 6c 2d 0a 20 20 20 20 20 ┆ can be recombined as fol- ┆
0x0fe0…1000 6c 6f 77 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 74 20 63 6f 62 6f 6c 30 ┆lows: cat cobol0┆
0x1000…1020 5b 30 2d 33 5d 20 3e 20 66 69 6c 65 0a 0a 20 20 20 20 20 4e 6f 74 65 20 74 68 61 74 20 74 68 69 ┆[0-3] > file Note that thi┆
0x1020…1040 73 20 65 78 61 6d 70 6c 65 20 6f 76 65 72 77 72 69 74 65 73 20 74 68 65 20 6f 72 69 67 69 6e 61 ┆s example overwrites the origina┆
0x1040…1060 6c 20 66 69 6c 65 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 73 70 6c 69 74 20 2d ┆l file. csplit -┆
0x1060…1080 6b 20 66 69 6c 65 20 20 31 30 30 20 20 7b 39 39 7d 0a 0a 20 20 20 20 20 54 68 69 73 20 65 78 61 ┆k file 100 {99} This exa┆
0x1080…10a0 6d 70 6c 65 20 77 6f 75 6c 64 20 73 70 6c 69 74 20 74 68 65 20 66 69 6c 65 20 61 74 20 65 76 65 ┆mple would split the file at eve┆
0x10a0…10c0 72 79 20 31 30 30 20 6c 69 6e 65 73 2c 20 75 70 20 74 6f 0a 20 20 20 20 20 31 30 2c 30 30 30 20 ┆ry 100 lines, up to 10,000 ┆
0x10c0…10e0 6c 69 6e 65 73 2e 20 20 54 68 65 20 2d 08 2d 08 2d 08 2d 6b 08 6b 08 6b 08 6b 20 6f 70 74 69 6f ┆lines. The - - - -k k k k optio┆
0x10e0…1100 6e 20 63 61 75 73 65 73 20 74 68 65 20 63 72 65 61 74 65 64 20 66 69 6c 65 73 20 74 6f 20 62 65 ┆n causes the created files to be┆
0x1100…1120 0a 20 20 20 20 20 72 65 74 61 69 6e 65 64 20 69 66 20 74 68 65 72 65 20 61 72 65 20 6c 65 73 73 ┆ retained if there are less┆
0x1120…1140 20 74 68 61 6e 20 31 30 2c 30 30 30 20 6c 69 6e 65 73 3b 20 68 6f 77 65 76 65 72 2c 20 61 6e 0a ┆ than 10,000 lines; however, an ┆
0x1140…1160 20 20 20 20 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 77 6f 75 6c 64 20 73 74 69 6c 6c 20 62 ┆ error message would still b┆
0x1160…1180 65 20 70 72 69 6e 74 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 63 73 70 6c 69 74 20 2d 6b 20 ┆e printed. csplit -k ┆
0x1180…11a0 70 72 6f 67 2e 63 20 20 27 25 6d 61 69 6e 28 25 27 20 20 27 2f 5e 7d 2f 2b 31 27 20 20 7b 32 30 ┆prog.c '%main(%' '/^}/+1' {20┆
0x11a0…11c0 7d 0a 0a 20 20 20 20 20 41 73 73 75 6d 69 6e 67 20 74 68 61 74 20 70 08 70 08 70 08 70 72 08 72 ┆} Assuming that p p p pr r┆
0x11c0…11e0 08 72 08 72 6f 08 6f 08 6f 08 6f 67 08 67 08 67 08 67 2e 08 2e 08 2e 08 2e 63 08 63 08 63 08 63 ┆ r ro o o og g g g. . . .c c c c┆
0x11e0…1200 20 66 6f 6c 6c 6f 77 73 20 74 68 65 20 6e 6f 72 6d 61 6c 20 43 08 43 08 43 08 43 20 63 6f 64 69 ┆ follows the normal C C C C codi┆
0x1200…1220 6e 67 20 63 6f 6e 76 65 6e 74 69 6f 6e 0a 20 20 20 20 20 6f 66 20 65 6e 64 69 6e 67 20 72 6f 75 ┆ng convention of ending rou┆
0x1220…1240 74 69 6e 65 73 20 77 69 74 68 20 61 20 7d 08 7d 08 7d 08 7d 20 61 74 20 74 68 65 20 62 65 67 69 ┆tines with a } } } } at the begi┆
0x1240…1260 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 6c 69 6e 65 2c 0a 20 20 20 20 20 74 68 69 73 20 65 78 61 ┆nning of the line, this exa┆
0x1260…1280 6d 70 6c 65 20 77 69 6c 6c 20 63 72 65 61 74 65 20 61 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 69 ┆mple will create a file containi┆
0x1280…12a0 6e 67 20 65 61 63 68 20 73 65 70 61 72 61 74 65 20 43 08 43 08 43 08 43 0a 20 20 20 20 20 72 6f ┆ng each separate C C C C ro┆
0x12a0…12c0 75 74 69 6e 65 20 28 75 70 20 74 6f 20 32 31 29 20 69 6e 20 70 08 70 08 70 08 70 72 08 72 08 72 ┆utine (up to 21) in p p p pr r r┆
0x12c0…12e0 08 72 6f 08 6f 08 6f 08 6f 67 08 67 08 67 08 67 2e 08 2e 08 2e 08 2e 63 08 63 08 63 08 63 2e 0a ┆ ro o o og g g g. . . .c c c c. ┆
0x12e0…1300 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 ┆ S S S SE E E EE E E E A A A AL ┆
0x1300…1320 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65 72 20 43 6f ┆L L LS S S SO O O O User Co┆
0x1320…1340 6d 6d 61 6e 64 73 20 28 31 29 3a 20 20 65 64 2c 20 73 68 0a 0a 44 08 44 08 44 08 44 49 08 49 08 ┆mmands (1): ed, sh D D D DI I ┆
0x1340…1360 49 08 49 41 08 41 08 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 ┆I IA A A AG G G GN N N NO O O OS┆
0x1360…1380 08 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 ┆ S S ST T T TI I I IC C C CS S S┆
0x1380…13a0 08 53 0a 20 20 20 20 20 53 65 6c 66 20 65 78 70 6c 61 6e 61 74 6f 72 79 20 65 78 63 65 70 74 20 ┆ S Self explanatory except ┆
0x13a0…13c0 66 6f 72 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 67 20 2d 20 6f 75 74 20 6f 66 ┆for: arg - out of┆
0x13c0…13e0 20 72 61 6e 67 65 0a 20 20 20 20 20 77 68 69 63 68 20 6d 65 61 6e 73 20 74 68 61 74 20 74 68 65 ┆ range which means that the┆
0x13e0…1400 20 67 69 76 65 6e 20 61 72 67 75 6d 65 6e 74 20 64 69 64 20 6e 6f 74 20 72 65 66 65 72 65 6e 63 ┆ given argument did not referenc┆
0x1400…1420 65 20 61 20 6c 69 6e 65 0a 20 20 20 20 20 62 65 74 77 65 65 6e 20 74 68 65 20 63 75 72 72 65 6e ┆e a line between the curren┆
0x1420…1440 74 20 70 6f 73 69 74 69 6f 6e 20 61 6e 64 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 66 69 ┆t position and the end of the fi┆
0x1440…1460 6c 65 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆le. March 1989 ┆
0x1460…1480 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 55 73 65 72 27 73 20 52 65 66 ┆ TX User's Ref┆
0x1480…1495 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆erence ┆