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

1.1       root        1: procedure main()
                      2:    while write(fword())
                      3: end
                      4: 
                      5: procedure fword()
                      6:    local wchar, line
                      7:    wchar := &lcase ++ &ucase ++ '\'-'
                      8:    while line := read() do
                      9:       if line := line[upto(wchar,line):0]
                     10:       then return line[1:many(wchar,line)]
                     11: end

unix.superglobalmegacorp.com

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