Annotation of 43BSD/contrib/icon/book/11/mark.icn, revision 1.1

1.1     ! root        1: procedure mark(s)
        !             2:    local line, marker, i
        !             3:    while line := read() do {
        !             4:       marker := ""     # initialize marker
        !             5:       every i := find(s,line) do
        !             6:          marker := left(marker,i - 1) || "|"
        !             7:       write(line,"\n",marker)  # write line and marker
        !             8:       }
        !             9:    return
        !            10: end

unix.superglobalmegacorp.com

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