Annotation of 43BSD/contrib/icon/book/11/genword.icn, revision 1.1.1.1

1.1       root        1: procedure genword()
                      2:    static wchar
                      3:    local line, i, j
                      4:    initial wchar := &lcase ++ &ucase ++ '\'-'
                      5:    while line := read() do {
                      6:       i := 1
                      7:       while j := upto(wchar,line,i) do {
                      8:          i := many(wchar,line,j)
                      9:          suspend line[i:j]     # produce word
                     10:          }
                     11:       }
                     12: end

unix.superglobalmegacorp.com

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