Annotation of 43BSD/contrib/icon/book/07/nword.icn, revision 1.1.1.1

1.1       root        1: procedure nword()
                      2:    static wchar, line, i, j
                      3:    initial {
                      4:       wchar := &lcase ++ &ucase ++ '\'-'
                      5:       if line := read() then i := 1 else fail
                      6:       }
                      7:    repeat {
                      8:       while j := upto(wchar,line,i) do {
                      9:          i := many(wchar,line,j)
                     10:          return line[i:j]
                     11:          }
                     12:       if line := read() then i := 1 else fail
                     13:       }
                     14: end

unix.superglobalmegacorp.com

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