Annotation of 43BSD/contrib/icon/man/cat2/collate.2, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: 
        !             4: COLLATE(2)            Icon Program Library             COLLATE(2)
        !             5: 
        !             6: 
        !             7: 
        !             8: NNNNAAAAMMMMEEEE
        !             9:      collate - collate and decollate strings
        !            10: 
        !            11: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
        !            12:      These procedures collate (interleave) respective characters
        !            13:      of two strings and decollate by selecting every other char-
        !            14:      acter of a string.
        !            15: 
        !            16: SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
        !            17:      ccccoooollllllllaaaatttteeee((((ssss1111,,,,ssss2222)))) produce a string consisting of interleaved
        !            18:                     characters of ssss1111 and ssss2222.  For example,
        !            19:                     ccccoooollllllllaaaatttteeee((((""""aaaabbbbcccc"""",,,,""""ddddeeeeffff"""")))) produces """"aaaaddddbbbbeeeeccccffff"""".
        !            20: 
        !            21:      ddddeeeeccccoooollllllllaaaatttteeee((((ssss,,,,iiii)))) produce a string consisting of every other
        !            22:                     character of ssss. If iiii is odd, the odd-numbered
        !            23:                     characters are selected, while if iiii is even,
        !            24:                     the even-numbered characters are selected.
        !            25: 
        !            26: DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
        !            27:      Run-time error 208 occurs if the arguments to ccccoooollllllllaaaatttteeee are
        !            28:      not of the same size.
        !            29: 
        !            30: AAAAUUUUTTTTHHHHOOOORRRR
        !            31:      Ralph E. Griswold
        !            32: 
        !            33: 
        !            34: 
        !            35: 
        !            36: 
        !            37: 
        !            38: 
        !            39: 
        !            40: 
        !            41: 
        !            42: 
        !            43: 
        !            44: 
        !            45: 
        !            46: 
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: Version 5.9    The University of Arizona - 8/12/84              1
        !            64: 
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.