Annotation of 43BSD/contrib/icon/book/f/dashes.icn, revision 1.1

1.1     ! root        1: procedure main()
        !             2:    wchar := &lcase ++ &ucase ++ '\'-'
        !             3:    while line := read() do {
        !             4:       i := 1
        !             5:       dashes := repl(" ",*line)
        !             6:       while j := upto(wchar,line,i) do {
        !             7:          i := many(wchar,line,j)
        !             8:          dashes[i:j] := repl("-",i - j)
        !             9:          }
        !            10:       write(line)
        !            11:       write(dashes)
        !            12:       }
        !            13: end

unix.superglobalmegacorp.com

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