@clacke Thanks for the show. Your examples 6 and 7 contain: printf '%sn'. I assume you meant: printf '%s\n' (backslash n in case anything gets stripped by Mastodon). Shall I adjust it accordingly?

Aargh! Thank you for noticing. I will try to find were in my process the backslash was stripped.
@perloid Hm. My HTML source that I presumably posted has the backslash. But surely the HPR form and process can't be eating it? People must be posting bash source with backslashes in it all the time?

@clacke I think you are right, it's the form - or more likely something behind the form that's sanitising the HTML. I haven't noticed this here before, probably because people don't sent in much HTML. Much of it is plain text or a Markdown variant which I process for them.

@perloid Is the HPR source code up somewhere? I could have a look.
Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko