I wonder if there'd be a way to write a function for that (and `let entry_noeol`).