procedure main() wchar := &lcase ++ &ucase ++ '\'-' while line := read() do { i := 1 while j := upto(wchar,line,i) do { i := many(wchar,line,j) write(line[i:j]) } } end