Sujet : Re: perl test
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : misc.test comp.lang.miscDate : 07. Sep 2024, 23:59:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbilst$1j26j$5@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.160 (Toresk; )
On Sat, 7 Sep 2024 05:07:13 -0700, Retro Guy wrote:
My use case was escaping a set of strings for use in a command line.
If you want to pass arguments to an external program, don’t bother going
through a shell if you can help it. Invoke the program and pass the
command-line arguments directly, then you don’t have to worry about shell
specials.