@modulux This one always trips me up. It hardly ever matters, which means that when it does matter I’ve forgotten about it again. (Usually in `date` format strings, or `printf` etc.)
@benjamineskola Yes, I was piping to ts to get timestamps on the log, and of course I used a format string, and of course I did not escape it because... why is this even a thing?
@modulux well, I suppose it’s necessary to have a way to include newlines in a cron job, which are otherwise slightly constrained shell scripts.
But I’m not sure if there would have been a better choice than %. \n is the obvious choice but maybe it has too high a chance of conflicting with an actual use of \n, whereas % is relatively rarely used? That’s just guessing though.
@benjamineskola You have a point, but I'd be surprised if % is less used than \n - but maybe I'm wrong about this one.