This branch fixes
#1232. It is based on devel, so it should be immune from the controversy surrounding the gnx branch.
The fix is conceptually straightforward. Within @clean files only, the new code disallows multiple section references on the same. Imo, this is not only reasonable, it is likely the only possible solution. Indeed, the @clean read logic ends up putting all section references on their own lines anyway. That is, within @clean files, any text preceding or following a section reference will end up on a separate line. There is zero chance I would consider changing this.
There is only one slight drawback. The new code adds a new, required, arg to at.write. There is a slight possibility that this could break existing scripts or plugins. Imo, that's a risk worth taking. Other solutions would be more ugly.
Edward