Trimming a file and advance='no'

BTW: the discussion in the bug tracker shows that this was not even a bug, but due to different interpretations of the standard…

PS: and for some reason, despite a search, I somehow missed this one: clarification on expected behavior of endfile