Annotation of 43BSD/contrib/icon/book/f/both.icn, revision 1.1.1.1

1.1       root        1: procedure both(s1,s2)
                      2:    local line, count
                      3:    count := 0
                      4:    while line := read() do
                      5:       if (find(s1,line),find(s2,line)) then count +:= 1
                      6:    return count
                      7: end

unix.superglobalmegacorp.com

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