Annotation of 43BSD/contrib/icon/man/cat2/segment.2, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: 
                      4: SEGMENT(2)            Icon Program Library             SEGMENT(2)
                      5: 
                      6: 
                      7: 
                      8: NNNNAAAAMMMMEEEE
                      9:      segment - segment string
                     10: 
                     11: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
                     12:      The procedure sssseeeeggggmmmmeeeennnntttt((((ssss,,,,cccc)))) generates consecutive substrings
                     13:      of ssss consisting of characters that respectively do/do not
                     14:      occur in cccc.  For example,
                     15: 
                     16:           segment("This is a sentence.",&lcase ++ &ucase)
                     17: 
                     18:      generates
                     19: 
                     20:           "This"
                     21:           " "
                     22:           "is"
                     23:           " "
                     24:           "a"
                     25:           " "
                     26:           "sentence"
                     27:           "."
                     28: 
                     29: 
                     30: AAAAUUUUTTTTHHHHOOOORRRR
                     31:      William H. Mitchell
                     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 - 9/11/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.