Re: 'safe' printing to the terminal

[email protected] (Aristoteles Pagaltzis via perl5-porters) Wed, 13 May 2026 08:30:05 +0200
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
* Philippe Bruhat (BooK) <[email protected]> [2026-05-12 17:21]:
> What about %q in core Perl?

We already have that. `man bash` documents %q as “causes `printf` to
output the corresponding argument in a format that can be reused as
shell input”, which in in Perl is called \Q (or quotemeta).

And it’s not a solution to OP’s problem.