On 11/8/21, Peter Schaffter <pe...@schaffter.ca> wrote: > Not all punctuation or trailing characters are ignored. > > $ printf ".ps 12.5\n.tm \\\n[.s]\n" | groff -z > 12.5 > $ printf ".ps 12:5\n.tm \\\n[.s]\n" | groff -z > 1 > $ printf ".ps 12&5\n.tm \\\n[.s]\n" | groff -z > 1
Right, but those are behaving as documented (logical "or" and "and" operators, respectively). It's groff's ignoring characters it doesn't understand, rather than reporting them to the user, that seems a bit dubious (but also not out of line with its historical leniency with malformed input).