Deutsch English Français Italiano |
<vbilst$1j26j$5@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: misc.test,comp.lang.misc Subject: Re: perl test Date: Sat, 7 Sep 2024 22:59:41 -0000 (UTC) Organization: A noiseless patient Spider Lines: 8 Message-ID: <vbilst$1j26j$5@dont-email.me> References: <7e8b459c7297ad24dde92aa1fd073b21@www.novabbs.com> <877cbx4orz.fsf@tilde.institute> <51e8c77eaba5ea4084d0a234a71a4f2e@www.novabbs.com> <vbdoi9$m19l$1@dont-email.me> <7e23f0180a430b8429af2514ba56463b@www.novabbs.org> <vbgflq$15f5c$1@dont-email.me> <66f114a9d20bf03cfb305a04d807da6492511772@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 08 Sep 2024 00:59:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5b47ecd330ac087ccb2ea7289cdcbed3"; logging-data="1673427"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1878503z0q+RyswF71mhP+Y" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:YuKpQj4AFsaS9L1FlF4zXb4bJSY= Bytes: 1531 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.