procedure main() while write(fword()) end procedure fword() local wchar, line wchar := &lcase ++ &ucase ++ '\'-' while line := read() do if line := line[upto(wchar,line):0] then return line[1:many(wchar,line)] end