Annotation of 43BSD/contrib/icon/book/01/locate2.icn, revision 1.1

1.1     ! root        1: procedure locate(s)
        !             2:    lineno := 0
        !             3:    while line := read() do {
        !             4:       lineno := lineno + 1
        !             5:       if find(s,line) then write(lineno,": ",line)
        !             6:       }
        !             7: end

unix.superglobalmegacorp.com

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