howto strip trailing newline from a format string at compile-time ?