trimming trailing blanks is too hard; the last revision handles most of the